You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to override the Display string parameter of the temperature value to a gauge datatype.
Currently the temperature value is represented as a String that lead to the situation that each value will be represented as a label in prometheus.
Therefore I added the overrides parameter to mark it as gauge.
Unfortunately this didn't work. The snmp agent captures always 0 instead of the values.
Host operating system: output of
uname -a
Linux sekidp-snmp-exporter-756d7b848c-5qj2h 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Thu May 18 10:27:05 EDT 2023 x86_64 GNU/Linux
snmp_exporter version: output of
snmp_exporter -version
snmp_exporter, version 0.23.0 (branch: HEAD, revision: 20657d2)
build user: root@f2310b8dd92c
build date: 20230816-09:56:45
go version: go1.20.7
platform: linux/amd64
tags: netgo
What device/snmpwalk OID are you using?
ThinkSystem SR630 V2
OID: 1.3.6.1.4.1.19046.11.1.1.1.2.1.3
https://www.circitor.fr/Mibs/Html/L/LENOVO-XCC-MIB.php#tempReading
If this is a new device, please link to the MIB(s).
https://www.circitor.fr/Mibs/Html/L/LENOVO-XCC-MIB.php
What did you do that produced an error?
I want to override the Display string parameter of the temperature value to a gauge datatype.
Currently the temperature value is represented as a String that lead to the situation that each value will be represented as a label in prometheus.
Therefore I added the overrides parameter to mark it as gauge.
Unfortunately this didn't work. The snmp agent captures always 0 instead of the values.
lenovo-xcc:
walk:
- temperature
- voltage
- fans
- systemHealth
- leds
- hostMACAddressTable
- xccVpdEntry
- spTxtId
- machineVpd
overrides:
voltReading:
type: gauge
voltNominalReading:
type: gauge
voltNonRecovLimitHigh:
type: gauge
voltNonCritLimitHigh:
type: gauge
voltNonRecovLimitLow:
type: gauge
voltCritLimitHigh:
type: gauge
voltCritLimitLow:
type: gauge
voltNonCritLimitLow:
type: gauge
tempReading:
type: gauge
tempNominalReading:
type: gauge
tempNonRecovLimitHigh:
type: gauge
tempNonCritLimitHigh:
type: gauge
tempNonRecovLimitLow:
type: gauge
tempCritLimitLow:
type: gauge
tempNonCritLimitLow:
type: gauge
What did you expect to see?
the temperature values
What did you see instead?
just 0
The text was updated successfully, but these errors were encountered: