Forum Discussion
APM Client Side Checks for Windows and OS X
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 figured it out. I created a macro with "registry check" and "Mac File Check"
One gotcha is that you have to specify the path, even so the documentation or help doesn't mentioned a path.
5 Replies
- kunjan
Nimbostratus
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.
- Alexey_384Historic F5 Account
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.
- Carlos_13563
Cirrus
I figured it out. I created a macro with "registry check" and "Mac File Check"
One gotcha is that you have to specify the path, even so the documentation or help doesn't mentioned a path.
- BM0001_301854
Nimbostratus
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?
- BM0001_301854
Nimbostratus
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 https://support.f5.com/kb/en-us/products/big-ip_apm/manuals/product/apm_config_10_2_0/apm_config_client_checks.html191135
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
