From: Subash Tetali [mailto:[email protected]] Sent: Wednesday, August 22, 2012 5:28 PM To: [email protected] Subject: [Nagios-users] issue with http_check
> Hi Team,
> 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
> ./check_http -H nc1-dc1.corp.abc.com -p 5270 -u /service/assortment -P
'{"context" = {"language"="en-us" ; } ; }' -T application/text-plist -w 1.0
-c 1.5
> 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
> The added the same to the commands.cfg and made changes to the
services.cfg and servicegroup.cfg.
It would be extremely helpful to know what your configuration looks like, as
well as the output of the command when run by Nagios. The most likely
reason it's failing is that the special characters are not properly escaped
in the command, but that's just a guess since you haven't provided critical
information that would be needed to determine that.
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ 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
