thomas
2013-09-09 11:22:10 UTC
thomas [http://community.zenoss.org/people/thomas] created the discussion
"HTML notifications not really html"
To view the discussion, visit: http://community.zenoss.org/message/74586#74586
--------------------------------------------------------------
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
Anybody knows what may be the problem?
Regards
Thomas
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74586#74586]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"HTML notifications not really html"
To view the discussion, visit: http://community.zenoss.org/message/74586#74586
--------------------------------------------------------------
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
Device: ${evt/device}
Component: ${evt/component}
Severity: ${evt/severityString}
Time: ${evt/lastTime}
${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>
--===============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
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 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 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 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 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 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 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 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 http://my.zenoss.host:8080/zport/dmd/Devices/Server/Linux/devices/Alerthostname/devicedetail#deviceDetailNav:device_events<br />
This formatting isn't really displayed nicely...Component: ${evt/component}
Severity: ${evt/severityString}
Time: ${evt/lastTime}
${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>
--===============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
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 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 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 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 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 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 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 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 http://my.zenoss.host:8080/zport/dmd/Devices/Server/Linux/devices/Alerthostname/devicedetail#deviceDetailNav:device_events<br />
Anybody knows what may be the problem?
Regards
Thomas
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74586#74586]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]