Hi, I have the same problem. Just the %SERVICEOUTPUT$ and "LONGSERVICEOUTPUT$ are missing from notification emails. I am checking what can be the problem.
<quota chi="Peter Kranz"> > Hi Matt, > We receive the emails ok, just missing the $SERVICEOUTPUTS$ part.. > > -Peter > > > -----Original Message----- > From: Matt Simmons [mailto:[email protected]] > Sent: Tuesday, April 20, 2010 7:46 AM > To: Nagios Users List > Subject: Re: [Nagios-users] $SERVICEOUTPUT$ missing from emails.. Nagios > 3.2.1 > > Have you verified that your MTA is operating correctly? Try sending mail > from the command line (echo "test 1" | mail -s "test 1" > [email protected]) and see if that goes through, before you suspect > Nagios. > > --Matt > > > On Tue, Apr 20, 2010 at 7:34 AM, Marc Powell <[email protected]> wrote: >> >> On Apr 19, 2010, at 10:34 PM, Peter Kranz wrote: >> >>> It's the default that comes with the .tar: >>> >>> # 'notify-by-email' command definition define command{ >>> command_name notify-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$ >>> alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" >>> $CONTACTEMAIL$ >>> } >> >> Make sure the contact is using 'notify-by-email' as their service >> notification command. There have been no reports of this as a bug so I'd >> greatly lean toward it being a configuration issue. >> >> -- >> Marc >> >> >> ---------------------------------------------------------------------- >> -------- Download Intel® Parallel Studio Eval Try the new >> software tools for yourself. Speed compiling, find bugs proactively, >> and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > -- > LITTLE GIRL: But which cookie will you eat FIRST? > COOKIE MONSTER: Me think you have misconception of cookie-eating process. > > COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the NJ-PICC > Sysadmin Conference! http://www.picconf.org > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval Try the new software tools for > yourself. Speed compiling, find bugs proactively, and fine-tune > applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
