Displaying 1 result from an estimated 1 matches for "check_local_du".
2009 Apr 22
3
Exported Resources with keyword undef
...agios_cfg_dir/services.cfg"],
notify => Exec["nagios-reload"],
contact_groups => $contact_groups ? {false => undef, default =>
$contact_groups},
}
}
and I use this definition like this (without argument $contact_groups) :
nagios::service::distributed {"check_local_du":
ensure => present,
service_description => "disk usage",
}
In this case, $contact_groups is not defined, so ''undef'' allows you to
ignore this attribute. It work fine in nagios_service but in
@@nagios_service this attribute is put into the mysql database...