Funcții SNMP
PHP Manual

snmpset

(PHP 4, PHP 5)

snmpsetSet an SNMP object

Descrierea

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.

Parametri

hostname

The SNMP agent.

community

The write community.

object_id

The SNMP object.

type

value

timeout

The number of microseconds until the first timeout.

retries

Valorile întoarse

Întoarce valoarea TRUE în cazul succesului sau FALSE în cazul eșecului.

Vedeți de asemenea


Funcții SNMP
PHP Manual