Quantcast
Channel: Zenoss Community : All Content - All Communities
Viewing all articles
Browse latest Browse all 853

HTML notifications not really html

$
0
0

Hi

 

I have a zenoss 4.2.4 install which I'm preparing for production use, however when I enable HTML notifications, the mails I receive doesn't contain the formatting that has been setup in  Event -> triggers

 

For instance I have this message defined:

 

Device: ${evt/device}

Component: ${evt/component}

Severity: ${evt/severityString}

Time: ${evt/lastTime}

Message:

${evt/message}

<a href="${urls/eventUrl}">Event Detail</a>

<a href="${urls/ackUrl}">Acknowledge</a>

<a href="${urls/closeUrl}">Close</a>

<a href="${urls/eventsUrl}">Device Events</a>

 

 

But when I receive a notification email, it doesn't contain this formatting, this is the "raw" mail body:

 

 

--===============1826512158553474856==

Content-Type: multipart/alternative;

boundary="===============2737890482476227527=="

MIME-Version: 1.0

 

--===============2737890482476227527==

MIME-Version: 1.0

Content-Type: text/plain; charset="us-ascii"

Content-Transfer-Encoding: 7bit

 

Device: Alerthostname

Component: Website

Severity: Warning

Time: 2013/09/09 13:08:34.000

Message:

HTTP WARNING: HTTP/1.0 404 File not found - 344 bytes in 0.003 second response time

Event Detail: http://my.zenoss.host:8080/zport/dmd/Events/viewDetail?evid=005056b9-0997-8159-11e3-19402b0bed45

Acknowledge: http://my.zenoss.host:8080/zport/dmd/Events/manage_ackEvents?evids=005056b9-0997-8159-11e3-19402b0bed45&zenScreenName=viewEvents

Close: http://my.zenoss.host:8080/zport/dmd/Events/manage_deleteEvents?evids=005056b9-0997-8159-11e3-19402b0bed45&zenScreenName=viewHistoryEvents

Device Events: http://my.zenoss.host:8080/zport/dmd/Devices/Server/Linux/devices/Alerthostname/devicedetail#deviceDetailNav:device_events

 

--===============2737890482476227527==

Content-Transfer-Encoding: 7bit

MIME-Version: 1.0

Content-Type: text/html; charset="us-ascii"

 

<br />

Device: Alerthostname<br />

Component: Website<br />

Severity: Warning<br />

Time: 2013/09/09 13:08:34.000<br />

Message:<br />

HTTP WARNING: HTTP/1.0 404 File not found - 344 bytes in 0.003 second response time <br />

Event Detail: http://my.zenoss.host:8080/zport/dmd/Events/viewDetail?evid=005056b9-0997-8159-11e3-19402b0bed45<br />

Acknowledge: http://my.zenoss.host:8080/zport/dmd/Events/manage_ackEvents?evids=005056b9-0997-8159-11e3-19402b0bed45&zenScreenName=viewEvents<br />

Close: http://my.zenoss.host:8080/zport/dmd/Events/manage_deleteEvents?evids=005056b9-0997-8159-11e3-19402b0bed45&zenScreenName=viewHistoryEvents<br />

Device Events: http://my.zenoss.host:8080/zport/dmd/Devices/Server/Linux/devices/Alerthostname/devicedetail#deviceDetailNav:device_events<br />

 

This formatting isn't really displayed nicely...

 

Anybody knows what may be the problem?

 

Regards

Thomas


Viewing all articles
Browse latest Browse all 853

Trending Articles