HTML e-mail plugin
David Rosenstrauch
darose at darose.net
Fri Aug 14 16:50:06 CEST 2009
On 08/13/2009 06:40 PM, Marc Powell wrote:
>> We have a need to embed HTML links into Nagios service alert messages,
>> and it looks like this plugin might handle that.
>
>
> Just to take a different tack... How are they special in that you
> can't just include them in the default notifications? If you have a
> modern mail client that is able to display HTML mail, it should
> properly interpret links in text/plain messages as well. Just bringing
> it up as it may be simpler.
>
> --
> Marc
Because Nagios is stripping HTML characters out of the $SERVICEOUTPUT$
macro for security reasons (and rightly so, since the
notify-service-by-email command is directly echoing its contents to a
command line string). This is resulting in the HTML link that we've
embedded in the $SERVICEOUTPUT$ from a custom plugin getting broken in
our email alerts.
I figured that by replacing the command line string with a call to the
(slightly customized) HTML e-mail plugin I might be able to get the HTML
links working again.
DR
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
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
More information about the Users
mailing list