Forum Discussion
Problems running an external monitor
For testing I am calling a script that contains the following:
echo "enabled"
when I run the script locally on the ltm, I get this:
02:Active] ~ /config/monitors/GTMPoolMemberCheck 1 2 xxx.xxx.xxx.xxx
enabled
My understanding is that since text is being returned, the monitor should be up. Am I incorrect on this?
I am working on a monitor that will disable the LTM pool when a GTM pool member is disabled. This is what I have:
!/bin/bash
outcome=`tmsh show gtm pool detail |grep enabled -B 4 |grep "Pool Member" | grep "$3"`
echo "$outcome" (used for testing only)
if [[ "$outcome" == *"$3"* ]]; then echo "enabled"
fi
Any help would be appreciated
Thanks
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