email-mirror: put Nagios configuration in puppet.

(imported from commit a6ecac877628cf7918e55d553cf509aa5c0635cb)
This commit is contained in:
Jessica McKellar
2013-08-26 12:22:09 -04:00
parent 7737434dbe
commit c125db4917
2 changed files with 13 additions and 0 deletions

View File

@@ -170,3 +170,8 @@ define command {
command_name check_postgres_backup
command_line /usr/lib/nagios/plugins/check_by_ssh -l humbug -t 30 -i /var/lib/nagios/.ssh/id_rsa -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/check_postgres_backup'
}
define command {
command_name check_email_mirror
command_line /usr/lib/nagios/plugins/check_by_ssh -l humbug -t 30 -i /var/lib/nagios/.ssh/id_rsa -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/check_email_mirror'
}

View File

@@ -299,3 +299,11 @@ define service {
check_command check_remote_swap!22!80%!50%
contact_groups admins
}
define service {
use generic-service
host staging
service_description Check email mirror
check_command check_email_mirror!22
contact_groups admins
}