argument pairs?
Matt Pounsett
matt.pounsett at cira.ca
Tue Feb 10 20:58:18 CET 2004
On Mon, 9 Feb 2004, stan wrote:
>
> I'm trying to use the --authorization flag to check_http, and I keep
> getting errors about a null argument. This flag requires a username _and_ a
> password. I'm trying to put these in checkcommands.cfg, but I can't figure
> out the correct syntax. Is this the wrong place? Do I need to put them in
> services.cfg?
Copied from the check_http help output:
-a, --authorization=AUTH_PAIR
Username:password on sites with basic authentication
So you'd use "--authorization=user:pass"
--
Matt Pounsett CIRA - Canadian Internet Registration Authority
Technical Support Programmer 350 Sparks Street, Suite 1110
matt.pounsett at cira.ca Ottawa, Ontario, Canada
613.237.5335 ext. 231 http://www.cira.ca
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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