Add nagios check to verify mailchimp is running on staging/app.

(imported from commit 2aa79cc6252aadaa0a212b5c60eff9c5c55b7781)
This commit is contained in:
Luke Faraone 2013-04-05 14:15:08 -07:00
parent 062e106400
commit d89f5670bb
2 changed files with 13 additions and 0 deletions

View File

@ -101,6 +101,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 process_user_activity"' 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 process_user_activity"'
} }
define command{
command_name check_process_mailchimp_signups
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{ 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

@ -180,6 +180,14 @@ define service {
contact_groups page_admins contact_groups page_admins
} }
define service {
use generic-service
service_description sync signups from humbug to mailchimp
check_command check_process_mailchimp_signups!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