[AGENT++] A few questions on the master & subagent examples

michael.carr at bt.com michael.carr at bt.com
Thu Mar 29 19:59:30 CEST 2007


Jochen, a couple of questions; what is the complete command line that
you are using and that's working?  Do you also have the debug output
from the command and also that from the master?

Thanks,
Mike 

-----Original Message-----
From: agentpp-bounces at agentpp.org [mailto:agentpp-bounces at agentpp.org]
On Behalf Of Jochen Katz
Sent: Wednesday, March 28, 2007 10:29 PM
To: agentpp at agentpp.org
Subject: Re: [AGENT++] A few questions on the master & subagent examples

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

_______________________________________________
AGENTPP mailing list
AGENTPP at agentpp.org
http://lists.agentpp.org/mailman/listinfo/agentpp



More information about the AGENTPP mailing list