Forum Discussion
Troy_93881
Apr 01, 2011Nimbostratus
Monitor using "grep"
All,
Looking for a little guidance. I would like to know if I can set up a monitor ( multiple monitors ) that would run a "grep" command and based on results -- mark a member up or down. ...
hooleylist
Apr 05, 2011Cirrostratus
Hi Troy,
You could use SSH to connect to an IP address and performs the commands. You could then reference that SSH command in an external monitor, using this template:
http://devcentral.f5.com/wiki/default.aspx/AdvDesignConfig/TemplateForExternalLtmMonitors.html
Here's another option which would probably require fewer resources on LTM:
Build a web app on each server which runs those commands to check for the processes and returns text in a web page indicating an up or down status. You could then use a built in HTTP monitor to check that status page.
Aaron
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