note 647 deleted from ref.snmp by sniper
| From: | sniper@php.net | Date: | Thu, 26 Feb 2004 20:39:26 +0000 |
| Subject: | note 647 deleted from ref.snmp by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-65833@lists.php.net to get a copy of this message | ||
Note Submitter: rgroesb_garbage@triple-it_garbage.nl
----
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/