argument pairs?
Marc Powell
marc at ena.com
Tue Feb 10 16:38:04 CET 2004
On Monday, February 09, 2004 7:48 PM, stan shared with us:
> 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?
You can put it as part of your command definition. The syntax is either
check_http -a username:password ...
or
check_http --authorization=username:password ...
--
Marc
-------------------------------------------------------
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