自定义报表处理器与Puppet 5

时间:2017-10-04 10:21:26

标签: puppet monitoring zabbix puppet-enterprise

我正在尝试将此(https://github.com/shamil/puppet-zabbix-reports/)自定义报告模块与puppet 5主代理设置集成。但是只显示了Puppet代理程序项(在更改tempalte中的正则表达式之后)。其他领域空白。这些是我的配置:

  • 我使用的是zabbix服务器盒:zabbix.localdomain
  • 木偶代理盒:puppetagent.localdomain
  • 木偶大师盒:pupmaster.localdomain

On Master:/etc/puppetlabs/puppet/puppet.conf

[master]
reports=zabbix
vardir = /opt/puppetlabs/server/data/puppetserver
logdir = /var/log/puppetlabs/puppetserver
rundir = /var/run/puppetlabs/puppetserver
pidfile = /var/run/puppetlabs/puppetserver/puppetserver.pid
codedir = /etc/puppetlabs/code
autosign=true
environmentpath=/etc/puppetlabs/code/environments
dns_alt_names=pupmaster,pupmaster.localdomain
storeconfigs = true
storeconfigs_backend = puppetdb
[agent]
report=true
server=localhost
environment=devl

代理人:

[main]
report=true
server=pupmaster.localdomain
[agent]
environment=devl

在master和agent上我放了zabbix.yaml文件:/etc/puppetlabs/puppet/zabbix.yaml

---
# specify zabbix servers to send to
:zabbix_hosts:
  - address: zabbix.localdomain
    port: 10051

Zabbix代理正在所有机器上运行并正常工作。

可能是什么问题?

0 个答案:

没有答案