Im trying to stop these messages in my nagios log:
SERVICE ALERT: servername;HTTP_AUTH;WARNING;HARD;4;HTTP WARNING: HTTP/1.1 401 Authorization Required
in the commands.cfg I added this definition
# 'check_http' command definition
command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$ -a username
restarted nagios and keep getting that error. The username
assword are valid for the login credentials for logging into the webpage. The website is a forum with a forum login, not a .htaccess pop up box type authorization. I put the password as plain text.
In my host definition file I have this:
use local-service ; Name of service template to use
Its in the section I have for the server "hostname"
Any advice? Thanks