Hi,
 
I am trying my own AgentX implementation (does not use NET-SNMP) against a 
NET-SNMP snmpd server.
Opening the connection and registering a table row for my subtree seems to 
work, but no SNMP requests
are routed to my agentx subagent. I tried to register a whole subtree (no table 
row), but it also dos not work.
 
The SNMP requests reach the NET-SNMP, but are answered immediately with an 
error. GetNext skips
the subtree and returns the first oid of the next one.
 
When I turn on agentx debug, I get the following:
 
netsnmp_assert x failed ..\..\agent\agent_registry.c:536
netsnmp_assert x failed ..\..\agent\agent_registry.c:536
netsnmp_assert x failed ..\..\agent\agent_registry.c:536
netsnmp_assert x failed ..\..\agent\agent_registry.c:536
Turning on AgentX master support.
agentx/config: port spec: UDP:localhost:705
agentx/master: initializing...
agentx/master: initializing...   DONE
NET-SNMP version 5.4.1
agentx/master: handle pdu (req=0x1,trans=0x0,sess=0x0)
agentx/master: open 00A524A8
agentx/master: opened 00A525F0 = 5 with flags = a0
agentx/master: send response, stat 0 (req=0x1,trans=0x0,sess=0x0)
agentx_build: packet built okay
agentx/master: handle pdu (req=0x1,trans=0x0,sess=0x5)
agentx/master: in register_agentx_list
agentx/master: registered ok
agentx/master: send response, stat 0 (req=0x1,trans=0x0,sess=0x5)
agentx_build: packet built okay
 
Can anyone give me some hints what may be wrong?
Are there additional configurations necessary to route SNMP
requests for the registered subtree to my agent?
 
My snmpd.conf contains:

rwcommunity public 
master agentx
agentxsocket UDP:localhost:705

Regards,
Andreas Müller



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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

Reply via email to