nterfaces with an actual description are returned as a string, for example the interface with Device1ILO
However the interfaces without a description configured, are returned as Hex-STRING 00.
How can I get it to return either an empty string or a "0" when using the metrics exported to my snmp-exporter prometheus instance? I would rather not configure a description for the interfaces that are unused because there are far too many at the moment.
snmpwalk -v2c -c SECRET HOST 1.3.6.1.2.1.31.1.1.1.18
iso.3.6.1.2.1.31.1.1.1.18. = STRING: "Device1ILO" iso.3.6.1.2.1.31.1.1.1.18. = Hex-STRING: 00 00
For reference this is the basic IF-MIB module and this is the IfAlias - Hardware is a Dell S4820T