SNMP::setSet the value of an SNMP object Beschreibung
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 Parameter-Liste
If Rückgabewerte
Gibt bei Erfolg Fehler/Exceptions
This method do not throw any exceptions by default.
To enable throwing an SNMPException exception when some of library errors occure
user should set BeispieleBeispiel #1 Set single SNMP object id
<?phpBeispiel #2 Set multiple values using single SNMP::set call
<?phpBeispiel #3 Using SNMP::set for setting BITS SNMP object id
<?phpSiehe auch
|