A Puppet report handler for sending data from puppet runs to Zabbix.
open4
puppet
zabbix_sender
binary (comes with zabbix-agent packages, usually)
- Install the
open4
gem 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_sender
variables inzabbix.yaml
. Copyzabbix.yaml
to/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