use check_http to go CRIT on 404s?

Pietan, James J (HSS) james.pietan at
Wed Jul 16 20:59:08 CEST 2014

You may be able to use the -e option ...

check_http -I $HOSTADDRESS$ $ARG1$ -u $ARG2$ =e $ARG3$

ARG1 = IP address
ARG2 = website address
ARG3 = HTTP/1.1 200   (I believe this is the standard return code and what would be expected to be returned) so, if it gets any other code, it would return critical

From: Help [ at] On Behalf Of Ethan Shrago
Sent: Wednesday, July 16, 2014 10:48 AM
To: help at
Subject: use check_http to go CRIT on 404s?

Is there anyway for this check to go CRIT for a 404 response? If not, do you have any plugin suggestions for this functionality, or should I just create my own script?

Ethan Shrago
Sr. System Administrator|SugarSync
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Help mailing list