snmp_set_valueretrieval
PHP 4 >= 4.3.3, PHP 5, PHP 7, PHP 8
snmp_set_valueretrieval - Specify the method how the SNMP values will be returned
Manual
snmp_set_valueretrieval(
int$method ): bool
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 information. SNMP_VALUE_OBJECT The return values will be objects with the properties value and type, where the latter is one of the SNMP_OCTET_STR, SNMP_COUNTER etc. constants. The way value is returned is based on which one of constants SNMP_VALUE_LIBRARY, SNMP_VALUE_PLAIN is set.
Return Values
Always returns true.