Re: How to add EtherLike-MIB to net-snmp?

2010-03-24 Thread Kavita Raghunathan
Thanks for the response. I'll keep looking at the if-mib and see if I can figure it out or use mib2c to use a different template on it. Actually I see so much information in Agent.txt and README.mib2c that I missed before I sent out this email and I would have surely had my wrist slapped at most o

Re: How to add EtherLike-MIB to net-snmp?

2010-03-24 Thread Dave Shield
On 24 March 2010 13:58, Kavita Raghunathan wrote: >>>       For now, let me ask you: how do I use EtherLike-MIB.txt >>> to generate .c and .h, even if they are only stubs ? >> >> Copy the MIB file into the appropriate directory, >> and then run >> >>     mib2c -c mib2c.{template}.conf  EtherLike-M

Re: How to add EtherLike-MIB to net-snmp?

2010-03-24 Thread Kavita Raghunathan
Please see my comments. On 3/24/10 8:51 AM, "Dave Shield" wrote: > On 24 March 2010 13:45, Kavita Raghunathan > wrote: >> But I thought I could start with any MIB file (from an RFC, or proprietary) >> and generate stubs. > > Correct. !! We have about 5 proprietary MIBs, so this feature is ab

Re: How to add EtherLike-MIB to net-snmp?

2010-03-24 Thread Dave Shield
On 24 March 2010 13:45, Kavita Raghunathan wrote: > But I thought I could start with any MIB file (from an RFC, or proprietary) > and generate stubs. Correct. > For now, let me ask you: how do I use EtherLike-MIB.txt > to generate .c and .h, even if they are only stubs ? Copy the MIB file

Re: How to add EtherLike-MIB to net-snmp?

2010-03-24 Thread Kavita Raghunathan
Ok. I understand this version does not come with Etherlike-MIB. But I thought I could start with any MIB file (from an RFC, or proprietary) and generate stubs. For now, let me ask you: how do I use EtherLike-MIB.txt to generate .c and .h, even if they are only stubs ? ( and I have to implement the

Re: How to add EtherLike-MIB to net-snmp?

2010-03-24 Thread Dave Shield
On 24 March 2010 06:29, sanjaykumar wrote: > Does net-snmp-5.4.1 version code have the "EtherLike-MIB" implementation ? No. The code for the EtherLike-MIB was only received in late 2008, and the 5.4.x line was started over a year previously. New functionality is only included in subsequent relea

Re: How to add EtherLike-MIB to net-snmp?

2010-03-23 Thread sanjaykumar
Does net-snmp-5.4.1 version code have the "EtherLike-MIB" implementation ?? find out in PATH "agent/mibgroup/EtherLike-MIB" If not try "net-snmp-5.5" it has  "EtherLike-MIB" implementation. Rgds, Sanjay Kavita Raghunathan wrote: How to add

How to add EtherLike-MIB to net-snmp?

2010-03-23 Thread Kavita Raghunathan
Hello, I’ve tried various things to add EtherLike-MIB to net-snmp and have also been googling real hard but cannot find the answer. I’m using net-snmp-5.4.1 1. I did export MIBS = ALL followed by ./configure as well as make, make install but it pulled in everything except EtherLike MIB into th