Discussion:
TALES expressions on alerts notification not working
rbasukala
2013-04-22 17:52:29 UTC
Permalink
rbasukala [http://community.zenoss.org/people/rbasukala] created the discussion

"TALES expressions on alerts notification not working"

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

--------------------------------------------------------------
Version: 4.2.3

I am trying to use TALES exprssion on my notification, but it is not working, I copied the exact same thing from documentaion but still failed to send an alert:

<tal:block tal:repeat="item esa/causes">
Impact Chain: ${item/impactChain}
Device: ${item/evt/device}
Component: ${item/evt/component}
Severity: ${item/evt/severity}
Time: ${item/evt/lastTime}
Message:
${item/evt/message}
<a tal:attributes="href item/urls/eventUrl">Event Detail</a>
<a tal:attributes="href item/urls/ackUrl">Acknowledge</a>
<a tal:attributes="href item/urls/closeUrl">Close</a>
<a tal:attributes="href item/urls/eventsUrl">Device Events</a>
</tal:block>

Error log at zenactiond shows:

ERROR zen.actions: EOF in middle of construct, at line 9, column 1
--------------------------------------------------------------

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

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