Discussion:
Testing transform in 4.x
Paul Gienger
2012-02-08 16:32:25 UTC
Permalink
Paul Gienger [http://community.zenoss.org/people/pgienger] created the discussion

"Testing transform in 4.x"

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

--------------------------------------------------------------
Does anyone know if there is a method to test a transform in 4,x zendmd like you could in previous versions?  I was using this thread:

http://community.zenoss.org/message/22794#22794 http://community.zenoss.org/message/22794


specifically the part about grabbing the event from the history:

evt = dmd.ZenEventManager.getEventDetailFromStatusOrHistory("YOUR_EVID_HERE")

The problem is that the function getEventDetailFromStatusOrHistory isn't available any more.  Does anyone know if there is an equivilent function or method to grab an event object?
--------------------------------------------------------------

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

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]
jplouis
2012-02-08 22:16:39 UTC
Permalink
jplouis [http://community.zenoss.org/people/jplouis] created the discussion

"Re: Testing transform in 4.x"

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

--------------------------------------------------------------
zep = getFacade('zep')
zep.getEventSummary('0050568a-24b3-a80e-11e1-51dbfaa8328e')
--------------------------------------------------------------

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

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-02-08 22:45:21 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Testing transform in 4.x"

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

--------------------------------------------------------------
Paul:

In v4 you're better off going to the event console and adding a new event that meets the criteria for a real event to trigger the transform.

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

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

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...