check_http issues...

Victor Lanza vicjalan at gmail.com
Thu Jun 5 19:06:06 CEST 2008


I've actually tried both the H and I interchangeably and it only works on
the command line..regardless of H or I.. 

-----Original Message-----
From: richard at quintinz.com [mailto:richard at quintinz.com] On Behalf Of
Richard Quintin
Sent: Thursday, June 05, 2008 12:58 PM
To: Victor Lanza
Cc: nagios Mailinglist
Subject: Re: [Nagios-users] check_http issues...

You're using -I and the command line and -H in your conf.  This makes
a difference.  I haven't figured out all the details yet, but I
believe it affects what gets sent in the header...

On Thu, Jun 5, 2008 at 11:57 AM, Victor Lanza <vicjalan at gmail.com> wrote:
> I feel like this plugin hates me!...
>
>
>
> I get a critical status with a (Null) Status Information and I can't seem
to
> figure out what I am doing wrong.
>
>
>
> My command looks like this:
>
> define command{
>
>         command_name    check_http_arg
>
>         command_line    $USER1$/check_http -H $HOSTADDRESS$ -a $ARG1$
>
>         }
>
>
>
> And my service definition looks like this:
>
> define service{
>
>             use                               master-service
>
>             host                              mdfbbsw01
>
>             service_description         Web Interface
>
>             check_command           check_http_arg!admin:'12345'
>
>             }
>
>
>
>
>
>
>
> However from the command line (with root and nagios users) I execute this:
>
> /usr/local/nagios/libexec/check_http -I 10.10.4.10 -a admin:'12345'
>
>
>
> HTTP OK HTTP/1.1 200 OK - 16447 bytes in 0.150 seconds
> |time=0.150422s;;;0.000000 size=16447B;;;0
>
>
>
>
>
> Can anyone see anything that I don't?
>
>
>
> Thanks,
>
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
reporting
> any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>



-- 
Richard Quintin, DBA
Database & Application Administration
Virginia Tech


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list