Author: glen
Date: Mon Aug  3 18:06:42 2009
New Revision: 10442

Modified:
   nagios-config/trunk/commands.cfg
Log:
- nagios-notify package promote

Modified: nagios-config/trunk/commands.cfg
==============================================================================
--- nagios-config/trunk/commands.cfg    (original)
+++ nagios-config/trunk/commands.cfg    Mon Aug  3 18:06:42 2009
@@ -31,23 +31,8 @@
 #
 # NOTIFICATION COMMANDS
 #
-# These are some example notification commands.  They may or may not work on
-# your system without modification.  As an example, some systems will require 
-# you to use "/usr/bin/mailx" instead of "/usr/bin/mail" in the commands below.
-#
-################################################################################
-
-# 'notify-host-by-email' command definition
-define command {
-       command_name    notify-host-by-email
-       command_line    /usr/bin/printf "%b" "***** Nagios 
*****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: 
$HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: 
$LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ 
is $HOSTSTATE$ **" $CONTACTEMAIL$
-}
-
-# 'notify-service-by-email' command definition
-define command {
-       command_name    notify-service-by-email
-       command_line    /usr/bin/printf "%b" "***** Nagios 
*****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: 
$HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: 
$LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "** 
$NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ 
**" $CONTACTEMAIL$
-}
+# In PLD Linux we use "nagios-notify" package for notification templates.
+# See /etc/nagios/plugins/nagios-notify.cfg.
 
 
################################################################################
 #
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to