check_http with spaces problem
Claudio Kuenzler
ck at claudiokuenzler.com
Thu May 9 13:23:24 CEST 2013
> Sun May 5 22:29:03 EEST 2013 /usr/lib64/nagios/plugins/check_http -H
> granma.gr -u http://granma.gr/index.html -R "Web " -w 10 -c 20
> Name or service not known HTTP CRITICAL - Unable to open TCP socket
>
You have to break up the -u argument. -u expects the path, not the complete
URI. So in this case:
/usr/lib64/nagios/plugins/check_http -H granma.gr -u /index.html -R "Web"
-w 10 -c 20
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20130509/3beab771/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
-------------- 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