nagios4/sample-config/template-object/contacts.cfg.in

52 lines
1.8 KiB
INI
Raw Permalink Normal View History

2017-05-19 22:22:40 +02:00
###############################################################################
# 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.
2019-04-18 17:09:18 +02:00
#
2017-05-19 22:22:40 +02:00
# 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)
2019-04-18 17:09:18 +02:00
# This contact definition inherits a lot of default values from the
# 'generic-contact' template which is defined elsewhere.
2017-05-19 22:22:40 +02:00
2019-04-18 17:09:18 +02:00
define contact {
2017-05-19 22:22:40 +02:00
2019-04-18 17:09:18 +02:00
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_user@@localhost ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ******
}
2017-05-19 22:22:40 +02:00
###############################################################################
#
# CONTACT GROUPS
#
###############################################################################
# We only have one contact in this simple configuration file, so there is
# no need to create more than one contact group.
2019-04-18 17:09:18 +02:00
define contactgroup {
contactgroup_name admins
alias Nagios Administrators
members nagiosadmin
}