[Nagiosplug-help] check_http plugin help

Ash a.tavassoli at acquire.com.au
Wed Sep 23 04:01:44 CEST 2009


Hi all,

 

I'm having some difficulty with a check_http pluggin. 

 

When I run the following via command line it returns OK:

 

./check_http -H webserver -u /home/test

HTTP OK - HTTP/1.1 302 Moved Temporarily - 0.012 second response time
|time=0.012142s;;;0.000000 size=505B;;;0

 

But when I try to configure it in the config files it returns the error:
HTTP WARNING: HTTP/1.1 400 Bad Request

 

This is the command line statement:

 

command_line    $USER1$/check_http -H $HOSTADDRESS$ -u ARG1$

 

And this is the service command:

 

define service{

        use                     generic-service

        host_name               confluence.metech.com.au

        service_description     HTTP

        check_command           check_http!confluence!/display/

        }

 

Any ideas as to what I'm doing wrong?

 

Thnx

Ash


==============================================================================
This email (including all attachments) is the sole property of acQuire
Technology Solutions Pty Ltd and may be confidential. If you are not the
intended recipient, you must not use or forward the information contained in
it. This message may not be reproduced or otherwise republished without the
written consent of the sender. If you have received this message in error,
please delete the email and notify the sender.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20090923/77f72ff4/attachment.html>


More information about the Help mailing list