Hi Sam and Jef,
I am also trying to create the Puppet Module for Nagios XI. I am able to genterate the individual config file for each host & service in import directory.
I have create a exec block execue the reconfigure script and subscribe it to import directory resource. But the issue is, even after creation of new config files in import directory it does call the execute block.
If I run the reconfigure script manually it loads the config and configure the checks in Nagios XI.
Secondly, how to handle the inventory on the hosts and services and to avoid reloads of nagios after every 30 mins if there is no new checks in the Import directory.
Attached is my code please suggest if you have done it in past.
A quick revert on this is much appreciated.
Thanks in advance
Thanks
Devesh
M: +44 7570 1905 85