zabbix: SOP to install and configure template for monitoring RabbitMQ

Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
This commit is contained in:
David Kirwan 2024-05-27 15:58:06 +01:00
parent 71d0af5b2d
commit 4b4788a536
No known key found for this signature in database
GPG key ID: A5893AB6474AC37D
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,44 @@
= SOP Add Zabbix monitoring to the RabbitMQ hosts
:page-description: This SOP documents step by step, of what was required to add Zabbix monitoring to the RabbitMQ hosts.
:page-aliases: sop_add_zabbix_monitoring_to_rabbitmq.adoc
== Overview
This SOP documents step by step, of what was required to add Zabbix monitoring to the RabbitMQ hosts.
== Contact Information
Owner::
Fedora Infrastructure Team
Contact::
#fedora-admin, sysadmin-main, sysadmin-noc
Purpose::
Provide basic orientation and introduction to the sysadmin group
== Access Level
To perform the configuration described in this SOP, one will likely need to have sysadmin-main, sysadmin-noc access.
== Requirements
- `root` access to the hosts in ansible group: `rabbitmq` and or `rabbitmq_stg`.
== Process
- Add the official Zabbix `RabbitMQ node by Zabbix agent` template to the `rabbitmq` and `rabbitmq_stg` hosts.
- Using the `rabbitmqctl` utility on the `rabbitmq` and `rabbitmq_stg` hosts, create the user `zbx_monitor`.
- Using the `rabbitmqctl` utility on the `rabbitmq` and `rabbitmq_stg` hosts, set the `monitoring` permissions on the `zbx_monitor` user.
- Configure the `RabbitMQ node by Zabbix agent` template within Zabbix, to update the password added in the previous step.
- Update the ansible private repo vars with the password for these users. Vars: `zbx_monitor` and `zbx_monitor_staging`
== Resources
- [1] Ansible Zabbix Template for RabbitMQ: https://www.zabbix.com/integrations/rabbitmq
=== Future Work
Replace these custom monitoring things with a Zabbix solution.
- https://pagure.io/firmitas-notifier

View file

@ -3,3 +3,4 @@
- xref:sop_zabbix_installation.adoc[SOP Zabbix Installation]
- xref:sop_add_zabbix_agent.adoc[SOP Add Zabbix Agent to hosts]
- xref:sop_add_zabbix_monitoring_to_releng_compose.adoc[SOP Add Zabbix monitoring to the releng compose hosts]
- xref:sop_add_zabbix_monitoring_to_rabbitmq.adoc[SOP Add Zabbix monitoring to the RabbitMQ hosts]