added and linked add_contactgroups_rules
This commit is contained in:
8
templates/nagios/contactgroups_cfg_head.erb
Normal file
8
templates/nagios/contactgroups_cfg_head.erb
Normal file
@@ -0,0 +1,8 @@
|
||||
###############################################################################
|
||||
########## nagios_add_contactgroups.cfg created by Puppet ##########
|
||||
########## manual changes are overwritten! ##########
|
||||
###############################################################################
|
||||
########## Full reference file available at ##########
|
||||
########## https://confdroid.com/2017/07/nagios-contacts-cfg/ ##########
|
||||
###############################################################################
|
||||
# rules are created below by external puppet rules.
|
||||
5
templates/nagios/contactgroups_cfg_rule.erb
Normal file
5
templates/nagios/contactgroups_cfg_rule.erb
Normal file
@@ -0,0 +1,5 @@
|
||||
define contactgroup {
|
||||
contactgroup_name <%= @ng_contactgroup_name %>
|
||||
alias <%= @ng_contactgroup_alias %>
|
||||
register <%= @ng_contactgroup_register %>
|
||||
}
|
||||
Reference in New Issue
Block a user