mirror of https://github.com/zulip/zulip.git
puppet: Add nagios notifications for the rest of our rabbitmq queues
(imported from commit 9d21a0ca3662396c436b482c574113d0cbc714a0)
This commit is contained in:
parent
61ca14b400
commit
dc082cd96d
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue