Hallo,

i try to build my first complex mib structure with net-snmp. The mib structure 
contains more then one dynamic tables. I use a table
like the bottom table.

static oid moduleTable_oid[] = {1,3,6,1,4,1,26000,25,3,3};

26000.25.3.3                           moduleTable (table)
26000.25.3.3.modID                     modulEntryID (keyIndex INTEGER)
26000.25.3.3.modID.1.0                 info (DisplayString)
26000.25.3.3.modID.2.1.0               modIndex (INTEGER)
26000.25.3.3.modID.2.2.0               ....
26000.25.3.3.modID.2.3.0               ....
26000.25.3.3.modID.2.7.1.0             subModulCount (INTEGER)
26000.25.3.3.modID.2.7.2.subModID      ....
26000.25.3.3.modID.2.7.3               subModulTable (table)
26000.25.3.3.modID.2.7.3.subModID.1.0  subModulID (index INTEGER)
26000.25.3.3.modID.2.7.3.subModID.2.0
26000.25.3.3.modID.2.7.3.subModID.3.0Raedke

26000.25.3.3.modID.2.7.3.subModID.4.0
26000.25.3.3.modID.2.7.3.subModID.5.0
26000.25.3.3.modID.2.7.3.subModID.6.1.0

Foer example, if i have to devices with four channels i have to create two 
tables with four sub tables for each device. I'm not shure if it possible tor 
realize the obove structure.

How can i deal with this the e.g '26000.25.3.3.modID.2.1.0'.
It is possible to handle sub object id's within a table like the number 2.

I hobe somebody can help me.

Norman Raedke


               



-- 
GRATIS! Movie-FLAT mit über 300 Videos. 
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to