What is the status output of the command in Nagios? does it give you any messages as to why it's critical? and when you run the command on the CLI are you running that as the nagios user or root?<br><br>Steve<br><br><br>
<div class="gmail_quote">On 23 August 2012 01:28, Subash Tetali <span dir="ltr"><<a href="mailto:subashtetali@yahoo.com" target="_blank">subashtetali@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font:inherit" valign="top">Hi Team, <br><br>I am facing an issue with the check_http. When i run the check_http command manully, I get HTTP OK and when i add to teh config, the nagios UI shows as critical<br>
<br>./check_http -H <a href="http://nc1-dc1.corp.abc.com" target="_blank">nc1-dc1.corp.abc.com</a> -p 5270 -u /service/assortment -P '{"context" = {"language"="en-us" ; } ; }' -T application/text-plist -w 1.0 -c 1.5<br>
<br>HTTP OK: HTTP/1.0 200WebObjects - 6614 bytes in 0.256 second response time |time=0.256244s;1.000000;1.500000;0.000000 size=6614B;;;0<br><br>The added the same to the commands.cfg and made changes to the services.cfg and servicegroup.cfg. <br>
<br>Your help is highly appreciated<br><br><p>Thanks<span class="HOEnZb"><font color="#888888"><br></font></span></p><span class="HOEnZb"><font color="#888888"><div>Tetali Subash</div></font></span></td></tr></tbody></table>
<br>------------------------------------------------------------------------------<br>
Live Security Virtual Conference<br>
Exclusive live event will cover all the ways today's security and<br>
threat landscape has changed and how IT managers can respond. Discussions<br>
will include endpoint security, mobile security and the latest in malware<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>