Thanks Brian. I already use the regex_extracts for the SNMP floating point
conversion via
-
https://www.robustperception.io/numbers-from-displaystrings-with-the-snmp_exporter
- so yes this is what I was looking for (and overlooking).
also Thanks @sup - I had not thought about adding a
The best way to do this is to use a recording rule.
Something like this:
- record: global:pduInputPowerConsumption:sum
expr: |
sum(pduInputPowerConsumption{job="apc_pdus"} * 10 or on () vector(0))
+
sum(pduInputPowerConsumption{job!="apc_pdus"} or on () vector(0))
This is also
On Sat, 23 Oct 2021 at 00:44, Ben Cohee wrote:
> This has been bothering me for a while, and hopefully someone has a
> solution I am simply overlooking.
>
> I use snmp_exporter to pull power metrics from a bunch of different PDU
> vendors (APC, Raritan, Geist, ServerTech, etc). I have one
3 matches
Mail list logo