Re: [Fwd: Re: Q: how to create a simple agent deals with scalars]

This is a discussion on Re: [Fwd: Re: Q: how to create a simple agent deals with scalars] within the SNMP Users forums, part of the Networking and Network Related category; Everything seems to work now. My extension agent also works. It didn't work yesterday because my init function name ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-21-2007
Xuan Pan
 
Posts: n/a
Default Re: [Fwd: Re: Q: how to create a simple agent deals with scalars]

Everything seems to work now. My extension agent also works. It didn't
work yesterday because my init function name didn't comply with the
init_FILENAME rule. Thank you so much.

Cheers

/Pan

> On 21/12/2007, Xuan Pan <xuan@kth.se> wrote:
>> > OK.
>> > Just to confirm - does
>> > "snmpgetnext -v 1 -c public localhost ip"
>> >
>> > still return a noSuchName error?

>>
>> This one seems to work.

>
> Good - that seems to be a change from earlier.
>
> What happens if you try to query your extension now?
>
>
>> snmpget -v 1 -c public localhost ipForwarding.0 also works
>> (but not the object ipForwarding.

>
> That's expected.
>
>> I also walked further to get some other objects such
>> as ipDefaultTTL.0, ipInReceives.0... It seems they have
>> a sub-identifier '.0' for each of the objects)

>
> Correct.
> *All* MIB OIDs returned from an SNMP agent will
> always have some form of "instance sub-identifier".
> This will be the index values for table objects,
> and .0 for scalars.
>
>
> Now that the agent is returning information from
> the IP-MIB, it's worth trying your extension MIB again.
>
> Dave
>
> PS: Please note that I may not be around much over
> the next couple of weeks. This is the last day before
> the University shuts for Christmas/New Year.
>




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:34 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0