How can I do a client side check for both Windows & OS X? I already have an Action for “Windows Registry Check” and I want to do a “Mac File Check” on the same Action box.
I think you need to call the “MAC file” in the VPE. But you can combine the checking in one.
expr { [mcget {session.windows_check_registry.last.result}] == 1 ||expr { [mcget {session.mac_check_file.last.result}] == 1 } }
After the “MAC file” put an expression to ignore the results returned, until its combined checked later.
I have not tested the behaviour of running mac file check in windows and vice versa. If your intention is to have a common VPE after the client check, using a macro might be a better option, with checking client type first before triggering the client check.
If checker runs on wrong platform, then fallback branch is used. I suggest to create a macrocall: os check → [mac → file check → [success, fail], win → registry check → [success, fail]]. You can’t just combine rules, you have to insert the agent for action be performed.
I know this is an old post, but I am doing this with version 12.1.x and I am having difficulty with locating any documentation on the file path parameters for the mac file. I have installed the file on the root volume and used /file.txt but no joy. Access Denied. Does anyone know the parameters for the file path?
I figured it out. The path was correct, but the file date was causing the issue! Once I entered the default date/time of 1970-01-01 00:00:00 it worked. Found this here 404 Page not found | BIG-IP Documentation
