With mib2c tool , I generated the code and and it corrected errors for table
by assigning default values for integers 1 and string "abc" , and I did not
write any code for doing get, get-next request . Just I wanted to make sure
that make runs the clean and installs.

For get-req , get-next-req , I have to fill the skelton code for which
mib2c generated .

Just to make sure that my mib is associated with the agent , I want to test
with snmptable command , which I suppose it should work. Or for that also
I have to fill the skelton.

Please help me after compling and doing make and make install ... how to
test the my generated code will be part of the agent.

May be this sounding simple to you , please help me in this regard,

Thanks in advance,
Pranesh

On Feb 1, 2008 7:58 PM, Dave Shield wrote:
> On 01/02/2008, Pranesh Kulkarni wrote:
> > Using mib2c tool , I generated code for the scalar and table and then
> > configured , make and make install . Then I ran snmpd
> >
> > if I issue snmpget it replies,
> > No Such Instance currently exists at this OID
>
>
> You've probably done something wrong.
>
>
> If you had provided a bit more detail about exactly what you did, then
> we might have been able to offer more detailed advice or assistance.
> But given the level of information you have provided, then all
> we can really say is that you've probably done something wrong.
>
> Dave
>

With mib2c tool , I generated the code and and it corrected errors for table by assigning default values for integers 1 and string "abc" , and I did not write any code for doing get, get-next request . Just I wanted to make sure that make runs the clean and installs.

For get-req , get-next-req , I have to fill the skelton code for which mib2c generated .

Just to make sure that my mib is associated with the agent , I want to test with snmptable command , which I suppose it should work. Or for that also I have to fill the skelton.

Please help me after compling and doing make and make install ... how to test the my generated code will be part of the agent.

On 01/02/2008, Pranesh Kulkarni <raneshvk@gmail.com">praneshvk@gmail.com> wrote:> Using mib2c tool , I generated code for the scalar and table and then> configured , make and make install . Then I ran snmpd

>> if I issue snmpget it replies,> No Such Instance currently exists at this OID

You've probably done something wrong.

If you had provided a bit more detail about exactly what you did, then

we might have been able to offer more detailed advice or assistance.But given the level of information you have provided, then allwe can really say is that you've probably done something wrong.