From 0080ce7b6cdd6b3aabad753759f66d0d1e6ed58a Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Sun, 26 Aug 2012 17:02:14 -0400 Subject: [PATCH] Upstream updates (Lucid->Precise upgrade) --- commands.cfg | 2 +- nagios.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands.cfg b/commands.cfg index 4698058..6b23217 100644 --- a/commands.cfg +++ b/commands.cfg @@ -17,7 +17,7 @@ define command{ # '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$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ + 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$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } diff --git a/nagios.cfg b/nagios.cfg index 4932457..0abfe8f 100644 --- a/nagios.cfg +++ b/nagios.cfg @@ -641,7 +641,7 @@ retain_state_information=1 # service state information before it shuts down. The state # information in this file is also read immediately prior to # starting to monitor the network when Nagios is restarted. -# This file is used only if the preserve_state_information +# This file is used only if the retain_state_information # variable is set to 1. state_retention_file=/var/lib/nagios3/retention.dat -- 2.34.1