Additional Info in email notification

Toto Capuccino shoktai at gmail.com
Fri Feb 10 17:41:01 CET 2006


no i mean i never say you did say it didnt

oh  nevermind

2006/2/10, Toto Capuccino <shoktai at gmail.com>:
>
> i never say you didnt
>
> 2006/2/10, Deborah Martin <Deborah.Martin at kognitio.com>:
> >
> > i never said it didn't!
> >
> > -----Original Message-----
> > *From:* Toto Capuccino [mailto:shoktai at gmail.com]
> > *Sent:* 10 February 2006 15:09
> > *To:* Deborah Martin
> > *Cc:* lkk at interfree.it; nagios-users at lists.sourceforge.net
> > *Subject:* Re: [Nagios-users] Additional Info in email notification
> >
> > $OUTPUT$ works for nagios 1.3 actually.
> >
> > 2006/2/10, Deborah Martin <Deborah.Martin at kognitio.com>:
> > >
> > > try the following : essentially instead of using $OUTPUT$, replace
> > > with
> > > $SERVICEOUTPUT$
> > > This works fine for me.
> > >
> > >
> > > 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$
> > >         }
> > >
> > >
> > > regards,
> > > deborah
> > > -----Original Message-----
> > > From: lkk at interfree.it [mailto: lkk at interfree.it]
> > > Sent: 10 February 2006 14:43
> > > To: nagios-users at lists.sourceforge.net
> > > Subject: [Nagios-users] Additional Info in email notification
> > >
> > >
> > >
> > > I have already tried this but I don't to receive Additional Info.
> > >
> > > What can I do now?
> > >
> > > Ths
> > >
> > > >Hi,
> > > >try to put something like this in your miscommands.cfg file that
> > > should
> > > >contact the email notification command :
> > > >define command{
> > > >        command_name    host-notify-by-email
> > > >        command_line    /usr/bin/printf "%b" "***** Nagios
> > > >*****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost:
> > > $HOSTNAME$\nState:
> > > >$HOSTSTATE$\nAddress: $HOSTADDRESS$\nAdditional Info:
> > > $OUTPUT$\n\nDate/Time:
> > > >$DATETIME$\n" | /usr/bin/sendmail "Host $HOSTSTATE$ alert for
> > > $HOSTNAME$!"
> > > >$CONTACTEMAIL$
> > > >        }
> > > >
> > > >10 Feb 2006 10:44:26 -0000, lkk at interfree.it < lkk at interfree.it>: >
> > >
> > >
> > > ------------------------------------------------------------
> > > Sei stanco di girare a vuoto?
> > > Con il nuovo motore di ricerca Interfree trovi di tutto.
> > > Vieni a trovarci: http://search.interfree.it/
> > >
> > > Lo Staff di Interfree
> > > ------------------------------------------------------------
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> > > files
> > > for problems?  Stop!  Download the new AJAX search engine that makes
> > > searching your log files as easy as surfing the  web.  DOWNLOAD
> > > SPLUNK!
> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> > >
> > > _______________________________________________
> > > Nagios-users mailing list
> > > Nagios-users at lists.sourceforge.net
> > > 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
> > >
> > >
> > >
> > > ************************************************************************
> > > This email and any files transmitted with it are confidential and
> > > intended solely for the use of the individual or entity to whom they
> > > are addressed. Any unauthorised distribution or copying is strictly
> > > prohibited.
> > >
> > > Whilst Kognitio Limited takes steps to prevent the transmission of
> > > viruses via e-mail, we can not guarantee that any email or
> > > attachment is free from computer viruses and you are strongly
> > > advised to undertake your own anti-virus precautions.
> > >
> > > Kognitio grants no warranties regarding performance,
> > > use or quality of any e-mail or attachment and undertakes no
> > > liability for loss or damage, howsoever caused.
> > >
> > > ***********************************************************************
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> > > files
> > > for problems?  Stop!  Download the new AJAX search engine that makes
> > > searching your log files as easy as surfing the  web.  DOWNLOAD
> > > SPLUNK!
> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> > >
> > > _______________________________________________
> > > Nagios-users mailing list
> > > Nagios-users at lists.sourceforge.net
> > > 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
> > >
> >
> >
> >
> > --
> > Le bon sens est la chose du monde la mieux partagée.
> >
> >
>
>
> --
> Le bon sens est la chose du monde la mieux partagée.
>



--
Le bon sens est la chose du monde la mieux partagée.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060210/12d85550/attachment.html>


More information about the Users mailing list