puppet: Add nagios notifications for the rest of our rabbitmq queues

(imported from commit 9d21a0ca3662396c436b482c574113d0cbc714a0)
This commit is contained in:
Zev Benjamin 2013-09-23 15:51:37 -04:00
parent 61ca14b400
commit dc082cd96d
2 changed files with 24 additions and 0 deletions

View File

@ -4,5 +4,7 @@ USER=root
* * * * * root /home/humbug/humbug-deployments/current/tools/write-rabbitmq-consumers-state-file notify_tornado
* * * * * root /home/humbug/humbug-deployments/current/tools/write-rabbitmq-consumers-state-file user_activity
* * * * * root /home/humbug/humbug-deployments/current/tools/write-rabbitmq-consumers-state-file user_activity_interval
* * * * * root /home/humbug/humbug-deployments/current/tools/write-rabbitmq-consumers-state-file user_presence
* * * * * root /home/humbug/humbug-deployments/current/tools/write-rabbitmq-consumers-state-file invites
* * * * * root /home/humbug/humbug-deployments/current/tools/write-rabbitmq-consumers-state-file signups

View File

@ -285,6 +285,28 @@ define service {
contact_groups admins
}
define service {
use generic-service
service_description Check rabbitmq user_activity_interval consumers
check_command check_rabbitmq_consumers!user_activity_interval
# Workaround weird checks 40s after first error causing alerts
# from a single failure because cron hasn't run again yet
max_check_attempts 3
hostgroup_name frontends
contact_groups admins
}
define service {
use generic-service
service_description Check rabbitmq user_presence consumers
check_command check_rabbitmq_consumers!user_presence
# Workaround weird checks 40s after first error causing alerts
# from a single failure because cron hasn't run again yet
max_check_attempts 3
hostgroup_name frontends
contact_groups admins
}
define service {
use generic-service
service_description Check rabbitmq invites consumers