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

Frank Fock fock at agentpp.com
Tue Mar 27 00:05:31 CEST 2007


Hi Michael,

Are running the subagent.cpp example? Then you
will have to use the "subagent" context to get
that static table. It is not available in the
default context.

Best regards,
Frank

michael.carr at bt.com wrote:
> Hi All,
> 
> I've compiled everything and both the master and subagent appear to be
> talking to each other going on the output but what command (snmpBulk or
> some such) could be used to actually get information from the subagent?
> Going on the code in the subagent example it contains a static table at
> oid 1.3.6.1.4.1.4976.6.1.1 but using the command as below gives the
> result that follows it:
> 
> []$ ./snmpBulk 127.0.0.1 1.3.6.1.4.1.4976.6.1.1 -P4700
> 20070326.18:47:55: 7514: (6)INFO   : AuthPriv: Added auth protocol (id):
> (3)
> 20070326.18:47:55: 7514: (6)INFO   : AuthPriv: Added auth protocol (id):
> (2)
> 20070326.18:47:55: 7514: (6)INFO   : AuthPriv: Added priv protocol (id):
> (2)
> 20070326.18:47:55: 7514: (3)INFO   : AuthPriv: Added default Auth and
> Priv protocols.
> SNMP++ GetBulk to 127.0.0.1 SNMPV1 Retries=1 Timeout=1000ms Non Reptrs=0
> Max Reps=1
>  Community=public
> 20070326.18:47:55: 7514: (4)DEBUG  : SNMPMessage: return value for build
> message: (0)
> Oid = 1.3.6.1.6.3.1.1.6.1.0
> Value = 0
>  
> Which doesn't look like the information I request with the snmpBulk.
> So, what command can I use that will actually return something from the
> subagent or is the example subagent code incomplete and so won't return
> anything from the subagent?  (I can query the master agent ok and get
> the sysDescr from it.)
> 
> Cheers,
> Mike
> 
> 
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the AGENTPP mailing list