ignacio freyre
2013-09-23 20:50:40 UTC
ignacio freyre [http://community.zenoss.org/people/nachofw] created the discussion
"transform bases on device class"
To view the discussion, visit: http://community.zenoss.org/message/74737#74737
--------------------------------------------------------------
hi, need some help with a transform that is not working.
I want to drop events bases on device class, if device class starts with '/Network/Remote_site_A' or '/Network/Events' i want the event dropped.
What i got:
if evt.DeviceClass.startswith('/Network/Remote_site_A')
or evt.DeviceClass.startswith('/Network/Events')
evt._action = 'drop'
zenoss 4.2.4 is marking the transform box in red.
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74737#74737]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"transform bases on device class"
To view the discussion, visit: http://community.zenoss.org/message/74737#74737
--------------------------------------------------------------
hi, need some help with a transform that is not working.
I want to drop events bases on device class, if device class starts with '/Network/Remote_site_A' or '/Network/Events' i want the event dropped.
What i got:
if evt.DeviceClass.startswith('/Network/Remote_site_A')
or evt.DeviceClass.startswith('/Network/Events')
evt._action = 'drop'
zenoss 4.2.4 is marking the transform box in red.
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74737#74737]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]