librenms/tests/data/junos_ex.json
TheGreatDoc d475665601 Added BGP Peer Descriptions (#9165)
* Added BGP Peer Descriptions

* Fixed formatting

* Added to device routing tab too

* Some text formatting

* Test files

* Added default null to bgpPeerDescr

* Added db_schema.yaml

* Fix default value for bgpPeerDescr

* Fixed Order and Search box

* Added glyphicon for success/error

* Switch to toastr notification

* Removed unused bootstrap code
2018-09-10 22:54:46 -05:00

152 lines
6.0 KiB
JSON

{
"bgp-peers": {
"discovery": {
"bgpPeers": [
{
"astext": "",
"bgpPeerIdentifier": "192.168.1.4",
"bgpPeerRemoteAs": 65502,
"bgpPeerState": "idle",
"bgpPeerAdminStatus": "stop",
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
"bgpPeerInTotalMessages": 0,
"bgpPeerOutTotalMessages": 0,
"bgpPeerFsmEstablishedTime": 0,
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 65501
},
{
"astext": "",
"bgpPeerIdentifier": "192.168.1.186",
"bgpPeerRemoteAs": 65503,
"bgpPeerState": "idle",
"bgpPeerAdminStatus": "stop",
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
"bgpPeerInTotalMessages": 0,
"bgpPeerOutTotalMessages": 0,
"bgpPeerFsmEstablishedTime": 0,
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 65501
},
{
"astext": "",
"bgpPeerIdentifier": "192.168.1.226",
"bgpPeerRemoteAs": 65504,
"bgpPeerState": "idle",
"bgpPeerAdminStatus": "stop",
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
"bgpPeerInTotalMessages": 0,
"bgpPeerOutTotalMessages": 0,
"bgpPeerFsmEstablishedTime": 0,
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 65501
}
],
"bgpPeers_cbgp": []
},
"poller": {
"bgpPeers": [
{
"astext": "",
"bgpPeerIdentifier": "192.168.1.4",
"bgpPeerRemoteAs": 65502,
"bgpPeerState": "established",
"bgpPeerAdminStatus": "start",
"bgpLocalAddr": "192.168.1.43",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 10526,
"bgpPeerOutUpdates": 531,
"bgpPeerInTotalMessages": 824076,
"bgpPeerOutTotalMessages": 871063,
"bgpPeerFsmEstablishedTime": 23675506,
"bgpPeerInUpdateElapsedTime": 21748,
"context_name": "",
"bgpLocalAs": 65501
},
{
"astext": "",
"bgpPeerIdentifier": "192.168.1.186",
"bgpPeerRemoteAs": 65503,
"bgpPeerState": "established",
"bgpPeerAdminStatus": "start",
"bgpLocalAddr": "192.168.1.185",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 1,
"bgpPeerOutUpdates": 1,
"bgpPeerInTotalMessages": 29928,
"bgpPeerOutTotalMessages": 28798,
"bgpPeerFsmEstablishedTime": 785386,
"bgpPeerInUpdateElapsedTime": 785386,
"context_name": "",
"bgpLocalAs": 65501
},
{
"astext": "",
"bgpPeerIdentifier": "192.168.1.226",
"bgpPeerRemoteAs": 65504,
"bgpPeerState": "established",
"bgpPeerAdminStatus": "start",
"bgpLocalAddr": "192.168.1.225",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 3,
"bgpPeerOutUpdates": 1,
"bgpPeerInTotalMessages": 25802,
"bgpPeerOutTotalMessages": 28382,
"bgpPeerFsmEstablishedTime": 774041,
"bgpPeerInUpdateElapsedTime": 774040,
"context_name": "",
"bgpLocalAs": 65501
}
],
"bgpPeers_cbgp": []
}
},
"processors": {
"discovery": {
"processors": [
{
"entPhysicalIndex": "0",
"hrDeviceIndex": "0",
"processor_oid": ".1.3.6.1.4.1.2636.3.1.13.1.8.7.1.0.0",
"processor_index": "7.1.0.0",
"processor_type": "junos",
"processor_usage": "94",
"processor_descr": "FPC: EX4200-48PX,48 POE+ @ 0/*/*",
"processor_precision": "1",
"processor_perc_warn": "75"
},
{
"entPhysicalIndex": "0",
"hrDeviceIndex": "0",
"processor_oid": ".1.3.6.1.4.1.2636.3.1.13.1.8.9.1.0.0",
"processor_index": "9.1.0.0",
"processor_type": "junos",
"processor_usage": "94",
"processor_descr": "Routing Engine 0",
"processor_precision": "1",
"processor_perc_warn": "75"
}
]
},
"poller": "matches discovery"
}
}