logo       

RE: generating code for traps with mib2c: msg#00304

network.net-snmp.user

Subject: RE: generating code for traps with mib2c


Dave: "The net-snmp 5.1 local/Makefile doesn't appear to install the
mib2c.notify.conf file. That would explain it!"

How should I modify this Makefile in order to correct this issue ? Can you give
me some clues ?

Dave:"Just copy this file into /usr/local/share/snmp
and try again. That should do the trick."

Thanks, that did the trick !!

I have used "mib2c -c mib2c.notify.conf alarms" as you suggested to generate
the code.

Finally, I would like to notice that although I have copied the missing file to
the /usr/local/share/snmp directory, the mib2c script is still not able to
generate code for scalars and traps on a single file. I have seen also that it
is not possible to generate code for tables and scalars on a single file.

In order to use mib2c, I will put tables, scalars and traps on different
branches of the MIBs. Then I will generate the code for the MIB using several
files, one for scalars, one for traps and one or more for tables.

Thank you very much for your help!

David
-------------------------------------------------------------------------------------------------------------------
Este correo electrónico y, en su caso, cualquier fichero anexo al mismo,
contiene información de carácter confidencial exclusivamente dirigida a su
destinatario o destinatarios. Queda prohibida su divulgación, copia o
distribución a terceros sin la previa autorización escrita de Indra. En el caso
de haber recibido este correo electrónico por error, se ruega notificar
inmediatamente esta circunstancia mediante reenvío a la dirección electrónica
del remitente.

The information in this e-mail and in any attachments is confidential and
solely for the attention and use of the named addressee(s). You are hereby
notified that any dissemination, distribution or copy of this communication is
prohibited without the prior written consent of Indra. If you have received
this communication in error, please, notify the sender by reply e-mail


-------------------------------------------------------
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