This is a discussion on Re: is it possible to integrate an Net SNMP sub agent(.dll) withMicrosoft within the SNMP Coders forums, part of the Networking and Network Related category; Penz, Bernhard wrote: >>On Wed, 2005-06-15 at 12:11, mahua dutta wrote: >> >>&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Penz, Bernhard wrote:
>>On Wed, 2005-06-15 at 12:11, mahua dutta wrote: >> >>>Yes, I want to mean a mechanism for running the Net-SNMP agent as a >>>dynamically loaded extension to the Microsoft master agent(snmp.exe) >> > However, if you just want to access Windows-specific MIB-stuff via SNMP > and also net-snmp stuff, you can set up the net-snmp agent to proxy > certain OID ranges to the Microsoft agent. Have a look at the disussion > in the following thread, especially the answer to point "4: Does the > net-snmp XP agent support disk space and process monitoring?" > > http://groups-beta.google.com/group/...users/browse_t > hread/thread/7890181dd80e2a6d/0426ae747e075cb5?q=%2B%22net-snmp%22+%2Bwi > ndows+%2Bsnmp+%2Bproxy&rnum=19#0426ae747e075cb5 A few months ago I started working on a *Microsoft agent* proxy to allow me to run the MS agent on the default port (161) and Net-SNMP (or any other SNMP agent) on another port (or even host) such as 1161. My extension agent would proxy to the other agent based on the OID similar to Net-SNMP's proxy option. I have to double check to see where I left off, but I think I had most of it working except for a couple snmpwalk issues when proxying multiple OID trees. The plan was to release it as GPL outside of the Net-SNMP project, as it really has nothing to do with Net-SNMP. If there is any interest in this, then I could do some cleanup and release it if someone else wants to help clean it up and test it. The program uses the older SNMP API (snmpapi.dll) so it should work on NT4 and higher but this means it is limited to SNMPv1. Maybe it would be better to use the WinSNMP API, but I didn't want to limit it to W2k+. Obviously this is not as good as running Net-SNMP directly as a sub agent under Windows's agent, but until that functionality is written (if ever), this may be the only option. Alex ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |