Open mhprabin opened 3 years ago
not sure if you've found out the answers already for this but you can see the above in our examples in
https://github.com/aristanetworks/goarista/tree/master/cmd/ocprometheus/sample_configs or https://github.com/aristanetworks/goarista/tree/master/cmd/octsdb/sample_configs
If you're interested in the OC paths, interface status is at:
/interfaces/interface/state/admin-status
/interfaces/interface/state/oper-status
or the eos-native path for inteface status would be under: /Sysdb/interface/status/eth/phy/slice/1/intfStatus/
BGP prefix received/sent can be found under
network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/state/prefixes/received
network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/state/prefixes/sent
/Smash/routing/bgp/bgpPeerInfoStatus/default/bgpPeerStatisticsEntry
but if you're using ocprometheus, arrays are not supported so you should use gNMI and subscribe to the OC path instead
Hi,
which path should i look up for interface status, bgp summary(number of prefix received, advertised)?