Xymon Mailing List Archive search

Hobbit Emails

list Alan Sparks
Fri, 17 Jul 2009 13:18:22 -0600
Message-Id: <user-8fca4154305c@xymon.invalid>

user-7cb470a0e94e@xymon.invalid wrote:
Hello EVERYONE


Hey i was poking around the mailing list and i couldn't find a feasible
solution to editing the emails....i understand you can change some things
with the hobbit-alerts and how its plaintext,sms, ect...ect

What i am looking for is a little different.

  
What you probably really need to do is use the SCRIPT type alerts.  Look
at the documentation for the environment variables available to an
executing alert script, and you can compose and send the email yourself
with whatever format you want.  You can consider taking the body message
provided in one of the environment variables and, your choice, ignoring
it, or using some custom awk/sed/Perl mangling to pull out only the
parts you want (or at least stripping HTML).
-Alan