Subagent scalar group

Glenn MacGregor <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi All,

I am using register_scalar_group to register for some oids in my agentx
subagent. I can do get's no problem. When I try to walk it works but the oid
that is asked for (and returned) is not completly correct.

snmpget -c public -v1 10.1.1.1 .1.3.6.1.4.1.2234.67.12.4.1.1.0
The above returns fine.

snmpwalk -c public -v1 10.1.1.1 .1.3.6.1.4.1.2234.67.12.4.1
The first object returned is:
.1.3.6.1.4.1.2234.67.12.4.1.2 = Test

If you notice the ending 0 is not present. This would not be a problem but I was
a product that walks the MIB and from the result of that does a get on each
variable. Since the walk returns .1.3.6.1.4.1.2234.67.12.4.1.2 the subsequent
get is of the form

snmpget -c public -v1 10.1.1.1 .1.3.6.1.4.1.2234.67.12.4.1.2 and the return of
that get is noSuchName.

Is there a problem with the getnext -> get handler or is it up to me to tack on
the ending 0?

Thanks

 Glenn 

Glenn MacGregor
HighStreet Networks

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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.