help with check_http with ampersand (&) in URL
S. H.
shasanbeg at gmail.com
Mon Jan 10 04:07:10 CET 2005
hi all
can check_http check links with ampersand (&) characters in the url.
An example url would be:
http://intl.yahoo.asia.studylink.com/results/results.html?page=1&study-locations=&levels-of-study=&keywords=it
when i try the above url i get strange results that nagios doesn't
understand. example:
root at vmNagios:/usr/local/nagios/libexec# ./check_http -H
intl.yahoo.asia.studylink.com -u
/results/results.html?page=1&study-locations=&levels-of-study=&keywords=it
[1] 394
[2] 395
bash: study-locations=: command not found
[3] 396
bash: levels-of-study=: command not found
[2] Exit 127 study-locations=
[3]+ Exit 127 levels-of-study=
root at vmNagios:/usr/local/nagios/libexec# HTTP ok: HTTP/1.0 302 Moved
Temporarily - 0.358 second response time |time= 0.358
any help much appreciated
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
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