OP#436 add default servicegroup Linux-services
This commit is contained in:
@@ -35,5 +35,10 @@ class confdroid_nagios::nagios::objects::add_servicegroup_rules (
|
|||||||
content => template($ng_tgt_svcgrp_head_erb),
|
content => template($ng_tgt_svcgrp_head_erb),
|
||||||
order => '000',
|
order => '000',
|
||||||
}
|
}
|
||||||
|
# add default servicegroup rules through defines and parameters
|
||||||
|
confdroid_nagios::nagios::objects::add_servicegroups { $ng_servicegroup_name:
|
||||||
|
ng_servicegroup_name => $ng_servicegroup_name,
|
||||||
|
ng_servicegroup_alias => $ng_servicegroup_alias
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -459,6 +459,8 @@ class confdroid_nagios::params (
|
|||||||
# hostgroups
|
# hostgroups
|
||||||
String $ng_hostgroup_name = 'linux-servers',
|
String $ng_hostgroup_name = 'linux-servers',
|
||||||
String $ng_hostgroup_alias = 'Linux Servers',
|
String $ng_hostgroup_alias = 'Linux Servers',
|
||||||
|
|
||||||
|
# servicegroups
|
||||||
String $ng_servicegroup_name = 'linux-services',
|
String $ng_servicegroup_name = 'linux-services',
|
||||||
String $ng_servicegroup_alias = 'Linux Services',
|
String $ng_servicegroup_alias = 'Linux Services',
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user