check_site with username/password

joost at informatiefabriek.nl joost at informatiefabriek.nl
Fri Nov 19 09:35:15 CET 2004


Hi,

I tried to use the following check_command. 

check_command 
check_http_auth!www.site.nll!/page/to/check!username:password!

This command checks of a page with username/password is alive. The problem 
is that my password ends with a !-character (password = " password!"). In 
he syntax of check_commands this is a seperator of a variable. Is there a 
way to use the !-character. Because nagios gives this result:

HTTP WARNING: HTTP/1.1 401 Unauthorized 

Thx in advance..

grtz.
Joost

http://www.informatiefabriek.nl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20041119/f96c6959/attachment.html>


More information about the Users mailing list