Author: glen
Date: Mon Nov  3 23:45:26 2008
New Revision: 9937

Removed:
   nagios-config/trunk/objects/contacts.cfg
Modified:
   nagios-config/trunk/contactgroups.cfg
   nagios-config/trunk/contacts.cfg
Log:
- old style contacts.cfg / contactgroups.cfg

Modified: nagios-config/trunk/contactgroups.cfg
==============================================================================
--- nagios-config/trunk/contactgroups.cfg       (original)
+++ nagios-config/trunk/contactgroups.cfg       Mon Nov  3 23:45:26 2008
@@ -1,6 +1,6 @@
 
################################################################################
 # Object config file for Nagios
-# $Id: $
+# $Id$
 #
 
################################################################################
 
@@ -11,10 +11,11 @@
 
 # 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                 nagios-admin
+       contactgroup_name   admins
+       alias               Nagios Administrators
+       members             nagios-admin
 }
 
-# vim:ts=8:sw=8:syn=nagios
+# vim:ts=4:sw=4:ft=nagios

Modified: nagios-config/trunk/contacts.cfg
==============================================================================
--- nagios-config/trunk/contacts.cfg    (original)
+++ nagios-config/trunk/contacts.cfg    Mon Nov  3 23:45:26 2008
@@ -9,22 +9,20 @@
 #
 
################################################################################
 
-# In this simple config file, a single contact will receive all alerts.
-define contact {
-       contact_name                    nagios-admin
-       alias                           Nagios Admin
-
-       service_notification_period     24x7
-       host_notification_period        24x7
+# 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.
 
-        service_notification_options    w,u,c,r
-        host_notification_options       d,r
-
-        service_notification_commands   notify-by-email
-        host_notification_commands      host-notify-by-email
+define contact {
+       ; Short name of user
+       contact_name    nagios-admin
+       ; Inherit default values from generic-contact template (defined in 
templates.cfg)
+       use             generic-contact
+       ; Full name of user
+       alias           Nagios Admin
 
-       email                           [EMAIL PROTECTED]
-       pager                           [EMAIL PROTECTED]
+       ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ******
+       email           [EMAIL PROTECTED]
 }
 
-# vim:ts=8:sw=8:ft=nagios
+# vim:ts=4:sw=4:ft=nagios
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to