|
RE: generating code for traps with mib2c: msg#00298network.net-snmp.user
Thanks Dave, I' ve just tried it and that is what has happened. # mib2c -c mib2c.notify.conf tsw Can't find a configuration file called mib2c.notify.conf I looked in: . /usr/local/share/snmp/ # I have mib2c.scalar.conf but it seems that I don't have the mib2c.notify.conf file. Isn't it included with the net-snmp-5.1 source code tarball ? Any suggestion ? Best regards, David -----Mensaje original----- De: Dave Shield [mailto:D.T.Shield@xxxxxxxxxxxxx] Enviado el: miércoles 28 de enero de 2004 10:04 Para: Fernández Piñas, David CC: Net-Snmp-Users (E-mail) Asunto: 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 ------------------------------------------------------------------------------------------------------------------- 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> |
|---|---|---|
| Previous by Date: | Re: ucd-4.2.4 and netsnmp5.0: 00298, Dave Shield |
|---|---|
| Next by Date: | Re: generating code for traps with mib2c: 00298, Dave Shield |
| Previous by Thread: | Re: generating code for traps with mib2ci: 00298, Dave Shield |
| Next by Thread: | Re: generating code for traps with mib2c: 00298, Dave Shield |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |