networking – snmpwalk returns hex-string for interfaces with no description

nterfaces with an precise description are returned as a string, for instance the interface with Device1ILO

Nonetheless the interfaces with no description configured, are returned as Hex-STRING 00.

How can I get it to return both an empty string or a “0” when utilizing the metrics exported to my snmp-exporter prometheus occasion? I’d somewhat not configure an outline for the interfaces which can be unused as a result of there are far too many for the time being.

snmpwalk -v2c -c SECRET HOST

iso. = STRING: “Device1ILO”
iso. = Hex-STRING: 00 00

For reference that is the essential IF-MIB module and that is the IfAlias – {Hardware} is a Dell S4820T


Leave a Reply

Your email address will not be published.