Displaying 1 result from an estimated 1 matches for "crit_real".
2012 Sep 24
4
Overriding variables.
...r not.
class nrpe::load ($warn = ''UNSET'', $crit = ''UNSET'') {
package { nagios-plugins-load: ensure => installed }
if $warn == ''UNSET'' {
$warn_real = $processorcount
}
if $crit == ''UNSET'' {
$crit_real = $processorcount * 2
}
file { "/etc/nagios/command.d/load.cfg":
owner => root,
group => root,
mode => 640,
content => template("nrpe/load.cfg.erb"),
notify => Service[nrpe]
}
}
class nrpe::load::overri...