> Date: Mon, 18 Nov 2013 10:39:23 +0100
> From: olivier.miaki...@evidian.com
> To: joshua__...@hotmail.com
> CC: net-snmp-users@lists.sourceforge.net
> Subject: Re: How to convert the imports for SNMP v2 MIB to SNMP v1?
>
> Hi,
>
> Le 18/11/2013 02:44, Joshua Lim a écrit :
> >
> > I'm trying to create an MIB for v1 traps. I used Agent++ MIB Designer
> > to create the skeleton MIB file, but it seems to be only able to
> > generate v2 MIB with the following imports:
> >
> >
> > TEST-MIB DEFINITIONS ::= BEGIN
> >
> >
> > IMPORTS
> > enterprises
> > FROM SNMPv2-SMI;
> >
> > The NMS recognizes the MIB as v2. What imports should I use for a v1
> > MIB? I believe it's not "SNMPv1-SMI". :)
>
> Do you really need an SMI v1 description of the traps, or simply
> the possibility to send SNMP v1 traps ? I suppose it is the second
> proposition, then you may define the MIB in v2 (SMI v2), and though
> send traps in v1 (SNMP v1).
>
> Regards,
> --
> Olivier Miakinen
Hi Olivier, thanks for replying. Yes, you're right that I'm trying to send
SNMP v1 traps as I've not figured out how to send SNMP v2 traps using Delphi
Synapse -
http://stackoverflow.com/questions/19655128/how-to-send-snmp-v2-trap-using-ararat-synapse.
I tried to create an MIB for that purpose using Agent++ MIB designer create MIB
wizard. But my user's NMS is unable to validate the MIB file as it has a v2
import for enterprise.
I'm now trying the following, not sure if it will work?
TEST-MIB DEFINITIONS ::= BEGIN
IMPORTS enterprises FROM SNMPv2-SMI TRAP-TYPE
FROM RFC-1215 OBJECT-TYPE FROM RFC-1212;
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users