Problem to use special chars in check_http
Thomas Guyot-Sionnest
dermoth at aei.ca
Wed Aug 6 14:34:30 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 06/08/08 03:44 AM, Tomas Marin wrote:
> Hi All,
>
> we've got problems to get a correct http check with the following
> command:
>
> /usr/lib/nagios/plugins/check_http -I 192.168.0.23 -u /RQ/
> 598/1680/1587/js?ord=10000&EAS=cu=1587;cre=mu -f critical -r
> ^document.write.*REDIRECT_SUCCESS -w 1 -c 3
>
> What's wrong?
There's some characters being interpreted by the shell. Try putting your
url string withing single quotes.
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFImZpW6dZ+Kt5BchYRAobqAJ9J7KXVfUxMlvZR9rFSYokNzRqsOACfUSvi
FJYvcYlB5T0209aOxnbAGww=
=eRSv
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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