On 27/03/2008, Amit Kumar <[EMAIL PROTECTED]> wrote:
>           I am using net-snmp-5.4 version .
>  I want to disable all the traps related to 8072

>  is there is any option to disable all the traps from the 8072 oid.

No - you'll need to tweak the code.

The two places where enterprise-specific traps are generated
are when the agent is shut down (snmpd.c:SnmpTrapNodeDown())
and when the config file is re-read (snmpd.c:receive())

In both cases, you simply need to comment out the
call to 'send_easy_trap()' and recompile.

Dave

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to