hi, I try to get the example3 working:
https://github.com/Icinga/puppet-icinga2-rewrite/tree/master/examples/example3 The problem is the error message from puppet agent: Error: Could not retrieve … on Server „mon.example.com“ is not an Array. It looks to be a string at …. object/zone.pp:51 on node osd-01.example.local I thought, it might be a problem with the builtin puppetdb database and switched to postgresql 9.1. It is a very strange thing I do not understand. I run first the agent after setting up the puppetdb on the Icinga master and got the error on that host, with the nodename from the testing Icinga2 agent host. Than I cleared the database and started the puppet agent first on the Icinga2 master, which runs than fine. Than I got the the same error on the Icinga2 agent host, but with "…. object/zone.pp:51 on node mon.example.com" Some hiera configs: * hieradata/role/osd.yaml -> Icinga2 Master --- classes: role::monitorednode * hieradata/role/mon.yaml -> Icinga2 Agent host --- classes: - role::icinga2_server * hieradata/common.yaml --- icinga_vars: os: Linux cores: "%{::processorcount}" virtual_machine: "%{::is_virtual}" distro: "%{::operatingsystem}" disks: 'disk /': disk_partitions: '/' * hieradata/node/osd-01.example.local.yaml --- icinga_vars: client_endpoint: "%{::fqdn}" * hieradata/node/mon.example.com.yaml [...] icinga2::feature::api::accept_commands: true icinga2::feature::api::endpoints: {} icinga2::feature::api::zones: {} […] the rest is the same as from the example3 config. Maybe the problem has something to do with the exports … but don’t know, how to debug. Does anybody has some tipps to fix it? cu denny _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users