Forum Discussion
Stacked monitoring?
Ah that's a good point, I'll make the last part of the script be:
if [ -z $pool1 ] && [ -z $pool2 ];
then
rm -f $pidfile
echo "up"
fi
This is the first external monitor I've played with so it's new territory for me. What I read in the help docs is that if there's any output from the script the F5 interprets it as a positive response (system up) and if the script doesn't output anything then it's negative (system down).
The script as-is works in this manor right now - if all pools are up, the script outputs the text "up" and if any pool is down the script doesn't output anything. I expected my test pool with this monitor applied to go down when I brought down one of the pools but it didn't and if I run the script manually it's acting as it should, not emitting any text. Am I doing something wrong?
Here's a screen shot of the monitor within the F5, fairly basic...
Thank you again for all the help!
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