[Xymon] HTML Format removal form email

Stef Coene stef.coene at docum.org
Mon May 21 08:27:34 CEST 2012


On Friday 18 May 2012 11:01:02 ian norfolk wrote:
> All,  I have formated the messages from my devmon tests as html tables,
> which looks very nice on the Xymon web pages, but not so good when emailed
> out in alerts. Is there any trick to getting the html tags replaced for
> tabs and cr so it looks ok on email? I guess a bit of a script with some
> regex transforms would do it.
We use the command links for that.  Save the content in /tmp/TEMP1 and use 
links to convert from html to tekst:

links -dump /tmp/TEMP1 > /tmp/TEMP2


Stef



More information about the Xymon mailing list