Re: check_http with spaces problem

Claudio Kuenzler <[email protected]>
Newsgroups gmane.network.nagios.user
Message-ID <CAF-yqgj3Y=56Mag2FH4Lci4fT-j4wWczn4EspLMkptYpOq5bxQ@mail.gmail.com>
> 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

------------------------------------------------------------------------------
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

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.