Open aned opened 5 years ago
The issue is likely due to a change in TerminAttr in EOS-4.21.5F that removes use of deprecated fields of the gNMI protobufs. ocprometheus
was updated to support both the deprecated and newer fields here: https://github.com/aristanetworks/goarista/commit/22b2444f947b7d395b5c227cf0dd881d0100bdb1
Running the latest master, the same issue (no metrics being exported).
Ping? Or the entire thing is no longer supported?
@aned I suggest you get in contact with Arista Support.
Cut arista case# 158111 @aaronbee
@aaronbee Arista TAC provided an extension ocprometheus-1.6.swix. Installed it on arista switch, /usr/bin/ocprometheus worked as expected, got my metrics. Copied over the binary to my server and it's working as well. So it's definitely some issue with the current code on github.
Thanks for the update. What version of TerminAttr you are running on the device? You can tell with the Cli command:
bash /usr/bin/TerminAttr -version
(This is assuming you are running TerminAttr from its default location. If not, replace /usr/bin/TerminAttr
with the path used under daemon TerminAttr
.)
Running TerminAttr from the default location:
v1.5.2 go1.10.3
I'm getting this directly from gnmi cli:
./gnmi -addr 10.10.1.1:6042 -username admin -password blah get "/Sysdb/connectivityMonitor/status"
In ocprometheus I have this configured:
It worked fine on previous EOS version.