Dave Shield schrieb:

Very nearly.
The one thing that seems wrong is the ordering of the indexes
in the camTable:

   satEntry        OBJECT-TYPE
                       INDEX   { satIndex }
                   ::= { satTable 1 }

   camEntry        OBJECT-TYPE
                       INDEX   { camIndex, satIndex }
                   ::= { camTable 1 }

You probably want to index this table by {satIndex, camIndex}
which will group all the cameras on one satellite together.
(rather than having the first camera on each satellite,
followed by the second camera on each satellite, etc, etc)

Ok.

That's the problem.
The MfD mib2c framework can only handle generating the code for
one table at a time.  You'll need to run mib2c *twice* - once
with 'satTable' and once with 'camTable'

It works! Thank you very much!

BTW, does anyone know a manager program that show me the two indexes as a table within a table?

--


MfG,
Andreas Dunke

___________________ www.maku.de ___________________
MAKU Informationstechnik GmbH
Dipl. Informatiker Andreas Dunke   |   [EMAIL PROTECTED]
Entwicklung
Tel: +49(0)201 / 81027-243
Fax:+49(0)201 / 81027-299 Gewerbehofstr. 7
D-45145 Essen, Germany




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to