Re: compilation of traps using mib2c

2007-10-03 Thread amit limaye
What errors do u get ? Please send the output or the error log -SIGTERM amit Original-Nachricht > Datum: Wed, 3 Oct 2007 15:13:55 +0100 (BST) > Von: Amit Kumar <[EMAIL PROTECTED]> > An: net-snmp-coders@lists.sourceforge.net > Betreff: compilation of traps using mib2c > Hi All,

Re: mib2c generated code and GET_NEXT

2007-03-01 Thread amit limaye
you can write ur own template code. The syntax is not very difficult and will help you get the exact code structure u want. I have done this once since but i wasnt integrating with the netsnmp agent -SIGTERM amit Original-Nachricht Datum: Thu, 1 Mar 2007 12:05:00 -0500 Von: A

Re: not able find the mib node for mib2c

2006-06-05 Thread amit limaye
u are again commiting the same mistake there is will be a root node in the MIB just pick the root node -SIGTERN amit >  Original-Nachricht > Datum: Mon, 5 Jun 2006 14:47:03 -0700 (PDT) > Von: prasad duggineni <[EMAIL PROTECTED]> > An: net-snmp-coders@lists.sourceforge.net > 

Re: handling empty structures genrated by mib2c

2006-04-19 Thread amit limaye
hey robert i used some logic to handle this logic i will post the mib2c conf file on the grp tommorow i now generate classes out of the mib -SIGTERM amit > --- Ursprüngliche Nachricht --- > Von: Robert Story <[EMAIL PROTECTED]> > An: "amit limaye" <[EMAIL PROTECTE

handling empty structures genrated by mib2c

2006-04-05 Thread amit limaye
Hello, i have written my own mib2c.conf file to generate header files from MIB which lists all traps and the corresponding structure entries for storing data passed with the traps. Here is wht my mib2c.conf files looks like

Re: mib2c

2006-03-08 Thread amit limaye
@ > #define $i $i.objectID > @end@ > @foreach $i table@ > @foreach $c column@ > #define $c $c.objectID > @end@ > @end@ > > and run "mib2c -c mib2c.sample-header.conf system". > > Regards, > Kanda > > --__--__-- > > Mes

Fwd: Re: mib2c

2006-03-07 Thread amit limaye
Followup to the earlier mail i modified the mib2c.conf files in the /usr/local/share/snmp/ directory and generated code using a template i wrote. Hope this is the right way to do it -SIGTERM amit --- Weitergeleitete Nachricht --- Von: "amit limaye" <[EMAIL PROTECTED]>

Re: mib2c

2006-03-07 Thread amit limaye
Ursprüngliche Nachricht --- > Von: Wes Hardaker <[EMAIL PROTECTED]> > An: "amit limaye" <[EMAIL PROTECTED]> > Kopie: net-snmp-coders@lists.sourceforge.net > Betreff: Re: mib2c > Datum: Tue, 07 Mar 2006 10:51:57 -0800 > > >>>>> On Fri, 24 Feb 2006 21

mib2c

2006-02-24 Thread amit limaye
I have been trying to generate header files from the MIB using mib2c. What i am interested in is generating the the OID list from it. This is wht my my sheel output look like [EMAIL PROTECTED] mibs]# echo $MIBS HCNUM-TC i have exported the MIBS variable When i run mib2c it give me this error

differentiating between 2 devices of the same type

2006-02-22 Thread amit limaye
I have been trying to write a SNMP application which requests data from multiple devices on a network. All the devices are of the same type and share the same MIB. how can i differentiate between any 2 devices. I know that we can add .0 or .1 at the end of each OID to send it to the first instance

Re: Compile issue with gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)

2006-01-31 Thread amit limaye
> Von: Thomas Anders <[EMAIL PROTECTED]> > An: net-snmp-coders@lists.sourceforge.net > Betreff: Re: Compile issue with gcc version 3.4.2 20041017 (Red Hat > 3.4.2-6.fc3) > Datum: Tue, 31 Jan 2006 19:35:53 +0100 > > amit limaye wrote: > > This is what is present in

Re: Compile issue with gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)

2006-01-31 Thread amit limaye
This is what is present in config.log #define HAVE_STDARG_H 1 -SIGTERM amit > --- Ursprüngliche Nachricht --- > Von: Thomas Anders <[EMAIL PROTECTED]> > An: amit limaye <[EMAIL PROTECTED]> > Kopie: net-snmp-coders@lists.sourceforge.net > Betreff: Re: Compile i

Compile issue with gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)

2006-01-31 Thread amit limaye
Hello , i tried compiling netsnmp-5.3.0.1 on the Fedora 3 and i m getting errors like /usr/lib/gcc/i386-redhat-linux/3.4.2/include/varargs.h:4:2: #error "GCC no longe r implements ." /usr/lib/gcc/i386-redhat-linux/3.4.2/include/varargs.h:5:2: #error "Revise your code to use ." Any suggu