Forum Discussion
ukstin
Nimbostratus
Mar 31, 2009Negation Monitor
Hi, probably my question is dumb but I´m in doubt...
I need to create a monitor that when return an expected string returns down and disable the pool member.
What what the rule for the monitors if it´s ok must return UP string, right? and if it´s wrong, it can return any string or it must be DOWN or something else?
1 Reply
- dennypayne
Employee
Actually if it returns anything to STDIN, the monitor is considered up. A lot of the templates on here use echo "UP" in the script, but that's really just a convention, not a requirement.
So for yours, you want to check the status of your request, and if you see that string, you don't want to return anything to STDIN, just let it time out.
Denny
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects