[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-users
Subject:    Re: Does net-snmp provide network interfaces information on windows by itself?
From:       Bart Van Assche <bvanassche () acm ! org>
Date:       2021-06-15 3:22:36
Message-ID: 21854226-9110-f2ec-9cab-b0416c2b3528 () acm ! org
[Download RAW message or body]

On 6/14/21 1:16 PM, Jan Gorski wrote:
> On 2021-06-14 20:05, Bart Van Assche wrote:
>> On 6/14/21 9:04 AM, Jan Gorski wrote:
>>> I have compiled net-snmp 5.9.1 under Windows 10 x64 using build.bat
>>> (everything except install and quiet build disabled)
>>
>> Does enabling winExtDLL help?
> 
> Enabling winExtDLL helped. It enabled Platform SDK too, and
> actually enabling only Platform SDK is enough (jump from ~0.7k
> to almost 3.5k OIDs).
> 
> I thought that Platform SDK was needed only for winExtDLL/IPv6
> transports, and as far as I understand winExtDLL is needed for
> extensions written originally for Microsoft implementation of
> SNMP agent --- which is something I was not interested in,
> hence I did not try any of those options...
> 
> Thanks.
> 
> Do you think something like this would help others:
> 
> ~/source/repos/net-snmp (V5-9-patches) $ git diff -U10 README.win32
> warning: CRLF will be replaced by LF in README.win32.
> The file will have its original line endings in your working directory
> diff --git a/README.win32 b/README.win32
> index 4639b87ef..e954f04d5 100644
> --- a/README.win32
> +++ b/README.win32
> @@ -498,20 +498,23 @@ steps to build using build.bat:
> 
> 6.  Toggle the options on and off as desired by typing the line number
>      followed by <enter>.
> 
>      To compile with OpenSSL, the OpenSSL library and header files must
>      already be installed.  See the section 'Microsoft Visual C++ - 
> Building
>      with OpenSSL' for details.
> 
>      To use the IPv6 transports, Windows 98 or later is required.
> 
> +    A lot of functionality requires Platform SDK support enabled (e.g. 
> amount
> +    of OIDs available out of the box increases fourfold after enabling 
> it).
> +
>      See the section 'Running Net-SNMP as a replacement for the Microsoft
>      SNMP service' for important information on using the winExtDLL agent.
> 
>      If Quiet mode is enabled, all build activity is stored in various 
> *.out
>      files inside of the win32 folder.
> 
>      When you are ready to build, type f <enter>
> 
> 7.  Building will begin.  Following is a sample screen shot of a quiet 
> build:

Hi Jan,

Thanks for the suggestion.

Another possibility is to remove the Platform SDK menu option and to 
always enable the Platform SDK. I think that menu option was much more 
relevant 20 years ago than it is today since 20 years ago the Platform 
SDK was a separate download. That's no longer the case today.

Thanks,

Bart.


_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic