need help to update values in mib2c.create-dataset.conf generated code

2012-10-26 Thread Jatin Bodarya
Hello all, Below is my code for 'table'.I am compiling it as a "subagent". Which is getting data from a file. But my issue is it is taking the data from first time only The file "data.txt" is changing its values frequently... But with snmpwalk I can get the only same data all the time..

reading config token in init_my_module()

2012-10-26 Thread Holger Klaas
Hi, I am writing a MIB module and I want to pass an integer config token from the command line to the module. I need the token to be available in the module init function. I am using Net-SNMP v5.4.4 and I am starting the agent like this: snmpd --myInteger=2 This is my module init function: stat