[hobbit] Hobbit Emails
Alan Sparks
asparks at doublesparks.net
Fri Jul 17 21:18:22 CEST 2009
DKDeckert at Hormel.com 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
More information about the Xymon
mailing list