diff --git a/templates/nagios/cgi_cfg.erb b/templates/nagios/cgi_cfg.erb index abc5c5b..99865ea 100644 --- a/templates/nagios/cgi_cfg.erb +++ b/templates/nagios/cgi_cfg.erb @@ -2,9 +2,6 @@ ########## parameterized cgi.cfg created by Puppet ########## ########## manual changes will be overwritten !!! ########## ############################################################################### -########## full reference original file is available at ########## -########## https://confdroid.com/2017/07/nagios-cgi-cfg/ ########## -############################################################################### main_config_file=<%= @ng_main_config %> physical_html_path=<%= @ng_share_html %> diff --git a/templates/nagios/contactgroups_cfg_head.erb b/templates/nagios/contactgroups_cfg_head.erb index 31e8a7b..a6e304f 100644 --- a/templates/nagios/contactgroups_cfg_head.erb +++ b/templates/nagios/contactgroups_cfg_head.erb @@ -2,7 +2,5 @@ ########## 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. diff --git a/templates/nagios/contacts.cfg b/templates/nagios/contacts.cfg deleted file mode 100755 index 98407a3..0000000 --- a/templates/nagios/contacts.cfg +++ /dev/null @@ -1,54 +0,0 @@ -############################################################################### -# CONTACTS.CFG - SAMPLE CONTACT/CONTACTGROUP DEFINITIONS -# -# -# NOTES: This config file provides you with some example contact and contact -# group definitions that you can reference in host and service -# definitions. -# -# You don't need to keep these definitions in a separate file from your -# other object definitions. This has been done just to make things -# easier to understand. -# -############################################################################### - - - -############################################################################### -############################################################################### -# -# CONTACTS -# -############################################################################### -############################################################################### - -# Just one contact defined by default - the Nagios admin (that's you) -# This contact definition inherits a lot of default values from the 'generic-contact' -# template which is defined elsewhere. - -define contact{ - contact_name nagiosadmin ; Short name of user - use generic-contact ; Inherit default values from generic-contact template (defined above) - alias Nagios Admin ; Full name of user - - email nagios@localhost ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** - } - - - -############################################################################### -############################################################################### -# -# CONTACT GROUPS -# -############################################################################### -############################################################################### - -# We only have one contact in this simple configuration file, so there is -# no need to create more than one contact group. - -define contactgroup{ - contactgroup_name admins - alias Nagios Administrators - members nagiosadmin - } diff --git a/templates/nagios/nagios_cfg.erb b/templates/nagios/nagios_cfg.erb index e3dba0e..3e671c0 100644 --- a/templates/nagios/nagios_cfg.erb +++ b/templates/nagios/nagios_cfg.erb @@ -1,9 +1,6 @@ ################################################################################ ##### nagios.cfg created by Puppet | manual changes will be overwritten ##### ################################################################################ -##### full reference for the original available at ##### -##### https://confdroid.com/2017/07/nagios-nagios-cfg-v-4-3-2/ ##### -################################################################################ log_file=<%= @ng_log_file %> diff --git a/templates/nagios/resource_cfg.erb b/templates/nagios/resource_cfg.erb index eca3279..cc1a6f6 100755 --- a/templates/nagios/resource_cfg.erb +++ b/templates/nagios/resource_cfg.erb @@ -1,7 +1,5 @@ ################################################################################ ##### resource.cfg created by Puppet | manual changes will be overwritten ##### ################################################################################ -##### full reference for the original available at ##### -##### https://confdroid.com/2018/04/nagios-resource-cfg/ ##### -################################################################################ + # $user$ arguments are created below through defines. diff --git a/templates/nagios/templates_cfg_head.erb b/templates/nagios/templates_cfg_head.erb index b613344..1f8dfc3 100644 --- a/templates/nagios/templates_cfg_head.erb +++ b/templates/nagios/templates_cfg_head.erb @@ -1,7 +1,5 @@ ############################################################################### ### nagios_templates.cfg created by Puppet | manual changes are overwritten!### ############################################################################### -########## Full reference file available at ########## -########## https://confdroid.com/2017/07/nagios-templates-cfg/ ########## -############################################################################### + # rules are created below by external puppet rules.