Files
librenms-librenms/tests/data/junos_ex.json
Tony Murray 557de49ee3 Prevent bgp-peers module from adding json data for every device (#9091)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
2018-08-27 21:03:12 +01:00

146 lines
5.8 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",
"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",
"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",
"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",
"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",
"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",
"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"
}
}