snmpset

snmpset -- Set an SNMP object

Description

string snmpget(string hostname, string community, string object_id, string type, mixed value, int [timeout], int [retries]);

Sets the specified SNMP object value, returning true on success and false on error.

The snmpset() function is used to set the value of an SNMP object specified by the object_id. SNMP agent is specified by the hostname and the read community is specified by the community parameter.