On 1/11/07, Marcin Zabłocki <[EMAIL PROTECTED]> wrote:

I would have run zentrap in some kind of debug mode, isn't it?
As I don't see anything unusual in logs, more I say, I see only zentrap
startup messages.

I've just took a closer look on the event, and I see that message looks
like:

" bgpBackwardTransNotification from  "

and the details shows:

1.3.6.1.2.1.15.3.1.14.192.168.0.1       
1.3.6.1.2.1.15.3.1.2.192.168.0.1        1
bgpPeerIp       

That makes sense as my code was wrong. Perhaps this transform would work better:

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

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

Reply via email to