Quantcast
Channel: Zenoss Community: Message List
Viewing all articles
Browse latest Browse all 1097

Re: BGP Transform in Zenoss 4.2

$
0
0

The solution is:

 

#Pull out bgp peer IP and attempt a DNS reverse lookup for a name

#Then set message and summary using DNS name if possible, IP if not

for attr in evt.details._map.keys():

    if attr.startswith('bgpPeerState.'):

         evt.bgpPeerIp = attr.replace('bgpPeerState.', '')

 

 

 

Enjoy!


Viewing all articles
Browse latest Browse all 1097

Trending Articles