[ Sorry for the delay in responding to this ]

 
> I read I lot of stuff about registering rows in the table by different
> subagents, but I did not find any clear implementation

Probably not - this is something that is definitely possible in theory,
but I don't think there's been much practical experience with actually
doing this - certainly not among the core developers.  So there aren't
any examples that we can show you.


> Anyway, I generated *.c and *.h files with mi2c.iterate_access.conf
> and want, that two different subagents register two different rows
> in the entityPhysicalTable, part of the ENTITY-MIB. It looks to me,
> that with that template I could not succeed the goal and have to use
> helper functions for registering rows and indexes.

Again, probably not.
Most of the helpers, and the templates generated by mib2c, assume
that a given table will be processed by a single handler.  They're
not really designed for splitting a table over two or more subagents.

One approach that might work, would be to register each of the
column instances independently using 'netsnmp_register_instance'.
That's a bit cumbersome, but ought to work.
  (He said, not actually having tried it!)


What we really need is for someone to tackle this properly, and offer
some example code that's been shown to work.  Volunteers welcome...

Dave




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to