Subject: |
RE: Help with event transform |
Author: |
anon anon |
Posted: |
2018-09-14 13:52 |
Hey, I got this working via the below transform
for detail in evt.details._map.keys():
if detail.startswith('clogHistFacility'):
HistFacility = getattr(evt, detail)
if detail.startswith('clogHistMsgText'):
HistMsgText = getattr(evt, detail)
if HistFacility=="LINK":
evt.summary = "Interface state change-" + HistMsgText
------------------------------
anon anon
anon
TX
------------------------------
Subject: |
RE: Help with event transform |
Author: |
Jane Curry |
Posted: |
2018-09-14 14:26 |
Excellent! Sorry - saw your append this morning and then it got manic :(
You might pull the Event Management paper that I wrote if you are looking for more examples in the future -
https://www.skills-1st.co.uk/papers/jane/zenoss4-events/ .
Cheers,
Jane
------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------