Documentation for SNMP
| From: | Steven Lawrance | Date: | Mon, 12 Jul 1999 00:15:30 +0000 |
| Subject: | Documentation for SNMP | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-8371@lists.php.net to get a copy of this message | ||
In the documentation, I noticed two undocumented parameters for snmpget:
timeout and retries. Also, the return value for snmpget is really a string;
the docs say int (doah hehe ;-).
There's also a new function as of very recently: proto int snmpset(string
host, string community, string object_id, string type, mixed value [, int
timeout [, int retries]])
The "type" parameter must be one of the following, depending on the type of
variable to set on the SNMP host:
i INTEGER
u unsigned INTEGER
t TIMETICKS
a IPADDRESS
o OBJID
s STRING
x HEX STRING
d DECIMAL STRING
If OPAQUE_SPECIAL_TYPES was defined while compiling the SNMP library, the
following are also valid:
U unsigned int64
I signed int64
F float
D double
--Steven Lawrance--
Personal Web Site and E-Mail:
slawrance@technologist.com
http://www.bryant.edu/~ssl2 (SSL2)