Please keep answers on the list! On tor, 2006-12-07 at 06:59 +0100, Olivier Beytrison wrote: > Hello, > > That's what i meant. The "agent" reffer to the net-snmp daemon. So Yes, > the data are going to be held in the sub-agent.
In this context "the agent" is the program that contains the code that mib2c creates. That this happens to be a subagent in this case doesn't matter. /MF > > Magnus Fromreide a écrit : > > On ons, 2006-12-06 at 18:41 +0100, Olivier Beytrison wrote: > > > >>Hello all, > >> > >>I'm currently running a project in my school, which need to provide > >>datas over SNMP. > >> > >>Here is a small overview of the context : > >> > >>We have small temperature sensors (embedded devices) that will > >>periodically send information through the network to a central server. > >>(those devices can't run their own snmp agent). The application on the > >>server will store the data in a linked list. > >> > >>The same program is a subagent aswell, and will feed the data into the > >>snmp agent of the server. Those datas may change quite fast (every 15s > >>for example). > >> > >>So, here are some questions i'm asking myself : > >> > >>1. I've choosed the Iterator solution, as explained when running mib2c > >>(the data are held outside from the agent itself). Is that the right > >>choice ? > > > > > > I'd say no. When you are writing a subagent then the subagent acts as > > agent, so you are holding all data inside the (sub)agent (in that linked > > list) > > > > /MF > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders