snmp2_walk

(PHP >= 5.2.0) Fetch all the SNMP objects from an agent array snmp2_walk ( string $host, string $community, string $object_id [, string $timeout = 1000000 [, string $retries = 5 ]] ) snmp2_walk() function is used to read all the values from an SNMP agent specified by the hostname. Parameters: host The SNMP agent (server). community

snmp2_set

(PHP >= 5.2.0) Set the value of an SNMP object bool snmp2_set ( string $host, string $community, string $object_id, string $type, string $value [, string $timeout = 1000000 [, string $retries = 5 ]] ) snmp2_set() is used to set the value of an SNMP object specified by the object_id. Parameters: host The hostname of the SNMP agent (server). comm

snmp2_real_walk

(PHP >= 5.2.0) Return all objects including their respective object ID within the specified one array snmp2_real_walk ( string $host, string $community, string $object_id [, string $timeout = 1000000 [, string $retries = 5 ]] ) The snmp2_real_walk() function is used to traverse over a number of SNMP objects starting from object_id and return not only their values but also their object ids. Parameters:

snmp2_getnext

(PHP >= 5.2.0) Fetch the SNMP object which follows the given object id string snmp2_getnext ( string $host, string $community, string $object_id [, string $timeout = 1000000 [, string $retries = 5 ]] ) The snmp2_get_next() function is used to read the value of the SNMP object that follows the specified object_id. Parameters: host The hostname of the SNMP agent (serve

snmp2_get

(PHP 5 >= 5.2.0, PHP 7) Fetch an SNMP object string snmp2_get ( string $host, string $community, string $object_id [, string $timeout = 1000000 [, string $retries = 5 ]] ) The snmp2_get() function is used to read the value of an SNMP object specified by the object_id. Parameters: host The SNMP agent. community The read community.

snmp_set_valueretrieval

(PHP 4 >= 4.3.3, PHP 5, PHP 7) Specify the method how the SNMP values will be returned bool snmp_set_valueretrieval ( int $method = SNMP_VALUE_LIBRARY ) Parameters: method types SNMP_VALUE_LIBRARY The return values will be as returned by the Net-SNMP library. SNMP_VALUE_PLAIN The return values will be the plain value without the SNMP type hint. SNMP_VALUE_OBJECT The r

snmp_set_quick_print

(PHP 4, PHP 5, PHP 7) Set the value of quick_print within the UCD SNMP library bool snmp_set_quick_print ( bool $quick_print ) Sets the value of quick_print within the UCD SNMP library. When this is set (1), the SNMP library will return 'quick printed' values. This means that just the value will be printed. When quick_print is not enabled (default) the UCD SNMP library prints extra information including the type of the valu

snmp_set_oid_output_format

(PHP 5 >= 5.2.0, PHP 7) Set the OID output format 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: oid_format OID .1.3.6.1.2.1.1.3.0 representation for various oid_format values SNMP_OID_OUTPUT_FULL .iso.org.dod.internet.mgmt.mib-2.system.sysUpTime.sysUp

snmp_set_oid_numeric_print

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Set the OID output format void snmp_set_oid_numeric_print ( int $oid_format ) This function is an alias of: snmp_set_oid_output_format(). Changelog: 5.2.0 Since PHP 5.2.0. See also: snmp_set_oid_output_format() -

snmp_set_enum_print

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Return all values that are enums with their enum value instead of the raw integer bool snmp_set_enum_print ( int $enum_print ) This function toggles if snmpwalk/snmpget etc. should automatically lookup enum values in the MIB and return them together with their human readable string. Parameters: enum_print As the value is interpreted as