The Snmp\OidOutput EnumIntroduction
The Snmp\OidOutput enum lists the formats in which
the Net-SNMP library prints an OID.
It is accepted by snmp_set_oid_output_format and
SNMP::setOidOutputFormat.
Each case is equivalent to the
The descriptions below show how the OID
Enum synopsisSnmp OidOutput Suffix Only the name of the MIB object, plus any instance sub-identifiers:sysUpTimeInstance.
Equivalent to SNMP_OID_OUTPUT_SUFFIX.
Module
The name of the MIB module and of the object:
DISMAN-EVENT-MIB::sysUpTimeInstance.
Equivalent to SNMP_OID_OUTPUT_MODULE.
Full
The full list of MIB object names:
.iso.org.dod.internet.mgmt.mib-2.system.sysUpTime.sysUpTimeInstance.
Equivalent to SNMP_OID_OUTPUT_FULL.
Numeric
The numeric OID: .1.3.6.1.2.1.1.3.0.
Equivalent to SNMP_OID_OUTPUT_NUMERIC.
Ucd
The traditional UCD-style output, which removes a series of standard
prefixes from the OID:
system.sysUpTime.sysUpTimeInstance.
Equivalent to SNMP_OID_OUTPUT_UCD.
None
The OID is not printed, so the keys of the arrays
returned by the walk functions are undefined.
Equivalent to SNMP_OID_OUTPUT_NONE.
See Also
|