Check_http returns 400 Bad request

Toto Capuccino shoktai at gmail.com
Thu Jan 19 10:41:39 CET 2006


Hi,

I try to check that our Outlook Web Access server is up and running so i
defined my commands check_http like this:
# 'check_http' command definition
define command{
        command_name    check_http
        command_line    $USER1$/check_http -H $HOSTNAME$ -u $ARG1$
        }
and services this way :
check_command      check_http!rcorpsv04!http://www.rmkmail.com

i get in return [1137662549] SERVICE ALERT:
rcorpsv04;HTTP;WARNING;HARD;3;HTTP WARNING: HTTP/1.1 400 Bad Request

It looks like it's missing a host header field, how can i solve this ?

Thanks in advance for helping.

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060119/098ccfc3/attachment.html>


More information about the Users mailing list