Problem using net-snmp as subagent (Error in packet)

"Johnny Ljunggren" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>

Hello

I've made a master AgentX (using agentpp) that uses net-snmp as subagent
to provide mib-II information. I get a general failure if I try to get
some of the OIDs.
This only occurs when running net-snmp as subagent, because it will return
the whole tree if running standalone.

# snmpwalk -v 2c -c public localhost
<snip some output>
IF-MIB::ifOutQLen.2 = Gauge32: 0
IF-MIB::ifOutQLen.3 = Gauge32: 0
Error in packet.
Reason: (genError) A general failure occured
Failed object: IF-MIB::ifOutQLen.3

# snmpwalk -v 2c -c public localhost IF-MIB::ifOutQLen.3
Error in packet.
Reason: (genError) A general failure occured
Failed object: IF-MIB::ifOutQLen.3

My agentx outputs this:
20070202.22:25:53: 567: (1)ERROR  : MasterAgentXMib: invalid AgentX response
(sd)(sid)(tid)(req-vbs)(resp-vbs): (15), (1), (96), (1), (0)

I've tried using the plain master agentx from the examples directory
(agentpp), and net-snmp 5.3.1 and 5.4 but the results are the same.

I'd appreciate some help on resolving this issue.
Where will the problem likely be?
What are the usual reasons for this?

best regards
-- 
Johnny Ljunggren, Navtek AS


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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.