-
Notifications
You must be signed in to change notification settings - Fork 600
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
Upgrade to 0.1.0 (from previous python release) broke string data #88
Comments
No version of this exporter has ever supported string values. |
I can guarantee that it worked before the upgrade to the Go version. Here is the output of prometheus: |
Template: meinberglantime:
|
That must have been by accident due to a quirk of the Python language and netsnmp python bindings. Even with string support, we're unlikely to support PDUs like this that are using an inappropriate type. |
I presume this will fix my issue? |
No, there's no plans to allow conversion of strings to floats. That way lies madness. |
Hi!
I just upgraded to the Go version 0.1.0.
I use this to monitor my NTP server, and after i installed the Go version some data stopped arriving into Prometheus.
This is the data that was previously working:
snmpwalk -c public -v 1 10.0.1.8 .1.3.6.1.4.1.5597.30.0.2.4.0
iso.3.6.1.4.1.5597.30.0.2.4.0 = STRING: "-0.000419"
Now with the new Go 0.1.0 version i get this output:
curl 'localhost:9116/snmp?target=10.0.1.8&module=meinberglantime'
HELP NTPRefclockOffset
TYPE NTPRefclockOffset untyped
NTPRefclockOffset 0
So something broke in the Go version that worked previously.
The text was updated successfully, but these errors were encountered: