roles/zabbix-agent: Deploy Zabbix agent
The *zabbix-agent* role installs the Zabbix monitoring agent on the managed node, and sets it up to communicate with the Zabbix server specified by the `zabbix_server` variable. This role "should" be compatible with most distributions; it has been tested with Fedora and Gentoo.
This commit is contained in:
8
roles/zabbix-agent/vars/Gentoo.yml
Normal file
8
roles/zabbix-agent/vars/Gentoo.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
zbx_agent_required_packages:
|
||||
- zabbix
|
||||
zbx_agent_config_tmpl: zabbix_agentd2.conf.j2
|
||||
zbx_agent_config: /etc/zabbix/zabbix_agentd.conf
|
||||
zbx_agent_config_dir: /etc/zabbix/zabbix_agent.conf.d
|
||||
zbx_agent_svc: zabbix-agentd
|
||||
|
||||
zabbix_metadata_item: vfs.file.contents[/etc/gentoo-release]
|
||||
Reference in New Issue
Block a user