Xymon Mailing List Archive search

Xymon Email alert format.

list Jasbir Saharan
Fri, 12 Jun 2015 16:05:00 -0700
Message-Id: <user-4c841d1d08da@xymon.invalid>

Thanks JC for your reply,
I had a look at the Format parameter but not sure if it accepts
"Format=html" or not.  It just says TEXT or PLAIN... I need a html format so
table is shown in the email... 

Thanks & Regards
Jasbir Saharan
-----Original Message-----
From: J.C. Cleaver [mailto:user-87556346d4af@xymon.invalid] 
Sent: Friday, June 12, 2015 4:02 PM
To: Jasbir Saharan
Cc: xymon at xymon.com
Subject: Re: [Xymon] Xymon Email alert format.

Jasbir,

I think what you'll want to take a look at is the "FORMAT=" option on
recipient lines in the alerts.cfg file.

From https://xymon.com/help/manpages/man5/alerts.cfg.5.html


FORMAT=formatstring Format of the text message with the alert. Default is
"TEXT" (suitable for e-mail alerts). "PLAIN" is the same as text, but
without the URL link to the status webpage. "SMS" is a short message with no
subject for SMS alerts. "SCRIPT" is a brief message template for scripts.


HTH,

-jc


On Fri, June 12, 2015 3:50 pm, Jasbir Saharan wrote:
Hi,

Can someone help here please. There must be small thing that I might 
be missing.


Thanks

Jasbir Saharan


From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Jasbir 
Saharan
Sent: Thursday, June 11, 2015 2:02 PM
To: xymon at xymon.com
Subject: [Xymon] Xymon Email alert format.


Hi,

I am getting email alerts from xymon and I think it is using the 
default "TEXT" format. Is there any way to change this.  Anyone having 
a quick pointer.


This is how I receive the email. :(


&red Interface pether2 is down


Alarming on (lo,pether3,pether4,ether1,pether2,ether2)

<table border=1 cellpadding=5>

<tr><td>Ifc name</td><td>Ifc speed</td><td>Ifc status</td></tr>

<tr><td>lo</td><td>10.00 Mbps</td><td>&green up</td></tr>

<tr><td>pether3</td><td>4.29 Gbps</td><td>&green up</td></tr>

<tr><td>pether4</td><td>4.29 Gbps</td><td>&green up</td></tr>

<tr><td>ether1</td><td>1000.00 Mbps</td><td>&green up</td></tr>

<tr><td>pether2</td><td>0.00 bps</td><td>&red down</td></tr>

<tr><td>ether2</td><td>0.00 bps</td><td>&green admin down</td></tr> 
</table>


Thanks & Regards

Jasbir Saharan