Hi all,

I need a bit of help with designing the architechture of my snmp agent.
I implemented the config management with help of the array-user table,
which worked fine for me. The other part of the software is more
dynamic: A thread collects traffic statistics (how many octets on which
port) and stores them in an dynamic sized array in memory.

I want these array to be accessible via snmp (read-only, of course). I'm
not sure how to implement this sort of table, as the size of the array
can change every few seconds.. I can't use the usual CONTAINER_INSERT
macros, I think. Do I have to implement a special get_next handling?

Any suggestions, code snippets and ideas are very welcome!
Thanks in advance
Arne


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to