Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 868 Bytes

README.md

File metadata and controls

37 lines (29 loc) · 868 Bytes

Module info

This is the zabbix_monitor module. It allows you to generate Zabbix host and template information using the Zabbix API.

Howto

Check the manifests/init.pp file for resource collection. You can export resources like;

@@zabbix_monitor_host { $::fqdn:
  ensure          => present,
  host            => $::fqdn,
  groups          => 'Puppet Managed',
  ip              => $::ipaddress,
  hostname        => $::fqdn,
  proxy_hostid    => 0, # No proxy
  status          => 0, # Enabled
}

And apply templates like:

@@zabbix_monitor_template_apply { "zbx_application_general_${::fqdn}":
  ensure      => present,
  template    => 'Linux - General',
  host        => $::fqdn,
  require     => Zabbix_monitor_host [ $::fqdn ],
}

Support & Help

Please log tickets and issues in this repository.