Highlighted
Member.
171 views

Extract character from an OID (BGP-Trap)

 
Hello, 

There is some way to extract the ip-address from the OID bgpBackwardTransition (.1.3.6.1.2.1.15.7.2) that has the data inside the variable $ 1 or $ 2.

Example: .1.3.6.1.2.1.15.3.1.14.192.168.100.11, should extract '.1.3.6.1.2.1.15.3.1.14.' to print the value 192.168.100.11 in incident message.

Thank You!

 

0 Likes
1 Reply
Highlighted
Acclaimed Contributor.. Acclaimed Contributor..
Acclaimed Contributor..

Re: Extract character from an OID (BGP-Trap)

Hello,

 

as far as I know this is not possible. The newer NNMi versions support BGP monitoring and perhaps you should upgrade and have a look at the out of the box solution for that.

In a engagement we have developed a script which runs as an action. The script "correlates" multiple BGP traps for a single router down situation (as multiple neighbors generating the traps) and issue a new single incident for that device (same for router up again). Perhaps this is an idea which will also work for you.

 

HTH and kind regards

 

Allessandro

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.