Document how to remove monitoring of a rabbitmq queue

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2020-07-08 16:41:27 +02:00
parent 581f19d9c7
commit 0e1529b040

View file

@ -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_<queue_name>.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-<queue_name>.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