On 14 September 2011 19:30, Disc Magnet <[email protected]> wrote:
> I just copy-pasted the MIB given in the tutorial:
> http://www.net-snmp.org/wiki/index.php/TUT:snmptrap#SNMPv2_Traps

Ok - we need to add a warning to that page then.
This 'MIB' is actually just a fragment, to illustrate how a notification
would be defined.   It's not intended as a complete MIB file.

Try adding the rest of the MODULE-IDENTITY block, based on
what you see in other MIB files.   NET-SNMP-MIB.txt is probably
a good template, since this is a relatively simple one.
  (Most of the other Net-SNMP MIBs have been revised, which
is documented in the MODULE-IDENTITY block)

You can probably get away with omitting the NOTIFICATION-GROUP
block completely to start with.   This isn't strictly valid, but the Net-SNMP
MIB parser won't complain.


Dave

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
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

Reply via email to