<HTML>
<HEAD>
<TITLE>Re: [Nagios-users] Nagios v3 & email being sent to $</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Other than changing the “***** Nagios ***** to ***** Nagios 1 ***** I haven’t made any changes to the notifications, in fact, I copied and pasted it out of the samples to make sure.<BR>
<BR>
Thanks!!!<BR>
<BR>
<BR>
# 'notify-host-by-email' command definition<BR>
define command{<BR>
        command_name    notify-host-by-email<BR>
        command_line    /usr/bin/printf "%b" "***** Nagios 1 *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$<BR>
        }<BR>
<BR>
# 'notify-service-by-email' command definition<BR>
define command{<BR>
        command_name    notify-service-by-email<BR>
        command_line    /usr/bin/printf "%b" "***** Nagios 1 *****\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$<BR>
        }<BR>
<BR>
<BR>
<BR>
<BR>
On 6/13/08 1:03 PM, "Chris Waters" <<a href="CWaters@jeld-wen.com">CWaters@jeld-wen.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><SPAN STYLE='font-size:11pt'><FONT COLOR="#0000FF"><FONT FACE="Arial">Looks like an improperly defined macro somewhere in your notification definition.  Can you display your notification command?<BR>
</FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"> <BR>
</FONT><FONT FACE="Arial">Chris Waters<BR>
Technology Services - Network Group<BR>
JELD-WEN, Inc.<BR>
Information Systems<BR>
<a href="cwaters@jeld-wen.com">cwaters@jeld-wen.com</a><BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"> <BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="100%"></FONT><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><B>From:</B> <a href="nagios-users-bounces@lists.sourceforge.net">nagios-users-bounces@lists.sourceforge.net</a> [<a href="mailto:nagios-users-bounces@lists.sourceforge.net">mailto:nagios-users-bounces@lists.sourceforge.net</a>] <B>On Behalf Of </B>ROBERT SMALL<BR>
<B>Sent:</B> Friday, June 13, 2008 10:44 AM<BR>
<B>To:</B> Nagios Users Mailinglist<BR>
<B>Subject:</B> [Nagios-users] Nagios v3 & email being sent to $<BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><BR>
I have lots of messages in my nagios installation being sent to $.<BR>
<BR>
I have searched my contacts and other configs and cannot find it.  We all get email and notifications but there are the occasional $ emails and I found ‘em stuck in /var/spool/nagios/dead.letter (freebsd).<BR>
<BR>
Does anyone have any ideas?<BR>
<BR>
Robert <BR>
</FONT></SPAN></BLOCKQUOTE>
</BODY>
</HTML>