information about this package can be found in the README. here is a html-version of the README:
tools & library are usable, not heavily tested. trap listener, server, snmp v3, and smi/mib parser are absent and might come later.
this package contains an snmp client library and tools using these libraries. only for versions 1 and 2, not version 3 (perhaps later). it does not yet have a trap listener. it does not now include an snmp server, but might in the future. likewise, it does not parse mib/smi files, but a tool to convert mib's to files for a name-oid mapping would be nice.
see the manual pages snmpget(1) and snmpclient(2) for details.
get the latest version from:
http://www.ueber.net/code/r/snmp
create "/dis/snmp" in your inferno installation.
make sure you have $ROOT set, now run "mk install" to compile and install the files.
when building from within inferno, insert SYSHOST=Inferno and ROOT= in the mk invocations to override the values in the mkconfig.
apply the patch doc/appl-lib-asn1.b.diff to inferno's appl/lib/asn1.b.
this code is in the public domain. the code is written by mechiel lukkien, reachable at mechiel@ueber.net.
should we have more strict max-repetitions in bulk request? and/or handle toobig errors by retransmitting with fewer values? the first is probably not necessary, the second can be fixed by the caller.
to clone & pull:
hg clone http://www.ueber.net/hgsrv/snmp/
hg clone static-http://www.ueber.net/who/mjl/hg/snmp/
download a snapshot of the latest version: snmp-3.tgz.
the files in the latest revision can be found at /hg/snmp/files/tip/. a specific revision can be access by replacing "tip" with the revision number, (partial) nodeid or tag name. a few direct links to useful files in the latest revision:
| rev | nodeid | when | diff | why |
|---|---|---|---|---|
| 3 | b4102b28c634 | 14 months | diff | use dial.m |
| 2 | 8e9dd96bb671 | 2 years | diff | add mkconfig, mention it in README, style nits. |
| 1 | 4a20561f0b73 | 2 years | diff | fix mkfile dependencies, don't leave synopsis in snmclient(2) enti... |
| 0 | 4b82f4329f3d | 2 years | - | welcome snmp tools & library. |