Hi Guys,
Can any one tell me whats the variable from agent/cache_handler.h means
#define NETSNMP_CACHE_DONT_INVALIDATE_ON_SET 0x0001
#define NETSNMP_CACHE_DONT_FREE_BEFORE_LOAD 0x0002
#define NETSNMP_CACHE_DONT_FREE_EXPIRED 0x0004
#define NETSNMP_CACHE_DONT_AUTO_RELEASE 0x0008
#define NETSNMP_CACHE_PRELOAD 0x0010
#define NETSNMP_CACHE_AUTO_RELOAD
I am facing a problem. A code is being generated by mib2c and
myTable_data_access.c is modified. But It takes little more time to find the
values of which table is to be maintained.
during that if someone queries results comes as
Error in packet.
Reason: (genError) A general failure occured
Failed object: MY-MIB::myTable
and on the agent side.. it says
AgentX master agent failed to respond to ping. Attempting to re-register.
NET-SNMP version 5.2.3 AgentX subagent connected
[I added signal (SIGPIPE, SIG_IGN);] o/w it terminated without saying any
thing.
I tried to set cache->flags |= in myTable_container_init function, but it did
not help. I want what ever it has in table previously should return even
while updating the table and once it updated the table then on next query it
should give updated values. What should i Change?
Thanks
Sharad Chandra
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users