我正在尝试将此(https://github.com/shamil/puppet-zabbix-reports/)自定义报告模块与puppet 5主代理设置集成。但是只显示了Puppet代理程序项(在更改tempalte中的正则表达式之后)。其他领域空白。这些是我的配置:
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代理正在所有机器上运行并正常工作。
可能是什么问题?