Hi, I want to use Transform on eventClass and diferent actions by group 
membership 

example

Code:

if evt.DeviceGroups == '|/Laptops':
    evt.severity = 3




Problem is that if i bind more Groups on device string don't match

i found example with operator startswith

Code:

if evt.summary.startswith('snmp agent down '):




is there operator that find substring in string DeviceGroups




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=34842#34842

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to