snmpset

(PHP 3>= 3.0.12, PHP 4 , PHP 5)

snmpset -- Valorizza un oggetto SNMP

Descrizione

bool snmpset ( string hostname, string community, string object_id, string type, mixed value [, int timeout [, int retries]])

Setta il valore di un specifico oggetto SNMP. La funzione restituisce TRUE se ha successo, FALSE se si verifica un errore.

La funzione snmpset() viene usata per settare il valore dell'oggetto SNMP indicato dal parametro object_id. L'agente SNMP viene indicato nel parametro hostname e la comunità viene specificata nel parametro community.