The Snmp\StringOutput EnumIntroductionThe Snmp\StringOutput enum lists the formats in which the Net-SNMP library prints string values. It is accepted by snmp_set_string_output_format and SNMP::setStringOutputFormat.
The format only applies to string values whose MIB
object has no Enum synopsisSnmp StringOutput Guess Print the string as text if it is printable, and as a hexadecimal string otherwise. This is the default. Ascii Always print the string as text. Corresponds to the-Oa command-line option of
Net-SNMP.
Hex
Print the string as a hexadecimal string.
This is ignored when the object has a DISPLAY-HINT.
Corresponds to the -Ox command-line option of
Net-SNMP.
See Also
|