check_http problem with version 3.0rc2

Wes Hegge whegge at gmail.com
Fri Mar 7 20:33:06 CET 2008


Hello everyone,

I  have this command working on version 2 of Nagios but have not been able
to get it to work on version 3.0rc2.  Plugins are version 1.4.11.

Here is the command:
define command{
        command_name    check_http_backhaul_trango
        command_line    $USER1$/checkk_http -H $HOSTADDRESS$ -a :rabbit -r
"var rfAssociated = 1;"
        }

Here is the Host definition:
define host{
        use                     backhaul
        host_name         001-To-040
        alias                   Horizon to Belvidere Grain
        address              10.251.0.6
        }

Here is the Service definition:
define service{
        use                             trango-backhauls-http
        host_name                 001-To-040
        register                      1
        }

The 'use backhaul' and 'use trango-backhauls-http' just set notification and
testing intervals.

If I run the command from the command line as the nagios user I get:
HTTP OK HTTP/1.0 200 OK - 1.196 second response time |time=1.195612s;;;0.000000
size=12225B;;;0

Looks Good! Exactly what I expect.  Now when I look at the 'Service Detail'
I have this:
001-To-040  Check TBH Status  CRITICAL <then dates about last check and
downtime> (null)

It looks like Nagios is not picking up the return value from the check_http
command.  I have check the log file it has nothing.

Any way to get a more detailed log output?

Any ideas?

Thanks,

-- 
Wes Hegge

- If the phone rings.  Its not me.
-- Jimmy  Buffet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080307/4d1504a5/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
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