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:
2018-04-14 15:27:02 -05:00
parent 3a7c9b52bf
commit 668b158cf9
8 changed files with 1037 additions and 0 deletions

View 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]

View File

@@ -0,0 +1,8 @@
zbx_agent_required_packages:
- zabbix-agent
zbx_agent_config_tmpl: zabbix_agentd3.conf.j2
zbx_agent_config: /etc/zabbix_agentd.conf
zbx_agent_config_dir: /etc/zabbix_agent.conf.d
zbx_agent_svc: zabbix-agent
zabbix_metadata_item: vfs.file.contents[/etc/system-release]