Re: help needed with root oid and getnext operation

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/2/25 EYRE Bernadette <[email protected]>:
> Thank you both Mike and Harish, every little help counts.
> a little more help from others on other points
> will be greatly appreciated

Mike has answered the issues regarding general SNMP processing.
I've no idea what information Harish has suggested, since this doesn't
seem to have been copied to the list.

But it's impossible to advise you in more detail as to your precise
code, because you've given no informaiton about what your code
actually looks like.
   There are several different table helpers, which work in very
different ways.   I'm not prepared to try and guess which one
you are actually using, which makes it impossible to answer a
question such as

> 3 - if I'm expected to return only the index (modified oid?)
> of the next valid instance, do I modify the
>  name field of the netsnmp_variable_list struct?


Similarly:

> 2 - if I'm expected to return a value as a reply to GETNEXT
> call, why then my subagent is called again with GET mode?

I can't answer that without some indication of what query is
being sent to the master agent.   Is this a single GETNEXT
request, "snmpwalk" or what?  What OID(s) are being requested,
and how do these relate to the OIDs of the subagent tables?
Exactly what OIDs does the subagent register anyway?


It's *very* difficult to answer the question
   "why doesn't my code work".
We need solid information in order to have a chance of helping you.

Dave

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.