<br><font size=2><tt>check_http_auth!www.site.nll!/page/to/check!username:password\!</tt></font>
<br>
<br><font size=2><tt>gives</tt></font>
<br>
<br><font size=2><tt>CRITICAL 11-19-2004 09:54:22 0d 0h 3m 7s 4/4 (No output!)
 </tt></font>
<br>
<br><font size=2 face="sans-serif">grtz.</font>
<br>
<br><font size=2 face="sans-serif">joost</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Andreas Ericsson <ae@op5.se></b>
</font>
<br><font size=1 face="sans-serif">Sent by: nagios-users-admin@lists.sourceforge.net</font>
<p><font size=1 face="sans-serif">19-11-2004 09:43</font>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">nagios-users@lists.sourceforge.net</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">Re: [Nagios-users] check_site
with username/password</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>joost@informatiefabriek.nl wrote:<br>
> Hi,<br>
> <br>
> I tried to use the following check_command. <br>
> <br>
> check_command <br>
> check_http_auth!www.site.nll!/page/to/check!username:password!<br>
> <br>
> This command checks of a page with username/password is alive. The
problem <br>
> is that my password ends with a !-character (password = " password!").
In <br>
> he syntax of check_commands this is a seperator of a variable. Is
there a <br>
> way to use the !-character. Because nagios gives this result:<br>
> <br>
> HTTP WARNING: HTTP/1.1 401 Unauthorized <br>
> <br>
<br>
Escape the last ! as such<br>
username:password\!<br>
<br>
> Thx in advance..<br>
> <br>
> grtz.<br>
> Joost<br>
> <br>
> http://www.informatiefabriek.nl<br>
<br>
-- <br>
Andreas Ericsson                
  andreas.ericsson@op5.se<br>
OP5 AB                    
        www.op5.se<br>
Lead Developer<br>
<br>
<br>
-------------------------------------------------------<br>
This SF.Net email is sponsored by: InterSystems CACHE<br>
FREE OODBMS DOWNLOAD - A multidimensional database that combines<br>
robust object and relational technologies, making it a perfect match<br>
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8<br>
_______________________________________________<br>
Nagios-users mailing list<br>
Nagios-users@lists.sourceforge.net<br>
https://lists.sourceforge.net/lists/listinfo/nagios-users<br>
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue. <br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</tt></font>
<br>