Guest User

Untitled

a guest
Nov 27th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.08 KB | None | 0 0
  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 Nagios Admin ; Full name of user
  34.  
  35. email nagios@localhost ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ******
  36. }
  37.  
  38. define contact{
  39. contact_name Jonathan ; Short name of user
  40. use generic-contact ; Inherit default values from generic-contact template (defined above)
  41. alias King Jambon ; Full name of user
  42.  
  43. email huberdeau.jonathan@gmail.com ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ******
  44. }
  45.  
  46. define contact{
  47. contact_name Julien ; Short name of user
  48. use generic-contact ; Inherit default values from generic-contact template (defined above)
  49. alias Jambon Junior ; Full name of user
  50.  
  51. email julienstj@hotmail.com ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ******
  52. }
  53.  
  54. define contact{
  55. contact_name Alexandre ; Short name of user
  56. use generic-contact ; Inherit default values from generic-contact template (defined above)
  57. alias Jambon Senior ; Full name of user
  58.  
  59. email alexandre.demers@gmail.com ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ******
  60. }
  61.  
  62.  
  63. ###############################################################################
  64. ###############################################################################
  65. #
  66. # CONTACT GROUPS
  67. #
  68. ###############################################################################
  69. ###############################################################################
  70.  
  71. # We only have one contact in this simple configuration file, so there is
  72. # no need to create more than one contact group.
  73.  
  74. define contactgroup{
  75. contactgroup_name admins
  76. alias Nagios-Administrators
  77. members nagiosadmin
  78. }
  79.  
  80. define contactgroup{
  81. contactgroup_name Gestionnaires
  82. alias Gestionnaires-de-tout
  83. members nagiosadmin,Jonathan,Julien,Alexandre
  84. }
  85.  
  86. define contactgroup{
  87. contactgroup_name Reseau
  88. alias Gestionnaire-Reseau
  89. members nagiosadmin,Jonathan
  90. }
  91.  
  92. define contactgroup{
  93. contactgroup_name Serveurs
  94. alias Gestionnaire-Serveurs
  95. members nagiosadmin,Alexandre
  96. }
  97.  
  98. define contactgroup{
  99. contactgroup_name Peripheriques
  100. alias Gestionnaire-Peripheriques
  101. members nagiosadmin,Julien
  102. }
Add Comment
Please, Sign In to add comment