[202] | 1 | ###############################################################################
|
---|
| 2 | # CONTACTS.CFG - SAMPLE CONTACT/CONTACTGROUP DEFINITIONS
|
---|
| 3 | #
|
---|
| 4 | # Last Modified: 05-31-2007
|
---|
| 5 | #
|
---|
| 6 | # NOTES: This config file provides you with some example contact and contact
|
---|
| 7 | # group definitions that you can reference in host and service
|
---|
| 8 | # definitions.
|
---|
| 9 | #
|
---|
| 10 | # You don't need to keep these definitions in a separate file from your
|
---|
| 11 | # other object definitions. This has been done just to make things
|
---|
| 12 | # easier to understand.
|
---|
| 13 | #
|
---|
| 14 | ###############################################################################
|
---|
| 15 |
|
---|
| 16 |
|
---|
| 17 |
|
---|
| 18 | ###############################################################################
|
---|
| 19 | ###############################################################################
|
---|
| 20 | #
|
---|
| 21 | # CONTACTS
|
---|
| 22 | #
|
---|
| 23 | ###############################################################################
|
---|
| 24 | ###############################################################################
|
---|
| 25 |
|
---|
| 26 | # Just one contact defined by default - the Nagios admin (that's you)
|
---|
| 27 | # This contact definition inherits a lot of default values from the 'generic-contact'
|
---|
| 28 | # template which is defined elsewhere.
|
---|
| 29 |
|
---|
| 30 | define contact{
|
---|
| 31 | contact_name nagiosadmin ; Short name of user
|
---|
| 32 | use generic-contact ; Inherit default values from generic-contact template (defined above)
|
---|
| 33 | alias Rick van der Zwet ; Full name of user
|
---|
| 34 |
|
---|
| 35 | email rickvanderzwet@gmail.com ;
|
---|
| 36 | }
|
---|
| 37 |
|
---|
| 38 |
|
---|
| 39 |
|
---|
| 40 | ###############################################################################
|
---|
| 41 | ###############################################################################
|
---|
| 42 | #
|
---|
| 43 | # CONTACT GROUPS
|
---|
| 44 | #
|
---|
| 45 | ###############################################################################
|
---|
| 46 | ###############################################################################
|
---|
| 47 |
|
---|
| 48 | # We only have one contact in this simple configuration file, so there is
|
---|
| 49 | # no need to create more than one contact group.
|
---|
| 50 |
|
---|
| 51 | define contactgroup{
|
---|
| 52 | contactgroup_name admins
|
---|
| 53 | alias Nagios Administrators
|
---|
| 54 | members nagiosadmin
|
---|
| 55 | }
|
---|