opiproject / lab

OPI lab and automation
Apache License 2.0
1 stars 6 forks source link

otel(arista): `eos_native` counters not working in gNMI plugin #5

Closed glimchb closed 4 months ago

glimchb commented 5 months ago

see https://github.com/arista-netdevops-community/arista_eos_streaming_telemetry_with_gnmi_and_telegraf

got

2024-05-02T17:09:35Z E! [inputs.gnmi] Error in plugin: aborted gNMI subscription: rpc error: code = InvalidArgument desc = failed to subscribe to /Sysdb/routing/bgp/export: path invalid: failed to access node "Sysdb" in node ""

from running:

docker run --rm -it --network=host -v ./telegraf.conf.arista:/etc/telegraf/telegraf.conf docker.io/library/telegraf:1.29

looks like this arista config

enable
configure
username arista secret 0 arista
management api gnmi
  transport grpc def
    vrf MGMT
  provider eos-native

can't be supported in the switches we have... maybe need upgrade ?

glimchb commented 4 months ago

switch upgraded issue resolved documentation fixed https://github.com/opiproject/lab/commit/9ae65c07e93a302fe007b4efc9f967e90b8fde25 telegraf is running fine