[hobbit] Emails & HTML Code

Henrik Stoerner henrik at hswn.dk
Fri Dec 8 23:02:54 CET 2006


On Wed, Dec 06, 2006 at 11:43:20AM -0600, James Wade wrote:
> I have the message files being emailed to folks on alerts.
> 
> The problem is that it has the html code in it (See below)
> 
> Full log <a href="/hobbit-cgi/bb-hostsvc.sh?CLIENT=iau070&SECTION=msgs:/
> /hobbit/client/tmp/biglog.out">/hobbit /client/tmp/biglog.out</a>
> 
> /logs/server1/SystemOut.log:[11/28/06 22:47:36:101 GMT] 00000054 SystemOut
> O J2CA00E TEST FOR BIG BROTHER ALERT

Hmm, yes - this is unfortunate.

> Is there a way to clean this up for better email alerting?

Not something easy. You could use a script to do the alerting, and have
it build your own alert messages where you filter out the HTML code.
That's the only way I can think of right now.


Regards,
Henrik




More information about the Xymon mailing list