> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Jerad Riggin > Sent: Friday, June 22, 2007 8:41 AM > To: GJP > Cc: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios HTTP monitoring > > I have a check_http command that works perfectly at the command prompt > > ./check_http -H lagarde -t 5 -s "LaGarde Intranet site" > > However in nagios, check_http!-H lagarde -t 5 -s "LaGarde Intranet site" > still returns an unauthorized. So basically why would it work in a > command prompt but not in nagios?
Perhaps some difference in environment? Did you test as the nagios user? Is that the _exact_ way it's defined in the config? > And what is the syntax for the -a > (basic auth) switch? Thanks again for everyones help. -a username:password. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users@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