Re: Net-SNMP on win32 with winExtDLL

Alex Burger <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi Spyros.

Spyros Ligouras wrote:
> My question is how to actually enable/use winExtDLL (*). I downloaded
> and installed the precompiled win32 binary Net-SNMP v5.4.1 from
> sourceforge. I also installed and disabled Windows SNMP Service. Still
> snmpd doesn't seem to load the Windows SNMP Service DLLs. Do I need to

When you install Net-SNMP, you can select either the 'Standard Agent' 
(the default) or 'With Windows Extension DLL support'.

After installation, register the agent so that it starts with the proper 
  options by clicking Start - Programs - Net-SNMP - Service - Register 
Agent Service.

That should be it.  Test it using:

snmpget -v 1 -c public localhost sysDescr.0

If you see something similar to:

Hardware: x86 Family 15 Model 12 Stepping 0 AT/AT COMPATIBLE - Software:
Windows 2000 Version 5.0 (Build 2195 Uniprocessor Free)

instead of the usual Net-SNMP:

Windows host1 5.0.2195 Service Pack 4 2000 Server x86 Family 15 Model 12
Stepping 0

then it's using the Windows DLLs.  You may also notice that your floppy 
drive is accessed when starting the service.  This is from one of the 
Windows extensions.

To see if it's actually loading the modules, you can shut down the 
service and then run snmpd.exe from the command line with winExtDLL 
debugging enabled using:

snmpd.exe 
-I-udp,udpTable,tcp,tcpTable,icmp,ip,interfaces,system_mib,sysORTable 
-DwinExtDLL

Alex


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.