[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn, offer advice, and see me correct my mistakes. Thanks. ]
On 9 February 2012 14:24, Siuli Roy <siuli....@gmail.com> wrote: > Dear Dave, > > Thanks a lot for your reply... > > I have tried mib2c command, as suggested by you, using > "mib2c -Scache=1 -c mib2c.iterate.conf myTable" command... > > However, it is giving the following error: > "no variable specified for -S flag. at /usr/bin/mib2c line 96" Bother - I'm always getting that wrong! Try mib2c -S cache=1 -c mib2c.iterate.conf myTable (i.e. it needs a space after the '-S') > I am using net-snmp-5.5-17. > > Where can I change the cache timeout value??? The code that's generated will include a definition #define MYTABLE_TIMEOUT 60 in the header file. Adjust this definition and recompile to set the default timeout value. (Note that it's also possible to set this dynamically while the agent is running, via the nsCacheTable) Dave ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users