Forum Discussion

Peter_Meijer's avatar
2 months ago

BGP Description

The Datasource BGP- shows per BGP instance a Description based on snmp OID 1.3.6.1.2.1.15.3.1.1 which is the bgp peer identifier.

That is not the actual description that's configured in the switch.
Here is an example of BGP configurations.

address-family ipv4 vrf t01-WAN
bgp router-id 11.226.11.2
network 10.251.0.0 mask 255.255.255.0
network 10.251.1.0 mask 255.255.255.0
network 10.251.2.0 mask 255.255.255.0
neighbor 10.228.3.53 remote-as 65500
neighbor 10.228.3.53 description t01 wan koppeling naar rack z1.3.23
neighbor 10.228.3.53 password ***********
neighbor 10.228.3.53 activate
neighbor 10.228.3.53 soft-reconfiguration inbound
neighbor 10.228.3.53 prefix-list t01-WAN-IP-BLOKKEN out
neighbor 10.228.3.53 maximum-prefix 200 50
exit-address-family

address-family ipv4 vrf a07-GTT-sip
bgp router-id 11.226.11.2
network 10.100.128.16 mask 255.255.255.240
neighbor 10.100.128.1 remote-as 65135
neighbor 10.100.128.1 description a07 gtt euro fiber
neighbor 10.100.128.1 password *********
neighbor 10.100.128.1 activate
neighbor 10.100.128.1 send-community
neighbor 10.100.128.1 prefix-list a07-TO-GTT out
exit-address-family

A snmpwalk on SNMP OID 1.3.6.1.2.1.15.3 doesn't show the neighbor description.
How can we get the bgp neighbor description into the LogicMonitor BGP instance description ?

1 Reply

  • That datasource only uses the SNMP data available, so you won’t be able to do it without changing the discovery method from SNMP to script and using that script to log into the device via SSH and parse the config to pull that information out.