check_http configuration
Posted: Mon Oct 03, 2011 9:35 pm
I am trying to construct a check_http command that will alert me to the actual PRESENCE of a text string, not the ABSENCE. I oftentimes use the –s flag to specify the absence of a certain text string. How can I do the opposite, though? I want to have Nagios check a webpage, and when it gets a text-based message of “(DATABASE ERROR)” I want it to begin alerting.
Is there a way with check_http to do this?
Is there a way with check_http to do this?