Try something like this:
Code:
for attr in dir(evt):
if attr.startswith('1.3.6.1.2.1.15.3.1.14.'):
evt.bgpPeerIp = attr.replace('1.3.6.1.2.1.15.3.1.14.', '')
evt.summary = "bgpBackwardTransNotification from " + evt.bgpPeerIp
This should do it. Take a good look at $ZENHOME/log/zentrap.log. It will tell
you what goes wrong.
Good luck
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=22010#22010
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users