[Xymon] Xymon Email alert format.
J.C. Cleaver
cleaver at terabithia.org
Sat Jun 13 01:13:43 CEST 2015
Xymon doesn't directly have a "full" mime-enabled HTML format (although it
would be a nice addition) that would more guarantee that a table in the
status comes out as intended. (Some mail clients will try to interpret any
HTML they see, which can result in a usable hybrid look, however.)
A number of folks have written various HTML-ish alerts usable via the
SCRIPT option instead of having xymon itself do the mailing.
Try having a look at: https://wiki.xymonton.org/doku.php/alerts
Regards,
-jc
On Fri, June 12, 2015 4:05 pm, Jasbir Saharan wrote:
> 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:cleaver at terabithia.org]
> 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
>>
>> _______________________________________________
>> Xymon mailing list
>> Xymon at xymon.com
>> http://lists.xymon.com/mailman/listinfo/xymon
>>
>
>
>
More information about the Xymon
mailing list