I am trying to setup a Nagios check that hits a web address and logs in via an LDAP user and password. Using a browser, the website returns a pop-up box asking for username and password. I have tried using the check_http plugin with no success.
check_http -H foo.domain.com -u /path_to_secure -S -s “string I am looking for” -a ‘user:password’
The web server log shows the connection coming in but I get an authorization failed (401). We have Sitescope logging into this website and working just fine.
Any ideas or recommendations on how to monitor this?