diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-03-08 18:34:36 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-03-08 18:34:36 +0000 |
commit | 838ec7cd69a8eb5df3e03997d01a46ee6cfb5f1a (patch) | |
tree | 919cc9799839855a1f07628b9e1f85a52f69954f /nagios/objects/contacts.cfg | |
parent | Script nolonger required (diff) | |
download | config-838ec7cd69a8eb5df3e03997d01a46ee6cfb5f1a.tar.bz2 config-838ec7cd69a8eb5df3e03997d01a46ee6cfb5f1a.tar.xz config-838ec7cd69a8eb5df3e03997d01a46ee6cfb5f1a.zip |
Add Nagios config
Diffstat (limited to 'nagios/objects/contacts.cfg')
-rw-r--r-- | nagios/objects/contacts.cfg | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/nagios/objects/contacts.cfg b/nagios/objects/contacts.cfg new file mode 100644 index 0000000..e505211 --- /dev/null +++ b/nagios/objects/contacts.cfg @@ -0,0 +1,51 @@ +############################################################################### +# 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 dan@randomdan.homeip.net +} + + + +############################################################################### +# +# 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 +} |