logo       

Re: generating code for traps with mib2c: msg#00295

network.net-snmp.user

Subject: Re: generating code for traps with mib2c


> I have designed a litle private MIB under the experimental node with
> some scalars and some traps. Running mib2c generates the code for the
> scalars, but nothing is generated for the traps. I selected the new
> Net-SNMP coding style and then generic scalars (option 1).

I'll leave Wes to comment on the 'mib2c.conf' driving script.

But if you run mib2c with the 'mib2c.notify.conf' configuration file,
this is designed to generate a template for sending a trap.
(In fact, that's actually what 'mib2c.conf' calls internally anyway!)

Try running that by hand - see if you have any better luck.


Dave



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@xxxxxxxxxxxxxxxxxxxxx
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise