I working on Montavista based ucd-snmp 4.2.6 on mips 5 processor (embedded system)

 

I’m tring to extend agent  to support ATM-TC & ATM-MIB (RFC 2515)

 

I did the following steps:

 

Add to snmpd.conf the relevant mibs and ensure I get no error when I lunch the system.

 

I failed to run ‘mib2c atmMIB’ even it was working for system / tcp/udp and example shared object etc…

 

I was able to run snmptranslateTp –IR atmMIB and see all atmMIB correctly

 

So.. I use host linux machine with net-snmp latest and generated atmMIB.c and h file.

 

And make the minimal effort to make the C module complie. (I gave all scalar values constant of 1)

 

I prepared shared object and load it successfully using dlmod node (I open debug level and saw the load was successful)

 

When I tried to make

 

Snmpget –v 2c/1 –c public localhost <scalar val>

I get no such name error.

 

When I try the walk command I get:

 

atmMIB.1.8.0  = 1

atmMIB.1.13.0  = 1 (Instead of getting the full strings)

 

I have added printings to scalar get function (37.1.8/10/13 are readonly) and saw the printing only ion walk command.

Questions

I didn’t get the full names why?

I was not able to make mib2c atmMIB from target even tho snmptranslateTp –IR worked well

I was not able to make snmpget (only get next and snmpwalk)

 

Any clues?

 

Thanks

 

 

 

Reply via email to