Re: check_http with spaces problem
Κοκμάδης Δημήτριος <[email protected]>
| Newsgroups | gmane.network.nagios.user |
|---|---|
| Message-ID | <CAFY9zEw92mX255_sA_5i+TLmxqxn0B=qQZ4-4udkwCsXvTPWBQ@mail.gmail.com> |
Thank you for the answer, The problem doesn't seem to be at the url but at the -R option If I use -R "Web" the response is ok but if i use -R "Web somethin" it returns error! 2013/5/9 Claudio Kuenzler <[email protected]> > > 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 > ------------------------------------------------------------------------------ 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