Discussion:
Using CSS/HTML in Email Alerts - Zenoss adding '!' breaks CSS.
Roberto Ferreira
2012-03-29 16:47:14 UTC
Permalink
Roberto Ferreira [http://community.zenoss.org/people/robeferre] created the discussion

"Re: Using CSS/HTML in Email Alerts"

To view the discussion, visit: http://community.zenoss.org/message/65627#65627

--------------------------------------------------------------
Man... IÂŽm trying this code...
<html>
<head>
</head>
<body>
<table width="100%" border="0"><tr><td width="80%" style="BACKGROUND:#C60139" class="msg-subtitle"><span style="color:white">Centro Estrela Brazil</span></td><td width="20%" style="BACKGROUND:#C60139" align="center"><span style="color:white">ENGINEERING</span></td></tr></table>
<table width="100%" border="0">
<tr><td width="20%">Publico Alvo</td><td width="80%">Time Centro Estrela Brasil</td></tr>
<tr style="BACKGROUND:#efefef"><td>Device</td><td>%(device)s</td></tr>
<tr><td>Component</td><td>%(component)s</td></tr>
<tr style="BACKGROUND:#efefef">    <td>Severity:</td><td>%(severityString)s</td></tr>
<tr><td>Time:</td><td >%(firstTime)s</td></tr>
<tr style="BACKGROUND:#efefef"><td >Message:</td><td>%(message)s</td></tr>
<tr><td><BR></td><td></td></tr>
<tr><td><a href="%(eventUrl)s">Event Detail</a></td></td>
<tr><td><a href="%(ackUrl)s">Acknowledge</a></td></td>
<tr><td><a href="%(deleteUrl)s">Delete</a></td></td>
<tr><td><a href="%(eventsUrl)s">Device Events</a></td></tr>
</table>
<p>--<BR>Centro Estrela Brasil<BR>Mensagem automatica, nao responder</p>
</body></html>
Error formatting event body: unsupported format character '"' (0x22) at index 47
ANy idea??

Cheers
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65627#65627]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
nxumdon
2012-03-29 17:15:24 UTC
Permalink
nxumdon [http://community.zenoss.org/people/nxumdon] created the discussion

"Re: Using CSS/HTML in Email Alerts - Zenoss adding '!' breaks CSS."

To view the discussion, visit: http://community.zenoss.org/message/65628#65628

--------------------------------------------------------------
Sorry, what?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65628#65628]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Roberto Ferreira
2012-03-30 12:24:46 UTC
Permalink
Roberto Ferreira [http://community.zenoss.org/people/robeferre] created the discussion

"Re: Using CSS/HTML in Email Alerts - Zenoss adding '!' breaks CSS."

To view the discussion, visit: http://community.zenoss.org/message/65638#65638

--------------------------------------------------------------
Error formatting event body: unsupported format character '"' (0x22) at index 47
<td width="80&#37;" style="BACKGROUND:#C60139">   -> Work like a charm!
     After change those values, my mail alerts look terrific...

     Thanks... 
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65638#65638]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
nxumdon
2012-03-30 12:25:50 UTC
Permalink
nxumdon [http://community.zenoss.org/people/nxumdon] created the discussion

"Re: Using CSS/HTML in Email Alerts - Zenoss adding '!' breaks CSS."

To view the discussion, visit: http://community.zenoss.org/message/65651#65651

--------------------------------------------------------------
Oh, not sure why you are emailing me is all
lol
sorry can’t really help.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65651#65651]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
nxumdon
2012-03-30 12:26:57 UTC
Permalink
nxumdon [http://community.zenoss.org/people/nxumdon] created the discussion

"Re: Using CSS/HTML in Email Alerts - Zenoss adding '!' breaks CSS."

To view the discussion, visit: http://community.zenoss.org/message/65652#65652

--------------------------------------------------------------
Oh man, you’re digging up a post from 2008! Hahaha, sorry, we’ve long since re-rolled our zenoss and alerting modules.  Best of luck with this.

Cheers
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65652#65652]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Shane Scott
2012-03-31 00:33:00 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Using CSS/HTML in Email Alerts"

To view the discussion, visit: http://community.zenoss.org/message/65660#65660

--------------------------------------------------------------
Roberto:

Part of the issue is that zenactions has to parse the summary and put in the related event data. I researched this in the past, but I can't find my notes on it. I do recall that a number of symbolic characters will cause issues.

--Shane
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65660#65660]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...