added service description and add_hostgroup_rules
This commit is contained in:
5
templates/nagios/hostgroups_cfg_head.erb
Normal file
5
templates/nagios/hostgroups_cfg_head.erb
Normal file
@@ -0,0 +1,5 @@
|
||||
###############################################################################
|
||||
########## nagios_hostgroups_add.cfg created by Puppet ##########
|
||||
########## manual changes are overwritten! ##########
|
||||
###############################################################################
|
||||
# rules are created below by external puppet rules.
|
||||
6
templates/nagios/hostgroups_cfg_rule.erb
Normal file
6
templates/nagios/hostgroups_cfg_rule.erb
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
define hostgroup {
|
||||
hostgroup_name <%= @ng_hostgroup_name %>
|
||||
alias <%= @ng_hostgroup_alias %>
|
||||
register <%= @ng_hostgroup_register %>
|
||||
}
|
||||
Reference in New Issue
Block a user