[Nagiosplug-help] notify-by-email: empty "Date/Time" and "Additional Info"

Andre Loss Andre.Loss at web.de
Sat May 27 16:20:03 CEST 2006


Hi List,

email-notification from my nagios-system is working, but "Date/Time" and 
"Additional Info" are empty. See below:

-----------------------------------

***** Nagios  *****

Notification Type: PROBLEM

Service: local load plansig2
Host: PlanSig DD Server
Address: 127.0.0.1
State: UNKNOWN

Date/Time: $

Additional Info:

$---
Sent using Email 2.2.2
http://email.cleancode.org

Sent on: Thu, 18 May 2006 15:17:30 +0200
On System: Linux 2.4.21-297-default i686

----------------------------------------

Here the lines from misccommands.cfg:

-----------------------------------------------------------------
notify-by-email 	

/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: 
$NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: 
$HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: 
$DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/local/bin/email -s 
"** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is 
$SERVICESTATE$ **" $CONTACTEMAIL$

------------------------------------------------------------------


Can anybody help? Thanks a lot.

André


-- 

Andre.Loss at web.de




More information about the Help mailing list