Wes Hegge schrieb:
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_trangocommand_line $USER1$/checkk_http -H $HOSTADDRESS$ -a :rabbit -r "var rfAssociated = 1;"}
Copy and Paste error or did you called it realy checkkkkkkk_http? ;)
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;;;0Looks 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)
Even if there were any problems with Nagios you should see some plugin output after state and before <then dates about...>
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?
Well.... nagios.log would be a beginning. - Hendrik
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------- 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/
_______________________________________________ Nagios-users mailing list [email protected] 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
