Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subscription path for interface status, bgp summary #55

Open
mhprabin opened this issue Jan 18, 2021 · 1 comment
Open

subscription path for interface status, bgp summary #55

mhprabin opened this issue Jan 18, 2021 · 1 comment

Comments

@mhprabin
Copy link

Hi,

which path should i look up for interface status, bgp summary(number of prefix received, advertised)?

@noredistribution
Copy link
Contributor

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

  • OC path:
    • 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
  • eos-native path: /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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants