mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 17:07:07 +00:00
email-mirror: put Nagios configuration in puppet.
(imported from commit a6ecac877628cf7918e55d553cf509aa5c0635cb)
This commit is contained in:
@@ -170,3 +170,8 @@ define command {
|
|||||||
command_name check_postgres_backup
|
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'
|
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'
|
||||||
|
}
|
||||||
|
|||||||
@@ -299,3 +299,11 @@ define service {
|
|||||||
check_command check_remote_swap!22!80%!50%
|
check_command check_remote_swap!22!80%!50%
|
||||||
contact_groups admins
|
contact_groups admins
|
||||||
}
|
}
|
||||||
|
|
||||||
|
define service {
|
||||||
|
use generic-service
|
||||||
|
host staging
|
||||||
|
service_description Check email mirror
|
||||||
|
check_command check_email_mirror!22
|
||||||
|
contact_groups admins
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user