Re: Sub-agent trap filtering

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 18/01/07, kevin lee <[email protected]> wrote:
> Is there a way to configure the traps received from sub-agent via smux?

I don't believe so - the agent will receive all traps sent from the
SMUX subagent,
and feed them into the standard agent trap-processing code.
(See agent/mibgroup/smux/smux.c:smux_trap_process())


> For example, I want the traps received from some subagents to be sent,
> but not the others.

It *might* be possible to use the snmpNotifyFilterTable to restrict which
traps are sent out *from* the master agent.  But this would probably apply
to all such traps - irrespective of where they were originally received
(internal, AgentX or SMUX).

Note that this filtering code is relatively immature, and hasn't had the same
level of exposure as most of the rest of the agent.  But it's worth
investigating.

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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.