Do you want to add automatically new hosts on Nagios using exported 
resources or you want to define your hosts "statically" with a bunch of 
(hiera) data?

Hiera entries for this module are as the ones you may expect from other 
modules, for each class parameter there's a hiera lookup to the key: 
$classname::parametername (for example nagios::template to define a custom 
template for your nagios.cfg)

Finally, if you want to automate your monitoring setup (new hosts are 
automatically added to the nagios server using Puppet's exported resources) 
I'd recommend definitively to use Icinga2 instead of Nagios. This allows 
much easier and more compact management of the exported resources 
(basically you can just export host resources, and you don't need to export 
any service check resource)
 
al



On Wednesday, March 25, 2015 at 10:38:19 AM UTC+1, Sergiu Cornea wrote:
>
> Good morning everyone,
>
> I am using Puppet 3.7 and the example42/nagios module. As I am a Puppet 
> newbie I have tried to create hosts using hiera but it doesn't work. I have 
> google it but I am just getting the example42/network module example for 
> hiera.
>
> Could someone guide me into the right direction on how I will go about 
> create a Hiera entry for this module?
>
> Thank you,
>
> Regards,
> Sergiu
>
> This message and its attachments are private and confidential. If you have 
> received this message in error, please notify the sender and remove it and 
> its attachments from your system.
>
> The University of Westminster is a charity and a company 
> limited by guarantee. Registration number: 977818 England. 
> Registered Office: 309 Regent Street, London W1B 2UW.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/39240bb9-2d22-46f9-89e7-93c4ed32402f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to