[AGENT++] A few questions on the master & subagent examples
Jochen Katz
katz at agentpp.com
Wed Mar 28 23:29:22 CEST 2007
Hi,
> I'm still expecting to see the entries in the table as per the code in
> subagent.cpp, i.e. "a text" and "another text" plus the two numbers, is
> anything else needed on the command line for snmpBulk or do I have it
> all wrong?
the command line is ok, as the master agent receives the request, but it
seems that it answers it himself:
> 20070328.11:40:56: 24369: (2)EVENT : Mib: process request: getbulk
> request, oid: (22), (1.3.6.1.4.1.4976.6.1.1)
> 20070328.11:40:56: 24369: (3)EVENT : RequestList: finished subrequest
> (ind)(oid)(val)(syn): (0), (1.3.6.1.4.1.4976.6.1.1), (), (130)
> I also wonder what the engine id is that the snmpBulk doesn't know
> about?
SNMPv3 uses engine ids and the manager uses engine id discovery to find
it out. Therefore the snmpBulk sends at least two requests to the agent.
> So it does look as though the request is getting through but I'm
> concerned with this "-1401" mentioned in both debug traces.
-1401 is defined as SNMPv3_MP_OK which is the "ok" return for v3MP.
The unmodified examples are working for me.
Regards,
Jochen
More information about the AGENTPP
mailing list