zabbix_reports

A Puppet report processor for sending metrics to a Zabbix

Shamil

shamil

10,571 downloads

6,018 latest version

4.6 quality score

Version information

  • 0.3.0 (latest)
  • 0.2.0
  • 0.1.6
  • 0.1.5
released Nov 18th 2016
This version is compatible with:
  • RedHat, CentOS, OracleLinux, Scientific, SLES, Debian, Ubuntu, windows

Start using this module

Documentation

shamil/zabbix_reports — version 0.3.0 Nov 18th 2016

puppet-zabbix-reports

Description

A Puppet report processor for sending metrics to Zabbix server via zabbix trapper protocol.

zabbix items

Installation and usage

  • Install puppet-zabbix-reports as a module in your puppet master's module path (defaults to /etc/puppet/modules).

  • Update the :zabbix_hosts in zabbix.yaml, toy can specify multiple zabbix hosts. See examples in zabbix.yamlfile.

  • [DEPRECATED] Update the :zabbix_host and :zabbix_port variables in zabbix.yaml. You should use :zabbix_hosts instead. This option will be removed in the future.

  • Copy zabbix.yaml to puppet config directory (defaults to /etc/puppet).

  • Configure zabbix master to use the zabbix report:

[master]
    reports = store, zabbix
  • Enable pluginsync and report on your agents:
[main]
    report     = true
    pluginsync = true
  • Unless you run puppet agent on master as well, you will need to run puppet plugin download on master, to sync the files to lib (e.g. /var/lib/puppet/lib). You will need to do it every time you update the module.

  • Import the zabbix template from zabbix-template.xml.

  • Link the template to hosts managed by puppet.

It is recommended that host name in zabbix will match the puppet node name, if it doesn't, use override_hosts option in zabbix.yaml

TODO

  • write some unit tests (really?)

License

Copyright 2015 Alex Simenduev <shamil.si@gmail.com>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.