SNMP::setSet the value of an SNMP object Description
public bool SNMP::set
( mixed
$object_id
, mixed $type
, mixed $value
)
Requests remote SNMP agent setting the value of
one or more SNMP objects specified by the Parameters
If Return Values
Returns Errors/Exceptions
This method does not throw any exceptions by default.
To enable throwing an SNMPException exception when some of library errors occur
the SNMP class parameter ExamplesExample #1 Set single SNMP object id
<?php Example #2 Set multiple values using single SNMP::set call
<?php Example #3 Using SNMP::set for setting BITS SNMP object id
<?php See Also
|