Re: who's calling *Table_get_first[next]_data_point()?

Li Juen Hwang <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

    i can get back element data now when i issued "snmpget ... 
[column_object]".
    but "snmptable ... [table_object]" still calls 
table2_get_first_data_point().
    how can i stop it from doing that?
    can someone help?
    thanks.


    Li-juen


Li Juen Hwang wrote:

> Hi,
>
>   I created 2 tables (table1 and table2) using 
> mib2c.iterate_access.conf on linux RH.
>   I thought *Table_get_first[next]_data_point() are called only during 
> initialization of
>   tables. Based on that assumption, i implemented the needed functions.
>
>   However, when i ran "snmptable -v 2c -c private localhost  table1", 
> i found
>   table1_get_first[next]_data_point() were called repeatedly after 
> table1_handler()
>   finished each column *and* every element of the table. For instsance,
>    if the table contains 4 columns and 2 rows, then they'll get called
>   12 times. (8 for element, 3 for column and 1 for beginning of the 
> application)
>
>   Not only that, after *Table_handler() finished table1, the agent (or 
> snmptable?)
>   kept calling *_get_first_data_point() for table2. Of course, I did 
> not get any
>   correct data back for table1 or table2.
>
>   My biggest question is how to implement the functions generated by 
> mib2c with
>   mib2c.iterate_access.conf? Can someone help?
>   thanks.
>
>
>   Li-Juen
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log 
> files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> 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
>
>



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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.