TODO-0001 - CLEAN OUT TEMPLATES

This commit is contained in:
Arne Teuke
2021-09-13 15:04:33 +02:00
parent 96c4b3c816
commit 86c67d4121
6 changed files with 3 additions and 69 deletions

View File

@@ -2,9 +2,6 @@
########## parameterized cgi.cfg created by Puppet ########## ########## parameterized cgi.cfg created by Puppet ##########
########## manual changes will be overwritten !!! ########## ########## 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 %> main_config_file=<%= @ng_main_config %>
physical_html_path=<%= @ng_share_html %> physical_html_path=<%= @ng_share_html %>

View File

@@ -2,7 +2,5 @@
########## nagios_add_contactgroups.cfg created by Puppet ########## ########## nagios_add_contactgroups.cfg created by Puppet ##########
########## manual changes are overwritten! ########## ########## 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. # rules are created below by external puppet rules.

View File

@@ -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
}

View File

@@ -1,9 +1,6 @@
################################################################################ ################################################################################
##### nagios.cfg created by Puppet | manual changes will be overwritten ##### ##### 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 %> log_file=<%= @ng_log_file %>

View File

@@ -1,7 +1,5 @@
################################################################################ ################################################################################
##### resource.cfg created by Puppet | manual changes will be overwritten ##### ##### 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. # $user$ arguments are created below through defines.

View File

@@ -1,7 +1,5 @@
############################################################################### ###############################################################################
### nagios_templates.cfg created by Puppet | manual changes are overwritten!### ### 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. # rules are created below by external puppet rules.