############################################################################### # 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. # ############################################################################### # 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 abc@domain.com,xyz@domain.com ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** } define contact{ contact_name xyz use team2 alias XYZ email xyz@domain.com } define contact{ contact_name demo1 use team alias demo one email demo1@domain.com } define contact{ contact_name demo2 use team alias demo two email demo2@domain.com } define contact{ contact_name demo3 use team alias demo three email demo3@domain.com } ############################################################################### ############################################################################### # # 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 } define contactgroup{ contactgroup_name team alias Team members demo1,demo2,demo3 } define contactgroup{ contactgroup_name team2 alias Team2 members xyz }