Issue compiling with cache handler

2011-09-29 Thread Rodrigo Hjort
Hello coders, I'm trying to compile a custom SNMP subagent with caching capabilities, but I'm facing this issue: rodrigo@zangaro:~/cache$ *make* gcc -I. `net-snmp-config --cflags` -c -o example-demon.o example-demon.c gcc -I. `net-snmp-config --cflags` -c -o pgstatDatabaseTable.o pgstatDatabaseTa

clientaddr should not be premib

2011-09-29 Thread Bill Fenner
Hi, In commit 6a841d56518a727196e66b59e7e5b3304f54b0a1, Wes changed s/netsnmp_ds_register_config/netsnmp_ds_register_premib/ for the "snmp", "clientaddr" token. This breaks changing the clientaddr with a HUP. I guess the advantage of having it be premib is that it can be specified in the config

mib2c.container.conf

2011-09-29 Thread Thomas Scheuermann
Hello list, I try to extend net-snmp with a small MIB table. I generate the code using mib2c with the mib2c.container.conf configuration file. Is there a working example of using mib2c.container.conf? I get the code created but I don't know how to continue from there. Regards, Thomas DISCLAIME