nagios: Sort queue consumer checks.

This commit is contained in:
Alex Vandiver 2022-06-13 17:43:14 -07:00 committed by Alex Vandiver
parent 2c90c7a010
commit e01a4242aa
2 changed files with 33 additions and 32 deletions

View File

@ -376,22 +376,11 @@ define service {
contact_groups page_admins contact_groups page_admins
} }
define service {
use rabbitmq-consumer-service
service_description Check RabbitMQ user_activity_interval consumers
check_command check_rabbitmq_consumers!user_activity_interval
}
define service { define service {
use rabbitmq-consumer-service use rabbitmq-consumer-service
service_description Check RabbitMQ user_presence consumers service_description Check RabbitMQ deferred_work consumers
check_command check_rabbitmq_consumers!user_presence check_command check_rabbitmq_consumers!deferred_work
}
define service {
use rabbitmq-consumer-service
service_description Check RabbitMQ invites consumers
check_command check_rabbitmq_consumers!invites
} }
define service { define service {
@ -408,20 +397,8 @@ define service {
define service { define service {
use rabbitmq-consumer-service use rabbitmq-consumer-service
service_description Check RabbitMQ missedmessage_mobile_notifications consumers service_description Check RabbitMQ email_senders consumers
check_command check_rabbitmq_consumers!missedmessage_mobile_notifications check_command check_rabbitmq_consumers!email_senders
}
define service {
use rabbitmq-consumer-service
service_description Check RabbitMQ missedmessage_emails consumers
check_command check_rabbitmq_consumers!missedmessage_emails
}
define service {
use rabbitmq-consumer-service
service_description Check RabbitMQ user_activity consumers
check_command check_rabbitmq_consumers!user_activity
} }
define service { define service {
@ -432,8 +409,20 @@ define service {
define service { define service {
use rabbitmq-consumer-service use rabbitmq-consumer-service
service_description Check RabbitMQ email_senders consumers service_description Check RabbitMQ invites consumers
check_command check_rabbitmq_consumers!email_senders check_command check_rabbitmq_consumers!invites
}
define service {
use rabbitmq-consumer-service
service_description Check RabbitMQ missedmessage_emails consumers
check_command check_rabbitmq_consumers!missedmessage_emails
}
define service {
use rabbitmq-consumer-service
service_description Check RabbitMQ missedmessage_mobile_notifications consumers
check_command check_rabbitmq_consumers!missedmessage_mobile_notifications
} }
define service { define service {
@ -444,8 +433,20 @@ define service {
define service { define service {
use rabbitmq-consumer-service use rabbitmq-consumer-service
service_description Check RabbitMQ deferred_work consumers service_description Check RabbitMQ user_activity consumers
check_command check_rabbitmq_consumers!deferred_work check_command check_rabbitmq_consumers!user_activity
}
define service {
use rabbitmq-consumer-service
service_description Check RabbitMQ user_activity_interval consumers
check_command check_rabbitmq_consumers!user_activity_interval
}
define service {
use rabbitmq-consumer-service
service_description Check RabbitMQ user_presence consumers
check_command check_rabbitmq_consumers!user_presence
} }
define service { define service {

View File

@ -12,11 +12,11 @@ normal_queues = [
"deferred_work", "deferred_work",
"digest_emails", "digest_emails",
"email_mirror", "email_mirror",
"email_senders",
"embed_links", "embed_links",
"embedded_bots", "embedded_bots",
"error_reports", "error_reports",
"invites", "invites",
"email_senders",
"missedmessage_emails", "missedmessage_emails",
"missedmessage_mobile_notifications", "missedmessage_mobile_notifications",
"outgoing_webhooks", "outgoing_webhooks",