strange problem with "table_data" approch , Unable to update the data of "first value of a row"

kumar undurthi <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
   Hi All,
       First of all  Thanks for Ur help and effort.

        I have implemented a sub-agent and able to register with Agent and
used "mib2c.table_data.conf" and
"netsnmp_inject_handler_before(reg,netsnmp_cache_handler_get(cache),
"ExampleTable")" to update the table every 20sec.
                  Problem is after updating the table , the first(coloum)
value of the first row is unable to update , remaining all rows are updating
properly( Every time after query it gives the old row values instead of new
updated row value) So what can be the issue.
   eg:
       snmpwalk -v2c -c public 192.168.xx.xx  ExampleTable::Mode
ExampleTable::Mode.1 = INTEGER: 0
ExampleTable::Mode.2 = INTEGER: 0
      snmpwalk -v2c -c public 192.168.xx.xx  ExampleTable::Mode
ExampleTable::Mode.1 = INTEGER: 0  // wrong values it should be 1
ExampleTable::Mode.2 = INTEGER: 1

  Note: If i query two times with out updating the table then it comes
properly(correct values)

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.