Xymon Mailing List Archive search

Customising message subject in email alerts

list Andy Smith
Thu, 18 Oct 2012 09:34:10 +0100
Message-Id: <CAFz9LfsWV_Ffi+=user-5e6f3b784aac@xymon.invalid>

Hi,

This has been talked about a few times before and I am aware that we have
the SCRIPT mechanism available for this purpose.  However, what I really
need to be able to do is annotate the subject line with the page where the
object is located.  The environment variables do not currently provide this
information and I have been playing a little with findhost.cgi to see if it
can be used within a script to extract the page.  This has not been
successful and anyway is flawed because the object may appear on multiple
pages.  I have even experimented with fetching hosts.cfg and parsing the
pages which kindof works, but there must surely be a better way?  Anyone
had similar problems or got any other suggestions?
Thanks
-- 
Andy