Forum Discussion
jay_41157
Nimbostratus
Sep 16, 2008reg exp in health monitor
Hi ,
I need my recieve string to be exactly 0
So I am thinking to use: "^0\n"
Will this work? any other ideas?
Thanks
hoolio
Cirrostratus
Sep 16, 2008Hello,
I think you'd want either:
^0\n\n$
or:
^0\r\n\r\n$
The server should respond with two carriage return + line feeds. You can capture a tcpdump of a successful response to see exactly what it sends:
tcpdump -ni 0.0 -Xs0 host SERVER_IP
You can enable debug on the monitoring daemon, bigd by running 'b db bigd.debug enable'. Output is written to /var/log/bigdlog by default. To disable logging run 'b db bigd.debug disable'. Note that the hex output from tcpdump will probably be more helpful than the bigd debug as the log doesn't show the unprintable characters.
Aaron
Aaron
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