Re: Same mib module defines into master and slave sub-agent in AgentX

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGaJAF1zYiSrzyXu_EsjX-rmHShBEr_7qOL-c-CM5aJetQ@mail.gmail.com>
On 14 November 2011 16:48, Eric Zerbib <[email protected]> wrote:
> In my subagent I have re-implement some mibs module based on
> DISMAN-MIB module to allow sending custom alarm from my subagent.
>
> But this cause problems when I wants also use the same DISMAN module
> in some kind of configuration defined at the snmpd.conf

    :

> If I enable at the snmpd (without -I -mteScalar....) it will fails to
> register DISMAN Mib at my subagent and my Custom trap won't run,
>
> My question is how can I do to merge the two tables implementations to
> keep my custom implementation and to force the snmpd to configure my
> subagent
>
> Or do you think to another possibility ?


My immediate reaction is to look at why you need to re-implement
the DisMan tables within your subagent.   If this is just so that you
can send out a custom trap (rather than the standard mteTrigger*
notifications),  then this can probably be handled using the existing
implementation.

Have a look at the "notificationEvent" config directive, and the '-e' option
to the "monitor" directive.

Otherwise it might be worth outlining in a bit more detail, exactly what
your local re-implementation is needing to do.

Dave

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
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.