I recently upgraded my Ubuntu OS (8.04 10.04) and Nagios from 3.0 to 3.1.2,
and recently I ran into an issue where the data for $SERVICEOUTPUT$ is never
included in my email notification.
It is defined properly in the notification.cfg file as per below:
define command{
command_name
disregard my eyes are working again
On Tue, 24 Aug 2010 09:57:56 -0700, Mirza Dedic mi...@oppy.com wrote:
I recently upgraded my Ubuntu OS (8.04 10.04) and Nagios from 3.0 to
3.1.2, and recently I ran into an issue where the data for
$SERVICEOUTPUT$ is never included in my email
might it be the double $$ ?
Additional Info:nn$SERVICEOUTPUT$
On Tue, 24 Aug 2010 09:57:56 -0700, Mirza Dedic mi...@oppy.com wrote:
I recently upgraded my Ubuntu OS (8.04 10.04) and Nagios from 3.0 to
3.1.2, and recently I ran into an issue where the data for
$SERVICEOUTPUT$ is never
Try Replacing:
Info:\n\n$SERVICEOUTPUT$
To:
*Info:\n\n $SERVICEOUTPUT$*
Notice the space between \n
Regards,
Justin Dorfman
Mahalo.com Inc. Jr. Systems Engineer
@jdorfman http://www.twitter.com/jdorfman |
@MahaloSysopshttp://twitter.com/MahaloSysops| Blog:
http://bit.ly/aNiWSk
On Tue,
On Aug 24, 2010, at 3:40 PM, Mirza Dedic wrote:
The strange thing is..
I replaced “/usr/bin/printf %b * Nagios *\”
With “/bin/echo –e Nagios *” and now my alerts include the missing
$SERVICEOUTPUT$ information that was not there previously.
I wonder why printf was