Aesthetic feature requests

Here are some aesthetic feature requests:

The following two requests are noticed on at least on the x86 6.36 version:

  • SNMP getting MAC addresses: When The Dude retrieves a MAC address form a device and the MAC contains one or more octets that have a 0 as the first number in an octet, it strips the 0 off, giving a single hex digit. Please make this provide both digits in all octets.

  • SNMP getting integers that contain word values - oid(“”) function: Please make the oid function only return the word value without including the integer in parenthesis: e.g. online (1) or offline (0). or, perhaps add another oid function that only provides the word values if it would be too impacting for users that do prefer the way the oid function returns integer data with words attached.

  • And lastly: This one is definitely much more aesthetic, but it would be nice if labels had more formatting options available, such as left and right justifications, and bold and underline “rich text” like options. Perhaps these can be implemented with the use of tags similar to html: . And even a step further would be to add tabular formatting tags like html tables so that labels that use functions that poll for several values pertaining to one or more interfaces or connections can display multiple rows and columns more pleasantly - however this tabular effect would have to be available at the function level(?).

Thank you in advance for any of these considerations.

You misunderstand how SNMP works. The MAC addresses are sent over the net as binary values, and they are formatted by your SNMP client
according to the MIB file corresponding to the item you read. Commonly the MAC addresses are defined like this:

ipNetToMediaPhysAddress OBJECT-TYPE
SYNTAX PhysAddress
MAX-ACCESS read-create
STATUS current
DESCRIPTION
“The media-dependent `physical’ address.”
::= { ipNetToMediaEntry 2 }

This PhysAddress is again defined as:

PhysAddress ::= TEXTUAL-CONVENTION
DISPLAY-HINT “1x:”
STATUS current
DESCRIPTION
“Represents media- or physical-level addresses.”
SYNTAX OCTET STRING

There you have it. An OCTET string with the suggested display format of single-hex digit separated by colon.
That is why you see the single digits.