ngios3 + http require authentication and mysql issue
J. Bakshi (ঠবà¦à¦¸à§)
joydeep at infoservices.in
Tue Nov 15 08:46:02 CET 2011
Dear list,
I have installed nagios3 on a debin squeeze box. The apache running here is protected
bu authentication. I have aded the following definition
` ` ` ` ` `
# Define a service to check HTTP
define service{
use generic-service ; Name of service template to use
host_name localhost
service_description HTTP
check_command check_http2!192.168.2.100!admin:password
}
# Define a service to check HTTPS
define service{
use generic-service ; Name of service template to use
host_name localhost
service_description HTTPS
check_command check_https!443!192.168.2.100!admin:password
}
` ` ` ` ` `
But nagios reports error at the front end as
[ HTTP WARNING: HTTP/1.1 401 Authorization Required - 746 bytes in 0.007 second response time ]
More over the Mysql check is also not working.
I have the following definition
` ` `
define service{
use generic-service ; Name of service template to use
host_name localhost
service_description MYSQL
check_command check_mysql!root!password
}
` ` ` `
the userid/password all are correct , though nagios reports
[ Access denied for user 'nagios'@'localhost' (using password: YES) ]
So it is not taking the parameters at all !!!
Any help is very much welcome.
Thanks
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
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