zabbix: Add SOP to explain how to add the zabbix agent to a host

Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
This commit is contained in:
David Kirwan 2023-09-20 13:27:41 +01:00
parent 87dbf1c440
commit 0599c31e93
No known key found for this signature in database
GPG key ID: A5893AB6474AC37D

View file

@ -1,9 +1,20 @@
= Add Zabbix Agent to hosts
= Zabbix Server Adding the Zabbix Agent to hosts
== Resources
- [1] Code: https://pagure.io/cpe/fas2discourse/
- [2] Playbook: https://pagure.io/fedora-infra/ansible/blob/main/f/playbooks/manual/fas2discourse.yml
- [3] Role: https://pagure.io/fedora-infra/ansible/blob/main/f/roles/fas2discourse
- [1] Official Installation Instructions: https://www.zabbix.com/download?zabbix=6.0&os_distribution=red_hat_enterprise_linux&os_version=9&components=server_frontend_agent&db=pgsql&ws=nginx
- [2] Playbook: https://pagure.io/fedora-infra/ansible/blob/main/f/playbooks/groups/zabbix.yml
- [3] Role: https://pagure.io/fedora-infra/ansible/blob/main/f/roles/zabbix
- [4] Installation of the Zabbix Agent: https://www.zabbix.com/documentation/6.0/en/manual/installation/install_from_packages/rhel
- [5] Configuration Agent: https://www.zabbix.com/documentation/6.0/en/manual/concepts/agent
== X
== Installation
The playbook,role at [2],[3] contains everything required to deploy and configure the Zabbix agent on a particular host.
In order to deploy it onto a host, find the particular playbook which targets this host and add the following to the playbook role import section:
```
- role: zabbix/zabbix_agent
```
Run the playbook then to deploy and configure the Zabbix agent. Check the Zabbix server for the particular environment to ensure the host correctly shows up in the host list.