Replies: 1 comment
-
Yea, that's a great idea. The help text thing crossed my mind when I added the scale thing, but I forgot to write down a feature issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be helpful to override the help text, for MIBs that are either lacking or inaccurate.
The help string is defined here:
snmp_exporter/generator/tree.go
Line 353 in 9c42d6c
I propose leaving that format as-is and allowing the user to override
description
in the generator.This is especially useful in conjunction with the recent addition of scaling factor in #1026. For example, this Cyberpower UPS returns all sensor values as integers, so after scaling the voltage to the correct value, the help text is wrong. This can be fixed in
snmp.yml
but I think we need a way to do it in the generator.Beta Was this translation helpful? Give feedback.
All reactions