R: extention snmp table with another sub-table inside
"Enzo Arlati" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
-----Messaggio originale----- Da: [email protected] [mailto:[email protected]]Per conto di Dave Shield Inviato: lunedì 6 novembre 2006 16.26 A: Enzo Arlati Cc: Net-Snmp-Users@Lists. Sourceforge. Net (E-mail) Oggetto: Re: extention snmp table with another sub-table inside > On 06/11/06, Enzo Arlati <[email protected]> wrote: > I need to build an agent extention with a table which have inside it's entry another table. > You can't. SNMP doesn't support such structures. > > What you *can* do is define two parallel tables, where the second > table is indexed > by two (or more) objects - which *include* the same object used to > index the first. > > This is probably easier to illustrate, than to explain. > > Have a look at the HOST-RESOURCES-MIB - and compare the definitions > of hrDiskStorageTable and hrPartitionTable. The partition table is > *effectively* > a table-within-a-table of the disk table. > > As far as SNMP is concerned, these are basically independent tables. > It's up to the agent (when populating the tables) and the client side (when > displaying the results) to merge the two tables. > > Dave > I look for some code which help to understand how tied seevral table of the same format to another master table, but I failed. What I want to achieve is to connect to a master table some child table ( more than one ) and with all the child table of the same kind. any suggestions are welcome. 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