Re: Trap

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/3/4 Pranesh Kulkarni <[email protected]>:
>> What about the SNMPv1
>   Instead of NOTIFICATION-TYPE  use TRAP-TYPE

No!

If you are writing your MIB using SMIv2, then you *always* use
NOTIFICATION-TYPE.

This MIB definition can then be used with SNMPv1 traps,  SNMPv2c traps/informs,
and SNMPv3 traps/informs

You would only use "TRAP-TYPE" if you're writing your MIB in the old
style  (SMIv1).
In which case, you wouldn't use MAX-ACCESS or "accessible-for-notify" either.
But SMIv1 is effectively obsolete now, so I'd forget about it.

Use NOTIFICATION-TYPE to define the trap,
and everything should just work - regardless of the SNMP version you're using.

Dave

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
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.