BgpSessionDetector
Subscribe

From OpenNMS

Jump to: navigation, search

The BGP Service Detector can be used for detecting if a BGP-Session to a peering partner (peer-ip) is functional on devices with SNMP enabled. It will make a query against the RFC1269 MIB (.1.3.6.1.2.1.15.3.1) over SNMP to check a peering partner's status.

It checks that the return value is in the valid range of 1 (idle) to 6 (established). For more details, see the BGP Session Monitor page.

Default Parameters

All detectors accept the "port", "timeout", "retries", and "serviceName" parameters:

port  
The port to connect to on the remote host.
timeout (default: "2000") 
The amount of time to wait before giving up on a connection.
retries (default: "1") 
The number of times to attempt a connection again, before giving up.
serviceName (default: "BGP_Session") 
The service name to use if the detector finds a valid service.

Additional Parameters

In addition, the BGP Service Detector accepts the following parameters:

bgpPeerId  
The the IPv4 peer ID to query for.