diff --git a/servers/puppet/modules/humbug/files/nagios3/commands.cfg b/servers/puppet/modules/humbug/files/nagios3/commands.cfg index fd880a9ca7..d0364b4d91 100644 --- a/servers/puppet/modules/humbug/files/nagios3/commands.cfg +++ b/servers/puppet/modules/humbug/files/nagios3/commands.cfg @@ -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"' } +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{ 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"' diff --git a/servers/puppet/modules/humbug/files/nagios3/conf.d/services.cfg b/servers/puppet/modules/humbug/files/nagios3/conf.d/services.cfg index 51524c3f92..2a7a2d98fd 100644 --- a/servers/puppet/modules/humbug/files/nagios3/conf.d/services.cfg +++ b/servers/puppet/modules/humbug/files/nagios3/conf.d/services.cfg @@ -180,6 +180,14 @@ define service { 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 { use generic-service service_description zmirror subscriptons syncing