- HTTPS checks should use check_https_hostname, so that we use the hostname's
vhost, not the IP address
- explicitly use .my.cnf for olinda's mysql check, rather than just setting the
home dir (I don't know why that seems to have broken, but it has)
define service {
use generic-esp-service
service_description HTTPS
- check_command check_https
+ check_command check_https_hostname!-H esp.mit.edu
__CHECK_CERT_EXPIRY_DAYS 30
}
name olinda-https
use adehnert-service
service_description HTTPS
- check_command check_https
+ check_command check_https_hostname
__check_cert_expiry_days 10
host_name olinda
}
define command{
command_name check_mysql_home
- command_line env HOME=/var/lib/nagios/ /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$'
+ command_line /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$' -f /var/lib/nagios/.my.cnf
}
define service {