I figured out how to change this with relabel_configs so it's just a
curiosity.
On Tuesday, March 25, 2025 at 6:28:38 PM UTC-7 Elliott Balsley wrote:
Why does SNMP exporter show MAC addresses as uppercase? For example, using
the default snmp.yml with if_mib module I get this:
ifPhysAddress{ifAlias="",ifDescr="eth0",ifIndex="2",ifName="eth0",ifPhysAddress="3C:EC:EF:3C:B1:5E"}
1
Net-snmp tools show these values as lowercase, as does the snmp-exporter
README
<https://github.com/prometheus/snmp_exporter/blob/main/generator/README.md>
:
# PhysAddress48: A 48 bit MAC address, rendered as 00:01:02:03:04:ff.
If you're wondering why this matters... I'm trying to migrate some SNMP
configs from Telegraf to the Prometheus SNMP Exporter. I have a bunch of
existing data in Prometheus, so I'm hoping to build the configs such that
all my time series continue. Telegraf uses lower-case MACs.
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/prometheus-users/b915dc6c-88fa-47d3-901a-c8cc64816e8en%40googlegroups.com.