Problems retreiving values from a NT agent++

helge.fredriksen____4tel.no helge.fredriksen____4tel.no
Thu Jun 22 08:32:22 CEST 2000


I solved the problem by looking a bit closer on the persistent saving
of saving of row-data in my process table. 

I see that all mibleafs are saved in the subcatalogue "config". 
Exactly when does this saving take place? How could one change
the catalogue where things get saved?

A segmentation fault was detected when removing unused rows upon
timeout. I'm running agent++3.4a, would this have been fixed in
agent++3.4e (current version)?

Best regards,
Helge Fredriksen

-----Original Message-----
From: helge.fredriksen____4tel.no [mailto:helge.fredriksen____4tel.no]
Sent: 21. juni 2000 13:47
To: agentpp-dl____fock.de
Subject: Problems retreiving values from a NT agent++


Hello!

I'm trying to make a port of my solaris agent++ to NT. 
Exactly the same code which is working fine one solaris, 
but on NT I'm having problems getting snmpget calls to work 
towards mibs included in the agent using mib.add(new whatever_mib()). 

The error which is generated is "No Such Object available on this agent"

I've been tracing the agent++ code to where it is going wrong 
to the method Mib::find_managing_objects where it probably (?) should
have found that the statement 

is_complex_node(retval) 

should have returned TRUE, but is in fact returning FALSE.

Transcript of the log:

20000621.13:53:05: 00250: (2)EVENT  : RequestList: request received
(id)(siz)(fro)(ver)(com): (1774314275), (1), (148.118.152.2/64518),
(SNMPv3), (reco4tel).
20000621.13:53:05: 00250: (2)EVENT  : RequestList: request received:
(secmod)(seclev)(cid)(cname): : (3), (2), (  80 00 13 70 05 74 34 74 2D 62
6F 2D 32 38 2D 30    ...p.t4t-bo-28-0  32 31 37 11 94
217..
), (1).
20000621.13:53:05: 00250: (2)EVENT  : Agent: starting thread execution.
20000621.13:53:05: 00250: (2)EVENT  : Mib: process request: get request,
oid: (16), (1.3.6.1.4.1.4452.1.200.2.1.1.1.0).
20000621.13:53:07: 00250: (3)EVENT  : Mib: process subrequest: get request,
oid: (16), (1.3.6.1.4.1.4452.1.200.2.1.1.1.0).
20000621.13:53:10: 00250: (3)EVENT  : RequestList: finished subrequest
(ind)(oid)(val): (0), (1.3.6.1.4.1.4452.1.200.2.1.1.1.0), ().

Any idea what might be wrong?

Best regards,
Helge Fredriksen



More information about the AGENTPP mailing list