update : 2015.11.03
php.shukuma.com검색:
|
snmp2_set(PHP >= 5.2.0) snmp2_set — 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 인수
반환값
성공 시 If the SNMP host rejects the data type, an E_WARNING message like "Warning: Error in packet. Reason: (badValue) The value given has the wrong type or length." is shown. If an unknown or invalid OID is specified the warning probably reads "Could not add variable". 예제Example #1 Using snmp2_set()
<?php Example #2 Using snmp2_set() for setting BITS SNMP object id
<?php |