snmpset
(PHP 4, PHP 5)
snmpset — Set an SNMP object
설명
bool snmpset
( string $hostname
, string $community
, string $object_id
, string $type
, mixed $value
[, int $timeout
[, int $retries
]] )
snmpset() is used to set the value of an SNMP object specified by the object_id .
매개변수
- hostname
-
The SNMP agent.
- community
-
The read community.
- object_id
-
The SNMP object.
- type
-
- value
-
- timeout
-
- retries
-
반환값
성공할 경우 TRUE를, 실패할 경우 FALSE를 반환합니다.