Hello everyone,<br><br>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.<br><br>Here is the command:<br>define command{<br> command_name check_http_backhaul_trango<br>
command_line $USER1$/checkk_http -H $HOSTADDRESS$ -a :rabbit -r "var rfAssociated = 1;"<br> }<br><br>Here is the Host definition:<br>define host{<br> use backhaul<br>
host_name 001-To-040<br> alias Horizon to Belvidere Grain<br> address <a href="http://10.251.0.6">10.251.0.6</a><br> }<br><br>Here is the Service definition:<br>
define service{<br> use trango-backhauls-http<br> host_name 001-To-040<br> register 1<br> }<br><br>The 'use backhaul' and 'use trango-backhauls-http' just set notification and testing intervals.<br>
<br>If I run the command from the command line as the nagios user I get:<br>HTTP OK HTTP/1.0 200 OK - 1.196 second response time |time=1.195612s;;;0.000000 size=12225B;;;0<br><br>Looks Good! Exactly what I expect. Now when I look at the 'Service Detail' I have this:<br>
001-To-040 Check TBH Status CRITICAL <then dates about last check and downtime> (null)<br><br>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.<br>
<br>Any way to get a more detailed log output?<br><br>Any ideas?<br><br>Thanks,<br><br>-- <br>Wes Hegge<br><br>- If the phone rings. Its not me.<br>-- Jimmy Buffet