Forum Discussion
i-rule question
Hi all,
This service works with "http get" and it returns values. How can I get this values in my i-rule? So I can make decisions for making the server offline or not.
It returns this value;
WORKING_OK
2 Replies
- Yoann_Le_Corvi1
Cumulonimbus
Hi
1 - If you are just trying to check if a POOL member is down, no need to use iRule, just use a monitor. 2 - If you are in a more complex environment you may use HSSR iRule to do s SideBand request and check the payload
But you need to precise a bit more what you are trying to achieve.
Sincerely
- Rico
Cirrus
In my opinion, the easiest way to check this, whether the resource you want to check is the destination address or not, is to create a pool with a pool member at that IP address. Then, configure an advanced health check monitor to mark that pool member up if it returns "OK" and down if it returns anything else. You can check this pool member in an iRule if you need to and then do whatever you need to based on the status of the pool member.
If you need assistance with the configuration or any more questions, I am sure I can help.
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