note 647 modified in ref.snmp by irchtml
| From: | irchtml@php.net | Date: | Tue, 17 Feb 2004 14:32:28 +0000 |
| Subject: | note 647 modified in ref.snmp by irchtml | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-65300@lists.php.net to get a copy of this message | ||
snmpset -- Set an SNMP object
int snmpset(string hostname, string community, string object_id, string type, string vallue);
The snmpset() function is used to set the value of
an SNMP object.
The type should be a single character, one of:
i INTEGER
s STRING
x HEX STRING
d DECIMAL STRING
n NULLOBJ
o OBJID
t TIMETICKS
a IPADDRESS
Example:
snmpset("127.0.0.1",
"private","system.SysContact.0", "s",
"Captain Iglo");
Snmpset URL: http://www.triple-it.nl/php/
--was--
<pre>
snmpset -- Set an SNMP object
int snmpset(string hostname, string community, string object_id, string type, string vallue);
The snmpset() function is used to set the value of
an SNMP object.
The type should be a single character, one of:
i INTEGER
s STRING
x HEX STRING
d DECIMAL STRING
n NULLOBJ
o OBJID
t TIMETICKS
a IPADDRESS
Example:
snmpset("127.0.0.1",
"private","system.SysContact.0", "s",
"Captain Iglo");
</pre>
Snmpset URL: http://www.triple-it.nl/php/
http://www.php.net/manual/en/ref.snmp.php