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

michael.carr at bt.com michael.carr at bt.com
Mon Mar 26 19:59:27 CEST 2007


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





More information about the AGENTPP mailing list