>
> Hi Ugo,
>
> You don't have to to modify pdxcat/nrpe to get that to work. Wherever
> you are calling this from, you need to set the value of $ntpserver. That
> can happen as a parameter to the class which would automatically look it
> up or with the hiera() function.
>
> I also have an nrp
On 4/21/16 3:09 PM, Ugo Bellavance wrote:
> Hi,
>
> I want to create a nrpe command using the pdxcat-nrpe, for check_ntp.
> My NTP servers would check against public servers, and all others will
> check against my internal NTP servers.
>
> The code looks like that:
>
> nrpe::command {
>
You cannot automatically pass parameters to defines with hiera. But, if you
put the nrpe::commands in a profile, you can do APL that way. I.e.
class profile::something (
$ntpserver,
) {
nrpe::command {'check_ntp':
package_name => 'nagios-plugins-ntp',
ensure => present,
command =
On Thursday, April 21, 2016 at 3:25:35 PM UTC-4, Rob Nelson wrote:
>
> Can you link directly to the module you're using, on the forge or on
> github?
Sorry... https://github.com/pdxcat/puppet-module-nrpe or
https://forge.puppet.com/pdxcat/nrpe
--
You received this message because you are sub
Can you link directly to the module you're using, on the forge or on github?
--
Rob Nelson
rnels...@gmail.com
--
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
Hi,
I want to create a nrpe command using the pdxcat-nrpe, for check_ntp. My
NTP servers would check against public servers, and all others will check
against my internal NTP servers.
The code looks like that:
nrpe::command {
'check_ntp':
package_name => 'nagios-plugi