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.
9 lines
278 B
YAML
9 lines
278 B
YAML
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]
|