added service description and add_hostgroup_rules
This commit is contained in:
@@ -42,11 +42,12 @@ class cd_nagios::server::service (
|
||||
use => 'generic-service',
|
||||
host_name => $::fqdn,
|
||||
notification_period => '24x7',
|
||||
service_description => "${::hostname}_nagios_service",
|
||||
target => $ng_target_service,
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
mode => '660',
|
||||
contacts => 'DevOps',
|
||||
mode => '0660',
|
||||
contacts => 'ops',
|
||||
}
|
||||
|
||||
resources { [ 'nagios_host',
|
||||
|
||||
Reference in New Issue
Block a user