On 2019/11/27 11:36, Theo Buehler wrote: > On Sun, Nov 24, 2019 at 05:53:36PM +0000, Stuart Henderson wrote: > > OK to import? (now I finally got generator to work, which was a bit > > painful..) > > This builds and packages fine. I don't have a good way to run time test > it beyond 'make test', though. > > ok tb >
Thanks. For a quick runtime test of the "standard" go part, run snmpd answering to community "public", point $BROWSER at http://127.0.0.1:9116/, enter the IP of the machine running snmpd, this will dump the mib. (In normal use you would point prometheus at this to collect statistics, basically it is just an SNMP->HTTP proxy). The tricky bit as far as the software stack is concerned is the config generation tool, this is written in Go but is linked against net-snmp's libnetsnmp.so which it uses to parse the MIB files. "make test" will give an indication of whether this works or not.
