Activating debug statements in multiple tables I have noticed something else
which might provide a clue as to why all of these row_prep() calls are
occurring repeatedly.
I have 8 Tables I am experiencing trouble with, listed below:
Table1 (main Table - which has 10 rows of data)
Table2 (extends Table1)
Table3 (extends Table1)
Table4 (extends Table1)
Table5 (extends Table1)
Table6 (extends Table1)
Table7 (extends Table1)
Table8 (extends Table1)
When I perform a "snmpwalk" request on Table7, then the Table7_row_prep()
routine is called many times (as described in the earlier postings). However,
once the Table7_row_prep() processing finally ends then the Table8_row_prep()
routine is automatically called about 20 times (ie: looping through all rows in
the main table twice).
This happens for any table I perform a "snmpwalk" through. Basically, as soon
as the row_prep() is traversed many many times, then some other table's
row_prep() is immediately called even though I never made an additional
snmpwalk request for that other table.
Need Help <[EMAIL PROTECTED]> wrote: One thing I should mention is the
"ocStbHostAVInterfaceTable" table is the "main" table and other tables in my
MIB extend this main table. About five other MIB tables extend the main table
and share the same cache used by the "ocStbHostAVInterfaceTable" main table as
well.
Another table (which extends the main table) has a row_prep() routine which is
called 50 times (instead of the expected 10 times only). It is basically
traversing the table (with 10 rows) five times repeatedly.
Other tables (which extend the "main" table) have similar problems as well,
where the looping is 4 or 5 times through the whole table as well.
Hopefully someone has an idea of how to fix this.
Need Help <[EMAIL PROTECTED]> wrote: I have a table (ocStbHostAVInterfaceTable)
which is populated with 10 rows. When I perform a snmpwalk of this table, I
verified (via printf statements) that the entire table is being traversed 3
times, however, the results of the snmpwalk request are only displayed one time.
Basically, I verified the row_prep() routine of this table is called 30 times
repeatedly for each snmpwalk request.
Here is the command I am using:
snmpwalk -v1 -c mycommunity_ro 127.0.0.1 ocStbHostAVInterfaceTable
Any ideas why this might be happening?
My cache timeout is set at 60 seconds and the "cache->flags" is set as follows:
cache->flags |= NETSNMP_CACHE_PRELOAD;
---------------------------------
Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel
and lay it on us.
-------------------------------------------------------------------------
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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
---------------------------------
Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel
and lay it on us.
---------------------------------
Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on,
when.
-------------------------------------------------------------------------
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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
---------------------------------
Need a vacation? Get great deals to amazing places on Yahoo! Travel. -------------------------------------------------------------------------
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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders