From 0e1529b040dffb033f2c250cdb03daedeff85740 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Wed, 8 Jul 2020 16:41:27 +0200 Subject: [PATCH] Document how to remove monitoring of a rabbitmq queue Signed-off-by: Pierre-Yves Chibon --- remove_monitoring_rabbitmq_queue.md | 33 +++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 remove_monitoring_rabbitmq_queue.md diff --git a/remove_monitoring_rabbitmq_queue.md b/remove_monitoring_rabbitmq_queue.md new file mode 100644 index 0000000..694c932 --- /dev/null +++ b/remove_monitoring_rabbitmq_queue.md @@ -0,0 +1,33 @@ +# How to remove the monitoring of a rabbitmq queue + +The monitoring of queue sizes of rabbitmq queue is done by nagios using two +small configuration file. + +To remove that monitoring, you simply need to remove these two files. + +On the rabbitmq server (rabbitmq01): +------------------------------------ + +* Remove the local nagios configuration file + + rm /etc/nrpe.d/check_rabbitmq_queue_.cfg + +* Then restart the local nagios plugin + + systemctl restart nrpe + +On the nagios server (noc01): +----------------------------- + +* Remove the nagios configuration file + + rm /etc/nagios/services/rabbitmq-queue-.cfg + +* Ensure the configuration is still valid: + + nagios -v /etc/nagios/nagios.cfg + + +* If and only **if** the check above passed, restart nagios on the nagios server + + systemctl restart nagios