extention snmp table with another sub-table inside

"Enzo Arlati" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I need to build an agent extention with a table which have inside it's entry another table.
something like that:

   -myroot(100)
    |
    ......
    |
    +--crTable_A(11)
       |  Index: crIndexTable_A
       |
       +--crEntryTable_A(1)
          |
          +-- ---- INTEGER   crIndexTable_A(1)
          +--cr.......(2)
          +--cr.......(3)
          |
          +--crTable_B(4)
             |  Index: crIndexTable_B
             |
             +--crEntryTable_B(1)
                |
                +-- ---- INTEGER   crIndexDevices(1)
                +-- -R-- INTEGER   crIndex(2)


The table Table_A have one entry which must contain another table Table_B
I have no idea on how implementing this, can you provide me some usefull link, where find code or more better a tutorial on such topics.
I' m using net-snmp 5.3.1 on linux and the program is build in C ( or C++ )
With function netsnmp_table_set_multi_add_default_row and netsnmp_table_row_add_index what type I can use to manage a netsnmp_table_row type and how connect the class of Table_B with Table_A ?

regards, Enzo



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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.