check_http failed

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: check_http failed

Post by lmiltchev »

For the host check you should just use:

Code: Select all

[root@testbox libexec]#  /usr/local/nagios/libexec/check_http -H www.web.com
HTTP OK: HTTP/1.1 200 OK - 39097 bytes in 0.494 second response time |time=0.493639s;;;0.000000 size=39097B;;;0
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked