A Puppet report handler for sending data from puppet runs to Zabbix.
open4puppetzabbix_senderbinary (comes with zabbix-agent packages, usually)
- Install the
open4gem on the puppet master.
sudo gem install open4-
Install puppet-zabbix as a module in your puppet master's module path.
-
Update the
zabbix_host,zabbix_port, andzabbix_sendervariables inzabbix.yaml. Copyzabbix.yamlto/etc/puppet. -
Enable pluginsync and reports on your master and clients in
puppet.conf.
[main]
report = true
pluginsync = true
[master]
reports = zabbix- Run the puppet client to sync the report as a plugin.
-
Import the zabbix template in
doc/zabbix_template.xml. -
Link the template to hosts managed by puppet. Note that the "technical" host name will need to match the puppet certname (defaults to FQDN) for each host.
Thomas Van Doren
GPLv2
