This is what the current transform looks like for /Net/Link/snmp_linkDown 
(default):

index = None
for key, value in evt.__dict__.items():
   if key.find('1.3.6.1.2.1.2.2.1.1') >= 0:
      index = value
      break
if index is not None:
   for obj in device.os.interfaces.objectItems():
      if obj[1].ifindex == index:
         evt.component = obj[1].id
         break

If what you're saying works couldnt I just put:
evt.ifDescr = getattr(evt, "ifDescr") 

in the beginning?  Then use the tails expression in my command ${evt/ifDescr}




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

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

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



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

Reply via email to