[Nagiosplug-help] check_http 404 warning only

David G. Schlecht dschlecht at doit.nv.gov
Thu Nov 17 10:59:02 CET 2005


Hi All,

This seems like an easy one so I don't understand why I haven't seen it already covered herein.

I use check_http like:
define command {
    command_name    check_http_form
    command_line    $USER1$/check_http -H $HOSTADDRESS$ -p $ARG1$ -u $ARG2$ -P $ARG3$ -s $ARG4$ -f follow
}
check_http -V
check_http (nagios-plugins 1.3.1) 1.24.2.4

But when the target URL returns a 404 Not Found error (without redirection), the plugin returns a Warning status when I would expect to see a Critical status.

What am I doing wrong?

- David




More information about the Help mailing list