snmpset
(PHP 4, PHP 5)
snmpset — Set an SNMP object
LeÃrás
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 .
Paraméterek
- hostname
-
The SNMP agent.
- community
-
The read community.
- object_id
-
The SNMP object.
- type
-
- value
-
- timeout
-
- retries
-
Visszatérési értékek
Siker esetén TRUE értékkel tér vissza, ellenkező esetben FALSE értéket ad.