mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fc391090e1
* BGP Polling: Add error code polling * Rework describe_bgp_error_code and fix bgp error fields migration * Add real test data for IOS-XR and Arista EOS
489 lines
21 KiB
JSON
489 lines
21 KiB
JSON
{
|
|
"os": {
|
|
"discovery": {
|
|
"devices": [
|
|
{
|
|
"sysName": "<private>",
|
|
"sysObjectID": ".1.3.6.1.4.1.2011.2.62.26",
|
|
"sysDescr": "Huawei Versatile Routing Platform Software",
|
|
"sysContact": null,
|
|
"version": null,
|
|
"hardware": null,
|
|
"features": null,
|
|
"os": "vrp",
|
|
"type": "network",
|
|
"serial": null,
|
|
"icon": "huawei.svg",
|
|
"location": null
|
|
}
|
|
]
|
|
},
|
|
"poller": {
|
|
"devices": [
|
|
{
|
|
"sysName": "<private>",
|
|
"sysObjectID": ".1.3.6.1.4.1.2011.2.62.26",
|
|
"sysDescr": "Huawei Versatile Routing Platform Software",
|
|
"sysContact": "<private>",
|
|
"version": " [Public]",
|
|
"hardware": null,
|
|
"features": null,
|
|
"os": "vrp",
|
|
"type": "network",
|
|
"serial": null,
|
|
"icon": "huawei.svg",
|
|
"location": "<private>"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"bgp-peers": {
|
|
"discovery": {
|
|
"bgpPeers": [
|
|
{
|
|
"astext": "Telefonos del Noroeste, S.A. de C.V., MX",
|
|
"bgpPeerIdentifier": "55.7.46.20",
|
|
"bgpPeerRemoteAs": 6332,
|
|
"bgpPeerState": "",
|
|
"bgpPeerAdminStatus": "stop",
|
|
"bgpLocalAddr": "0.0.0.0",
|
|
"bgpPeerRemoteAddr": "",
|
|
"bgpPeerDescr": "",
|
|
"bgpPeerInUpdates": 0,
|
|
"bgpPeerOutUpdates": 0,
|
|
"bgpPeerInTotalMessages": 0,
|
|
"bgpPeerOutTotalMessages": 0,
|
|
"bgpPeerFsmEstablishedTime": 0,
|
|
"bgpPeerInUpdateElapsedTime": 0,
|
|
"context_name": null,
|
|
"bgpLocalAs": 265086,
|
|
"vrfLocalAs": null,
|
|
"bgpPeerLastErrorCode": null,
|
|
"bgpPeerLastErrorSubCode": null,
|
|
"bgpPeerLastErrorText": null
|
|
},
|
|
{
|
|
"astext": "ERX-TANET-ASN1 Taiwan Academic Network (TANet) Information Center, TW",
|
|
"bgpPeerIdentifier": "54.7.42.34",
|
|
"bgpPeerRemoteAs": 1659,
|
|
"bgpPeerState": "",
|
|
"bgpPeerAdminStatus": "stop",
|
|
"bgpLocalAddr": "0.0.0.0",
|
|
"bgpPeerRemoteAddr": "",
|
|
"bgpPeerDescr": "",
|
|
"bgpPeerInUpdates": 0,
|
|
"bgpPeerOutUpdates": 0,
|
|
"bgpPeerInTotalMessages": 0,
|
|
"bgpPeerOutTotalMessages": 0,
|
|
"bgpPeerFsmEstablishedTime": 0,
|
|
"bgpPeerInUpdateElapsedTime": 0,
|
|
"context_name": null,
|
|
"bgpLocalAs": 265086,
|
|
"vrfLocalAs": null,
|
|
"bgpPeerLastErrorCode": null,
|
|
"bgpPeerLastErrorSubCode": null,
|
|
"bgpPeerLastErrorText": null
|
|
},
|
|
{
|
|
"astext": "NET-UEN-UTAH, US",
|
|
"bgpPeerIdentifier": "54.7.42.192",
|
|
"bgpPeerRemoteAs": 2940,
|
|
"bgpPeerState": "",
|
|
"bgpPeerAdminStatus": "stop",
|
|
"bgpLocalAddr": "0.0.0.0",
|
|
"bgpPeerRemoteAddr": "",
|
|
"bgpPeerDescr": "",
|
|
"bgpPeerInUpdates": 0,
|
|
"bgpPeerOutUpdates": 0,
|
|
"bgpPeerInTotalMessages": 0,
|
|
"bgpPeerOutTotalMessages": 0,
|
|
"bgpPeerFsmEstablishedTime": 0,
|
|
"bgpPeerInUpdateElapsedTime": 0,
|
|
"context_name": null,
|
|
"bgpLocalAs": 265086,
|
|
"vrfLocalAs": null,
|
|
"bgpPeerLastErrorCode": null,
|
|
"bgpPeerLastErrorSubCode": null,
|
|
"bgpPeerLastErrorText": null
|
|
},
|
|
{
|
|
"astext": "NSU-AS, RU",
|
|
"bgpPeerIdentifier": "54.7.42.203",
|
|
"bgpPeerRemoteAs": 3335,
|
|
"bgpPeerState": "",
|
|
"bgpPeerAdminStatus": "stop",
|
|
"bgpLocalAddr": "0.0.0.0",
|
|
"bgpPeerRemoteAddr": "",
|
|
"bgpPeerDescr": "",
|
|
"bgpPeerInUpdates": 0,
|
|
"bgpPeerOutUpdates": 0,
|
|
"bgpPeerInTotalMessages": 0,
|
|
"bgpPeerOutTotalMessages": 0,
|
|
"bgpPeerFsmEstablishedTime": 0,
|
|
"bgpPeerInUpdateElapsedTime": 0,
|
|
"context_name": null,
|
|
"bgpLocalAs": 265086,
|
|
"vrfLocalAs": null,
|
|
"bgpPeerLastErrorCode": null,
|
|
"bgpPeerLastErrorSubCode": null,
|
|
"bgpPeerLastErrorText": null
|
|
},
|
|
{
|
|
"astext": "RIPE-MEETING-AS, EU",
|
|
"bgpPeerIdentifier": "54.7.42.252",
|
|
"bgpPeerRemoteAs": 2121,
|
|
"bgpPeerState": "",
|
|
"bgpPeerAdminStatus": "stop",
|
|
"bgpLocalAddr": "0.0.0.0",
|
|
"bgpPeerRemoteAddr": "",
|
|
"bgpPeerDescr": "",
|
|
"bgpPeerInUpdates": 0,
|
|
"bgpPeerOutUpdates": 0,
|
|
"bgpPeerInTotalMessages": 0,
|
|
"bgpPeerOutTotalMessages": 0,
|
|
"bgpPeerFsmEstablishedTime": 0,
|
|
"bgpPeerInUpdateElapsedTime": 0,
|
|
"context_name": null,
|
|
"bgpLocalAs": 265086,
|
|
"vrfLocalAs": null,
|
|
"bgpPeerLastErrorCode": null,
|
|
"bgpPeerLastErrorSubCode": null,
|
|
"bgpPeerLastErrorText": null
|
|
},
|
|
{
|
|
"astext": "ISI-ISP, US",
|
|
"bgpPeerIdentifier": "54.7.42.253",
|
|
"bgpPeerRemoteAs": 6162,
|
|
"bgpPeerState": "",
|
|
"bgpPeerAdminStatus": "stop",
|
|
"bgpLocalAddr": "0.0.0.0",
|
|
"bgpPeerRemoteAddr": "",
|
|
"bgpPeerDescr": "",
|
|
"bgpPeerInUpdates": 0,
|
|
"bgpPeerOutUpdates": 0,
|
|
"bgpPeerInTotalMessages": 0,
|
|
"bgpPeerOutTotalMessages": 0,
|
|
"bgpPeerFsmEstablishedTime": 0,
|
|
"bgpPeerInUpdateElapsedTime": 0,
|
|
"context_name": null,
|
|
"bgpLocalAs": 265086,
|
|
"vrfLocalAs": null,
|
|
"bgpPeerLastErrorCode": null,
|
|
"bgpPeerLastErrorSubCode": null,
|
|
"bgpPeerLastErrorText": null
|
|
},
|
|
{
|
|
"astext": "ISI-ISP, US",
|
|
"bgpPeerIdentifier": "54.7.42.254",
|
|
"bgpPeerRemoteAs": 6162,
|
|
"bgpPeerState": "",
|
|
"bgpPeerAdminStatus": "stop",
|
|
"bgpLocalAddr": "0.0.0.0",
|
|
"bgpPeerRemoteAddr": "",
|
|
"bgpPeerDescr": "",
|
|
"bgpPeerInUpdates": 0,
|
|
"bgpPeerOutUpdates": 0,
|
|
"bgpPeerInTotalMessages": 0,
|
|
"bgpPeerOutTotalMessages": 0,
|
|
"bgpPeerFsmEstablishedTime": 0,
|
|
"bgpPeerInUpdateElapsedTime": 0,
|
|
"context_name": null,
|
|
"bgpLocalAs": 265086,
|
|
"vrfLocalAs": null,
|
|
"bgpPeerLastErrorCode": null,
|
|
"bgpPeerLastErrorSubCode": null,
|
|
"bgpPeerLastErrorText": null
|
|
},
|
|
{
|
|
"astext": "INOW-AS, US",
|
|
"bgpPeerIdentifier": "54.7.43.9",
|
|
"bgpPeerRemoteAs": 6489,
|
|
"bgpPeerState": "",
|
|
"bgpPeerAdminStatus": "stop",
|
|
"bgpLocalAddr": "0.0.0.0",
|
|
"bgpPeerRemoteAddr": "",
|
|
"bgpPeerDescr": "",
|
|
"bgpPeerInUpdates": 0,
|
|
"bgpPeerOutUpdates": 0,
|
|
"bgpPeerInTotalMessages": 0,
|
|
"bgpPeerOutTotalMessages": 0,
|
|
"bgpPeerFsmEstablishedTime": 0,
|
|
"bgpPeerInUpdateElapsedTime": 0,
|
|
"context_name": null,
|
|
"bgpLocalAs": 265086,
|
|
"vrfLocalAs": null,
|
|
"bgpPeerLastErrorCode": null,
|
|
"bgpPeerLastErrorSubCode": null,
|
|
"bgpPeerLastErrorText": null
|
|
},
|
|
{
|
|
"astext": "INOW-AS, US",
|
|
"bgpPeerIdentifier": "54.7.43.10",
|
|
"bgpPeerRemoteAs": 6489,
|
|
"bgpPeerState": "",
|
|
"bgpPeerAdminStatus": "stop",
|
|
"bgpLocalAddr": "0.0.0.0",
|
|
"bgpPeerRemoteAddr": "",
|
|
"bgpPeerDescr": "",
|
|
"bgpPeerInUpdates": 0,
|
|
"bgpPeerOutUpdates": 0,
|
|
"bgpPeerInTotalMessages": 0,
|
|
"bgpPeerOutTotalMessages": 0,
|
|
"bgpPeerFsmEstablishedTime": 0,
|
|
"bgpPeerInUpdateElapsedTime": 0,
|
|
"context_name": null,
|
|
"bgpLocalAs": 265086,
|
|
"vrfLocalAs": null,
|
|
"bgpPeerLastErrorCode": null,
|
|
"bgpPeerLastErrorSubCode": null,
|
|
"bgpPeerLastErrorText": null
|
|
},
|
|
{
|
|
"astext": "TXASHLTH, US",
|
|
"bgpPeerIdentifier": "54.7.43.82",
|
|
"bgpPeerRemoteAs": 2934,
|
|
"bgpPeerState": "",
|
|
"bgpPeerAdminStatus": "stop",
|
|
"bgpLocalAddr": "0.0.0.0",
|
|
"bgpPeerRemoteAddr": "",
|
|
"bgpPeerDescr": "",
|
|
"bgpPeerInUpdates": 0,
|
|
"bgpPeerOutUpdates": 0,
|
|
"bgpPeerInTotalMessages": 0,
|
|
"bgpPeerOutTotalMessages": 0,
|
|
"bgpPeerFsmEstablishedTime": 0,
|
|
"bgpPeerInUpdateElapsedTime": 0,
|
|
"context_name": null,
|
|
"bgpLocalAs": 265086,
|
|
"vrfLocalAs": null,
|
|
"bgpPeerLastErrorCode": null,
|
|
"bgpPeerLastErrorSubCode": null,
|
|
"bgpPeerLastErrorText": null
|
|
},
|
|
{
|
|
"astext": "TXASHLTH, US",
|
|
"bgpPeerIdentifier": "54.7.43.83",
|
|
"bgpPeerRemoteAs": 2934,
|
|
"bgpPeerState": "",
|
|
"bgpPeerAdminStatus": "stop",
|
|
"bgpLocalAddr": "0.0.0.0",
|
|
"bgpPeerRemoteAddr": "",
|
|
"bgpPeerDescr": "",
|
|
"bgpPeerInUpdates": 0,
|
|
"bgpPeerOutUpdates": 0,
|
|
"bgpPeerInTotalMessages": 0,
|
|
"bgpPeerOutTotalMessages": 0,
|
|
"bgpPeerFsmEstablishedTime": 0,
|
|
"bgpPeerInUpdateElapsedTime": 0,
|
|
"context_name": null,
|
|
"bgpLocalAs": 265086,
|
|
"vrfLocalAs": null,
|
|
"bgpPeerLastErrorCode": null,
|
|
"bgpPeerLastErrorSubCode": null,
|
|
"bgpPeerLastErrorText": null
|
|
},
|
|
{
|
|
"astext": "TXASHLTH, US",
|
|
"bgpPeerIdentifier": "54.7.43.207",
|
|
"bgpPeerRemoteAs": 2934,
|
|
"bgpPeerState": "",
|
|
"bgpPeerAdminStatus": "stop",
|
|
"bgpLocalAddr": "0.0.0.0",
|
|
"bgpPeerRemoteAddr": "",
|
|
"bgpPeerDescr": "",
|
|
"bgpPeerInUpdates": 0,
|
|
"bgpPeerOutUpdates": 0,
|
|
"bgpPeerInTotalMessages": 0,
|
|
"bgpPeerOutTotalMessages": 0,
|
|
"bgpPeerFsmEstablishedTime": 0,
|
|
"bgpPeerInUpdateElapsedTime": 0,
|
|
"context_name": null,
|
|
"bgpLocalAs": 265086,
|
|
"vrfLocalAs": null,
|
|
"bgpPeerLastErrorCode": null,
|
|
"bgpPeerLastErrorSubCode": null,
|
|
"bgpPeerLastErrorText": null
|
|
},
|
|
{
|
|
"astext": "TXASHLTH, US",
|
|
"bgpPeerIdentifier": "54.7.43.208",
|
|
"bgpPeerRemoteAs": 2934,
|
|
"bgpPeerState": "",
|
|
"bgpPeerAdminStatus": "stop",
|
|
"bgpLocalAddr": "0.0.0.0",
|
|
"bgpPeerRemoteAddr": "",
|
|
"bgpPeerDescr": "",
|
|
"bgpPeerInUpdates": 0,
|
|
"bgpPeerOutUpdates": 0,
|
|
"bgpPeerInTotalMessages": 0,
|
|
"bgpPeerOutTotalMessages": 0,
|
|
"bgpPeerFsmEstablishedTime": 0,
|
|
"bgpPeerInUpdateElapsedTime": 0,
|
|
"context_name": null,
|
|
"bgpLocalAs": 265086,
|
|
"vrfLocalAs": null,
|
|
"bgpPeerLastErrorCode": null,
|
|
"bgpPeerLastErrorSubCode": null,
|
|
"bgpPeerLastErrorText": null
|
|
},
|
|
{
|
|
"astext": "ISI-ISP, US",
|
|
"bgpPeerIdentifier": "54.7.45.253",
|
|
"bgpPeerRemoteAs": 6162,
|
|
"bgpPeerState": "",
|
|
"bgpPeerAdminStatus": "stop",
|
|
"bgpLocalAddr": "0.0.0.0",
|
|
"bgpPeerRemoteAddr": "",
|
|
"bgpPeerDescr": "",
|
|
"bgpPeerInUpdates": 0,
|
|
"bgpPeerOutUpdates": 0,
|
|
"bgpPeerInTotalMessages": 0,
|
|
"bgpPeerOutTotalMessages": 0,
|
|
"bgpPeerFsmEstablishedTime": 0,
|
|
"bgpPeerInUpdateElapsedTime": 0,
|
|
"context_name": null,
|
|
"bgpLocalAs": 265086,
|
|
"vrfLocalAs": null,
|
|
"bgpPeerLastErrorCode": null,
|
|
"bgpPeerLastErrorSubCode": null,
|
|
"bgpPeerLastErrorText": null
|
|
},
|
|
{
|
|
"astext": "ISI-ISP, US",
|
|
"bgpPeerIdentifier": "54.7.45.254",
|
|
"bgpPeerRemoteAs": 6162,
|
|
"bgpPeerState": "",
|
|
"bgpPeerAdminStatus": "stop",
|
|
"bgpLocalAddr": "0.0.0.0",
|
|
"bgpPeerRemoteAddr": "",
|
|
"bgpPeerDescr": "",
|
|
"bgpPeerInUpdates": 0,
|
|
"bgpPeerOutUpdates": 0,
|
|
"bgpPeerInTotalMessages": 0,
|
|
"bgpPeerOutTotalMessages": 0,
|
|
"bgpPeerFsmEstablishedTime": 0,
|
|
"bgpPeerInUpdateElapsedTime": 0,
|
|
"context_name": null,
|
|
"bgpLocalAs": 265086,
|
|
"vrfLocalAs": null,
|
|
"bgpPeerLastErrorCode": null,
|
|
"bgpPeerLastErrorSubCode": null,
|
|
"bgpPeerLastErrorText": null
|
|
},
|
|
{
|
|
"astext": "FRANCE-TELECOM-AS, EU",
|
|
"bgpPeerIdentifier": "54.7.149.45",
|
|
"bgpPeerRemoteAs": 2320,
|
|
"bgpPeerState": "",
|
|
"bgpPeerAdminStatus": "stop",
|
|
"bgpLocalAddr": "0.0.0.0",
|
|
"bgpPeerRemoteAddr": "",
|
|
"bgpPeerDescr": "",
|
|
"bgpPeerInUpdates": 0,
|
|
"bgpPeerOutUpdates": 0,
|
|
"bgpPeerInTotalMessages": 0,
|
|
"bgpPeerOutTotalMessages": 0,
|
|
"bgpPeerFsmEstablishedTime": 0,
|
|
"bgpPeerInUpdateElapsedTime": 0,
|
|
"context_name": null,
|
|
"bgpLocalAs": 265086,
|
|
"vrfLocalAs": null,
|
|
"bgpPeerLastErrorCode": null,
|
|
"bgpPeerLastErrorSubCode": null,
|
|
"bgpPeerLastErrorText": null
|
|
},
|
|
{
|
|
"astext": "ASN-ATTGMS, US",
|
|
"bgpPeerIdentifier": "54.7.253.70",
|
|
"bgpPeerRemoteAs": 5075,
|
|
"bgpPeerState": "",
|
|
"bgpPeerAdminStatus": "stop",
|
|
"bgpLocalAddr": "0.0.0.0",
|
|
"bgpPeerRemoteAddr": "",
|
|
"bgpPeerDescr": "",
|
|
"bgpPeerInUpdates": 0,
|
|
"bgpPeerOutUpdates": 0,
|
|
"bgpPeerInTotalMessages": 0,
|
|
"bgpPeerOutTotalMessages": 0,
|
|
"bgpPeerFsmEstablishedTime": 0,
|
|
"bgpPeerInUpdateElapsedTime": 0,
|
|
"context_name": null,
|
|
"bgpLocalAs": 265086,
|
|
"vrfLocalAs": null,
|
|
"bgpPeerLastErrorCode": null,
|
|
"bgpPeerLastErrorSubCode": null,
|
|
"bgpPeerLastErrorText": null
|
|
},
|
|
{
|
|
"astext": "VMX, CH",
|
|
"bgpPeerIdentifier": "54.7.34.6",
|
|
"bgpPeerRemoteAs": 64402,
|
|
"bgpPeerState": "",
|
|
"bgpPeerAdminStatus": "stop",
|
|
"bgpLocalAddr": "0.0.0.0",
|
|
"bgpPeerRemoteAddr": "",
|
|
"bgpPeerDescr": "",
|
|
"bgpPeerInUpdates": 0,
|
|
"bgpPeerOutUpdates": 0,
|
|
"bgpPeerInTotalMessages": 0,
|
|
"bgpPeerOutTotalMessages": 0,
|
|
"bgpPeerFsmEstablishedTime": 0,
|
|
"bgpPeerInUpdateElapsedTime": 0,
|
|
"context_name": null,
|
|
"bgpLocalAs": 265086,
|
|
"vrfLocalAs": null,
|
|
"bgpPeerLastErrorCode": null,
|
|
"bgpPeerLastErrorSubCode": null,
|
|
"bgpPeerLastErrorText": null
|
|
},
|
|
{
|
|
"astext": "ROGERS-AS-8160, CA",
|
|
"bgpPeerIdentifier": "54.7.34.30",
|
|
"bgpPeerRemoteAs": 8160,
|
|
"bgpPeerState": "",
|
|
"bgpPeerAdminStatus": "stop",
|
|
"bgpLocalAddr": "0.0.0.0",
|
|
"bgpPeerRemoteAddr": "",
|
|
"bgpPeerDescr": "",
|
|
"bgpPeerInUpdates": 0,
|
|
"bgpPeerOutUpdates": 0,
|
|
"bgpPeerInTotalMessages": 0,
|
|
"bgpPeerOutTotalMessages": 0,
|
|
"bgpPeerFsmEstablishedTime": 0,
|
|
"bgpPeerInUpdateElapsedTime": 0,
|
|
"context_name": null,
|
|
"bgpLocalAs": 265086,
|
|
"vrfLocalAs": null,
|
|
"bgpPeerLastErrorCode": null,
|
|
"bgpPeerLastErrorSubCode": null,
|
|
"bgpPeerLastErrorText": null
|
|
},
|
|
{
|
|
"astext": "MEMO Str. Octavian Goga nr. 109, RO",
|
|
"bgpPeerIdentifier": "54.7.253.145",
|
|
"bgpPeerRemoteAs": 8260,
|
|
"bgpPeerState": "",
|
|
"bgpPeerAdminStatus": "stop",
|
|
"bgpLocalAddr": "0.0.0.0",
|
|
"bgpPeerRemoteAddr": "",
|
|
"bgpPeerDescr": "",
|
|
"bgpPeerInUpdates": 0,
|
|
"bgpPeerOutUpdates": 0,
|
|
"bgpPeerInTotalMessages": 0,
|
|
"bgpPeerOutTotalMessages": 0,
|
|
"bgpPeerFsmEstablishedTime": 0,
|
|
"bgpPeerInUpdateElapsedTime": 0,
|
|
"context_name": null,
|
|
"bgpLocalAs": 265086,
|
|
"vrfLocalAs": null,
|
|
"bgpPeerLastErrorCode": null,
|
|
"bgpPeerLastErrorSubCode": null,
|
|
"bgpPeerLastErrorText": null
|
|
}
|
|
],
|
|
"bgpPeers_cbgp": []
|
|
},
|
|
"poller": "matches discovery"
|
|
}
|
|
}
|