|
snmp_set_oid_output_formatSet the OID output format Description
bool snmp_set_oid_output_format
( int
$oid_format = SNMP_OID_OUTPUT_MODULE
)snmp_set_oid_output_format sets the output format to be full or numeric. Parameters
Return ValuesNo value is returned. Notes
Examples
Example #1 Using snmprealwalk
<?php The above would output: Array ( [RFC1213-MIB::sysObjectID.0] => OID: NET-SNMP-TC::linux ) Array ( [.1.3.6.1.2.1.1.2.0] => OID: .1.3.6.1.4.1.8072.3.2.10 ) Array ( [.iso.org.dod.internet.mgmt.mib-2.system.sysObjectID.0] => OID: .iso.org.dod.internet.private.enterprises.netSnmp.netSnmpEnumerations.netSnmpAgentOIDs.linux ) |