Re: snmpd.conf: unknown token: dlmod

Nuno Magalhães <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi Dave,

So, how do I extend the functionality of an agent in windows (i.e.: 
defining, monitoring and trapping new OID's).

Can you give me an example/steps starting with the mib2c.exe command.

Thanks in advance,
Nuno Magalhães.

Em 30-12-2012 00:13, Dave Shield escreveu:
> On 29 December 2012 22:00, Nuno Magalhães <[email protected]> wrote:
>> I thought I was only enabling debug for dlmod token -Ddlmod.
> My apologies - I'd misread the command you were using to start the agent.
> You are quite correct.
>
>
>> Even if I simply call snmpd.exe with no parameters the error persists.
> Looking at the code that includes the dlmod module  (in ucd_snmp.h):
>
>      #if defined(HAVE_DLFCN_H) && defined(HAVE_DLOPEN)
>      config_require(ucd-snmp/dlmod)
>      #endif
>
> I'm not convinced that this module is supported under Windows.
> Certainly the standard Windows version of the net-snmp-config.h
> file  doesn't define either of these two tokens.
>
>    Windows seems to use 'winExtDLL' instead of 'dlmod'
> >From the winExtDLL.c file:
>
>   * @note All Windows extension DLLs are loaded during startup of the Net-SNMP
>   *   service. The Net-SNMP service must be restarted to load new modules. This
>   *   extension is NOT for dynamically loading Net-SNMP extensions.
>
>
> Dave
>
>
> -----
> Não foram detectados vírus nesta  mensagem.
> Verificado por AVG - www.avg.com
> Versão: 2013.0.2805 / Base de dados de Vírus: 2637/5995 - Data de Lançamento: 12/29/12
>
>


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
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.