check_http script is not working

Claudio Kuenzler ck at claudiokuenzler.com
Wed May 9 08:23:33 CEST 2012


>
> Hello ,****
>
> ** **
>
> I’m Sankar testing nagios scripts. I have tried to ping URL check from
> check_http script from nagios.****
>
> ** **
>
> http://nagiosplugins.org/man/check_http (URL) = Reference****
>
> ** **
>
> Root# check_http -w 5 -c 10 --ssl -H www.verisign.com ****
>
>  Name or service not known****
>
> HTTP CRITICAL - Unable to open TCP socket****
>
> ** **
>
> **
>
You're using a wrong order... See here the difference:

# ./check_http -w 5 -c 10 --ssl -H www.verisisgn.com
Name or service not known
HTTP CRITICAL - Unable to open TCP socket

# ./check_http -H www.verisign.com --ssl -w 5 -c 10
HTTP OK: HTTP/1.1 200 OK - 42718 bytes in 0.822 second response time
|time=0.821882s;5.000000;10.000000;0.000000 size=42718B;;;0

I know the way you tried it is shown in the --help but it obviously doesn't
work.



> **
>
> Please help us in checking whether URL is up or down. How efficiently this
> script can be used ?****
>
> Is there any way to find out URL availability ? with port ? or ping ? can
> we pass proxy ?****
>
> ** **
>
> Thanks in advance.****
>
> ** **
>
> Best regards, Sankar ****
>
>
> ------------------------------------------------------------------------------
> 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
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120509/8f34f28e/attachment.html>
-------------- 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