jcurry
2013-04-15 15:18:43 UTC
jcurry [http://community.zenoss.org/people/jcurry] created the discussion
"JSON example to modify the summary of an event?"
To view the discussion, visit: http://community.zenoss.org/message/72850#72850
--------------------------------------------------------------
Does anyone have a sample they are prepared to share that uses the JSON API to modify the summary of an event?Â
I have samples to select events (see the event management paper - http://www.skills-1st.co.uk/papers/jane/zenoss4-events/ http://www.skills-1st.co.uk/papers/jane/zenoss4-events/ ).Â
Ryan has an excellent example for manipulating events with the primitives to Ack / Close events ( http://wiki.zenoss.org/ZenDMD_Tip_-_Manipulate_Events http://wiki.zenoss.org/ZenDMD_Tip_-_Manipulate_Events ) but I want to be able to modify any field of an event. I want to do this from a command notification.
If anyone wants to tell me that this is a really bad idea then please go ahead (provided you say why) :)
Cheers,
Jane
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/72850#72850]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"JSON example to modify the summary of an event?"
To view the discussion, visit: http://community.zenoss.org/message/72850#72850
--------------------------------------------------------------
Does anyone have a sample they are prepared to share that uses the JSON API to modify the summary of an event?Â
I have samples to select events (see the event management paper - http://www.skills-1st.co.uk/papers/jane/zenoss4-events/ http://www.skills-1st.co.uk/papers/jane/zenoss4-events/ ).Â
Ryan has an excellent example for manipulating events with the primitives to Ack / Close events ( http://wiki.zenoss.org/ZenDMD_Tip_-_Manipulate_Events http://wiki.zenoss.org/ZenDMD_Tip_-_Manipulate_Events ) but I want to be able to modify any field of an event. I want to do this from a command notification.
If anyone wants to tell me that this is a really bad idea then please go ahead (provided you say why) :)
Cheers,
Jane
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/72850#72850]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]