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
Sometimes I need to apply the same override to several metrics, so it would be useful to write it just once in the config by specifying the parent OID. As an example, here is a snippet of my config for Dataprobe iBoot PDU:
iboot_pdu:
walk:
- 1.3.6.1.4.1.1418.6.1.1 # firmware
- 1.3.6.1.4.1.1418.6.6 # sensors
- 1.3.6.1.4.1.1418.6.5 # outletTablelookups:
- source_indexes: [outletIndex]# explicit OID needed until this PR is merged: https://github.com/prometheus/snmp_exporter/pull/828lookup: 1.3.6.1.4.1.1418.6.5.1.2drop_source_indexes: falseoverrides:
voltageLC1:
scale: 0.01currentLC1:
scale: 0.01temperature1:
scale: 0.01temperature2:
scale: 0.01
Instead of specifying each metric with the same scaling factor, I'd like to do it like this:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Sometimes I need to apply the same override to several metrics, so it would be useful to write it just once in the config by specifying the parent OID. As an example, here is a snippet of my config for Dataprobe iBoot PDU:
Instead of specifying each metric with the same scaling factor, I'd like to do it like this:
iboot-pdu.mib.txt
Beta Was this translation helpful? Give feedback.
All reactions