nagios: add check for send_invite_emails process.

(imported from commit b30e55241249a02ee61fac2d3f7abecc4d8318bd)
This commit is contained in:
Jessica McKellar 2013-04-08 21:39:36 -04:00
parent 19d93ba970
commit fe7fedd252
2 changed files with 13 additions and 0 deletions

View File

@ -106,6 +106,11 @@ define command{
command_line /usr/lib/nagios/plugins/check_by_ssh -p $ARG1$ -l nagios -t 30 -i /var/lib/nagios/.ssh/id_rsa -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/check_procs -u humbug -c 1:1 -a "manage.py subscribe_new_users"' command_line /usr/lib/nagios/plugins/check_by_ssh -p $ARG1$ -l nagios -t 30 -i /var/lib/nagios/.ssh/id_rsa -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/check_procs -u humbug -c 1:1 -a "manage.py subscribe_new_users"'
} }
define command{
command_name check_send_confirmation_emails
command_line /usr/lib/nagios/plugins/check_by_ssh -p $ARG1$ -l nagios -t 30 -i /var/lib/nagios/.ssh/id_rsa -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/check_procs -u humbug -c 1:1 -a "manage.py send_confirmation_emails"'
}
define command{ define command{
command_name check_sync_public_streams command_name check_sync_public_streams
command_line /usr/lib/nagios/plugins/check_by_ssh -p $ARG1$ -l nagios -t 30 -i /var/lib/nagios/.ssh/id_rsa -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/check_procs -u humbug -c 1:1 -a "/home/humbug/humbug/bots/sync-public-streams"' command_line /usr/lib/nagios/plugins/check_by_ssh -p $ARG1$ -l nagios -t 30 -i /var/lib/nagios/.ssh/id_rsa -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/check_procs -u humbug -c 1:1 -a "/home/humbug/humbug/bots/sync-public-streams"'

View File

@ -188,6 +188,14 @@ define service {
contact_groups admins contact_groups admins
} }
define service {
use generic-service
service_description send confirmation emails
check_command check_send_confirmation_emails!22
hostgroup_name frontends
contact_groups admins
}
define service { define service {
use generic-service use generic-service
service_description zmirror subscriptons syncing service_description zmirror subscriptons syncing