More RabbitMQ monitoring!

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2019-08-02 16:01:10 +02:00 committed by Pierre-Yves Chibon
parent f362dc6717
commit d594733771
5 changed files with 61 additions and 0 deletions

View file

@ -1,3 +1,5 @@
# RabbitMQ processes (for each host)
define service {
host_name rabbitmq01.phx2.fedoraproject.org
service_description Check bus server processes
@ -19,6 +21,29 @@ define service {
use defaulttemplate
}
# RabbitMQ alarms (for each host)
define service {
host_name rabbitmq01.phx2.fedoraproject.org
service_description Check bus server alarms
check_command check_by_nrpe!check_rabbitmq_watermark
use defaulttemplate
}
define service {
host_name rabbitmq02.phx2.fedoraproject.org
service_description Check bus server alarms
check_command check_by_nrpe!check_rabbitmq_watermark
use defaulttemplate
}
define service {
host_name rabbitmq03.phx2.fedoraproject.org
service_description Check bus server alarms
check_command check_by_nrpe!check_rabbitmq_watermark
use defaulttemplate
}
# The following results are cluster-wide, no need to run them on each cluster member
define service {
@ -40,4 +65,32 @@ define service {
service_description Check bus cluster overview
check_command check_by_nrpe!check_rabbitmq_overview
use defaulttemplate
}
define service {
host_name rabbitmq01.phx2.fedoraproject.org
service_description Check bus exchanges in /pubsub
check_command check_by_nrpe!check_rabbitmq_exchange_pubsub
use defaulttemplate
}
define service {
host_name rabbitmq01.phx2.fedoraproject.org
service_description Check bus exchanges in /public_pubsub
check_command check_by_nrpe!check_rabbitmq_exchange_public_pubsub
use defaulttemplate
}
define service {
host_name rabbitmq01.phx2.fedoraproject.org
service_description Check bus queues in /pubsub
check_command check_by_nrpe!check_rabbitmq_queue_pubsub
use defaulttemplate
}
define service {
host_name rabbitmq01.phx2.fedoraproject.org
service_description Check bus queues in /public_pubsub
check_command check_by_nrpe!check_rabbitmq_queue_public_pubsub
use defaulttemplate
}