I am having an issue with using the check_http plugin with opsview.  It
seems that this may be an issue related to how opsview-web sanitizes
input.  The argument I am trying to use is:

-I $HOSTADDRESS$ -H davidmcclymonds.com -f follow -s "Website design by
<a href=\"http://dennisonwilliams.com\";>Dennison Williams</a>" -t 30

This seems to submit fine, but on a reload of the server the check never
succeeds complaining: HTTP CRITICAL: HTTP/1.1 200 OK - string 'Website
design by

The full check makes it into the /usr/local/nagios/etc/services.cfg
file, and running this test from the command line with the appropriate
variables replaced succeeds:
# /usr/local/nagios/libexec/check_http -I 127.0.0.1 -H
davidmcclymonds.com -f follow -s "Website design by <a
href=\"http://dennisonwilliams.com\";>Dennison Williams</a>" -t 30
HTTP OK: HTTP/1.1 200 OK - 4974 bytes in 1.213 second response time
|time=1.213389s;;;0.000000 size=4974B;;;0

Does anyone have any ideas on this?

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to