Not working with puppet 5 setup.
Closed this issue · 1 comments
awwwd commented
I am trying to integrate this custom reporting module with puppet 5 master-agent setup. But only the Puppet agent process
item is showing. Other fields are coming blank. These are my configurations:
I am using a zabbix server box: zabbix.localdomain
a puppet agent box: puppetagent.localdomain
a puppet master box: 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,puppet,puppet.localdomain,localhost
storeconfigs = true
storeconfigs_backend = puppetdb
[agent]
report=true
server=localhost
environment=devl
On agent:
[main]
server=pupmaster.localdomain
[agent]
environment=devl
On master and agent I have placed the zabbix.yaml file:
/etc/puppetlabs/puppet/zabbix.yaml
---
# specify zabbix servers to send to
:zabbix_hosts:
- address: zabbix.localdomain
port: 10051
awwwd commented
adding the lib directory in puppetserver conf worked. or you can manually copy lib files on default lib dir for puppet servers. It will work.