issue with http_check

Morris, Patrick patrick.morris at hp.com
Thu Aug 23 23:11:19 CEST 2012


From: Subash Tetali [mailto:subashtetali at yahoo.com] 
Sent: Wednesday, August 22, 2012 5:28 PM
To: nagios-users at lists.sourceforge.net
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6231 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120823/f73772e4/attachment.bin>
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- 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