Re: several sub agents on the same machine with lowest possible influence on the system
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Thank you Wes Yes, I found something there and I also tried to look at the snmpd source code and to simplify it a bit. But right now it is not working, but I will try it again tomorrow. Or does maybe anybody here having a working and simple code example, how I can request values from my programm? And there is still the question, how can I run it without installing and deactiving the windows snmp service? it would be pretty ugly to programm an installer which does those things and maybe some other 3rd party applications would not be happy with that. Thank you again for your time. > > SF> So my questions are: 1. Pretty cool would be, if I could compile the > SF> necessary functioniality (and not all the overhead) of snmpd directly > SF> in my application and execute it just for the first instance (so this > SF> is my master agent). Is this possible? > > Yep. You can, and in fact my memory says that the tutorial even shows > you how, but I could be wrong there. > > Most of the agent code is in libnetsnmpagent so you can reuse it > easily. > > [I'll let someone else answer the windows questions; I'm useless there] > > SF> 3. Another idea would be to register my sub agent directly with the > SF> windows SNMP service, so that I do not need to deactivate it. Any > SF> chance that this might work? > > I don't think the windows service supports subagents, nor does it > support SNMPv3 last I looked. But again, I shouldn't be answering this > question! ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users