End of table error

Kirk Jubeck kjubeck____signalsoftcorp.com
Thu May 18 18:38:21 CEST 2000


Frank,
I'm having a problem when querying a table using Agent++3.3e and
SNMP++2.8.  The class to build the table is derived from the MibTable
class.  The results are different based on whether we using SNMP v1 or
v2c.  When querying the entire table using SNMP v2c and get_next
requests, it tries to query past the last OID in the table.  When using
SNMP v1, the manager seems to know when to quit querying the table.  Is
there anything special I need to do for the last OID in the table or
should that be taken care of by Agent++?  Contained are the last portion
of output from a SNMP v1 and v2c case.  Not the OID
1.3.6.1.4.1.5411.1.4.1.2.1.12.2 which is the last OID in the table.

The following lines are my main concern:

>From Version 1
20000515.08:50:00: 23656: (2)EVENT  : RequestList: request received
(id)(siz)(fro)(ver)(com): (10351), (1), (63.67.206.41/58717), (SNMPv1),
(public).
20000515.08:50:00: 23656: (2)EVENT  : Agent: starting thread execution.
20000515.08:50:00: 23656: (2)EVENT  : Mib: process request: getnext
request, oid: (24), (1.3.6.1.4.1.5411.1.4.1.2.1.12.2).
20000515.08:50:00: 23656: (3)EVENT  : Mib: process subrequest: getnext
request, oid: (24), (1.3.6.1.4.1.5411.1.4.1.2.1.12.2).
20000515.08:50:00: 23656: (3)EVENT  : RequestList: finished subrequest::
(0), (1.3.6.1.4.1.5411.1.4.1.2.1.12.2), ().
20000515.08:50:00: 23656: (2)EVENT  : RequestList: answer request: (24).

20000515.08:50:00: 23656: (4)EVENT  : RequestList: request answered:
(10351), (24), (63.67.206.41/58717), (2), (0).

/\    /\

|      |

Here
... the queries from the manager stop and this work right.

>From Version 2c
20000515.08:45:44: 23610: (2)EVENT  : RequestList: request received
(id)(siz)(fro)(ver)(com): (10326), (1), (63.67.206.41/58539), (SNMPv2c),
(public).
20000515.08:45:44: 23610: (2)EVENT  : Agent: starting thread execution.
20000515.08:45:44: 23610: (2)EVENT  : Mib: process request: getnext
request, oid: (24), (1.3.6.1.4.1.5411.1.4.1.2.1.12.2).
20000515.08:45:44: 23610: (3)EVENT  : Mib: process subrequest: getnext
request, oid: (24), (1.3.6.1.4.1.5411.1.4.1.2.1.12.2).
20000515.08:45:44: 23610: (3)EVENT  : RequestList: finished subrequest::
(0), (1.3.6.1.4.1.5411.1.4.1.2.1.12.2), ().
20000515.08:45:44: 23610: (2)EVENT  : RequestList: answer request: (24).

20000515.08:45:44: 23610: (4)EVENT  : RequestList: request answered:
(10326), (24), (63.67.206.41/58539), (0), (-3).

/\    /\

|      |

Here
... then it keeps trying to query OID 1.3.6.1.4.1.5411.1.4.1.2.1.12.2
with the same result

However, there is no OID after 1.3.6.1.4.1.5411.1.4.1.2.1.12.2 the
manager should stop asking.

--
Kirk E. Jubeck
Software Engineer
Signal Soft Corp., Boulder
voice: (303)381-3033
email: kjubeck____signalsoftcorp.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.agentpp.org/pipermail/agentpp/attachments/20000518/c6d1f6f8/attachment.htm 
-------------- next part --------------
1>In ssProcessEntry::get_next_request
1>In ssInstID::get_request: value = 2
20000515.08:50:00: 23656: (3)EVENT  : RequestList: finished subrequest:: (0), (1.3.6.1.4.1.5411.1.4.1.2.1.12.1), (2).
20000515.08:50:00: 23656: (2)EVENT  : RequestList: answer request: (22).
20000515.08:50:00: 23656: (4)EVENT  : RequestList: request answered: (10349), (22), (63.67.206.41/58717), (0), (0).
20000515.08:50:00: 23656: (2)EVENT  : Agent: finished thread execution.
20000515.08:50:00: 23656: (2)EVENT  : RequestList: request received (id)(siz)(fro)(ver)(com): (10350), (1), (63.67.206.41/58717), (SNMPv1), (public).
20000515.08:50:00: 23656: (2)EVENT  : Agent: starting thread execution.
20000515.08:50:00: 23656: (2)EVENT  : Mib: process request: getnext request, oid: (23), (1.3.6.1.4.1.5411.1.4.1.2.1.12.1).
20000515.08:50:00: 23656: (3)EVENT  : Mib: process subrequest: getnext request, oid: (23), (1.3.6.1.4.1.5411.1.4.1.2.1.12.1).
1>In ssProcessEntry::get_next_request
1>In ssInstID::get_request: value = 2
20000515.08:50:00: 23656: (3)EVENT  : RequestList: finished subrequest:: (0), (1.3.6.1.4.1.5411.1.4.1.2.1.12.2), (2).
20000515.08:50:00: 23656: (2)EVENT  : RequestList: answer request: (23).
20000515.08:50:00: 23656: (4)EVENT  : RequestList: request answered: (10350), (23), (63.67.206.41/58717), (0), (0).
20000515.08:50:00: 23656: (2)EVENT  : Agent: finished thread execution.
20000515.08:50:00: 23656: (2)EVENT  : RequestList: request received (id)(siz)(fro)(ver)(com): (10351), (1), (63.67.206.41/58717), (SNMPv1), (public).
20000515.08:50:00: 23656: (2)EVENT  : Agent: starting thread execution.
20000515.08:50:00: 23656: (2)EVENT  : Mib: process request: getnext request, oid: (24), (1.3.6.1.4.1.5411.1.4.1.2.1.12.2).
20000515.08:50:00: 23656: (3)EVENT  : Mib: process subrequest: getnext request, oid: (24), (1.3.6.1.4.1.5411.1.4.1.2.1.12.2).
20000515.08:50:00: 23656: (3)EVENT  : RequestList: finished subrequest:: (0), (1.3.6.1.4.1.5411.1.4.1.2.1.12.2), ().
20000515.08:50:00: 23656: (2)EVENT  : RequestList: answer request: (24).
20000515.08:50:00: 23656: (4)EVENT  : RequestList: request answered: (10351), (24), (63.67.206.41/58717), (2), (0).
20000515.08:50:00: 23656: (2)EVENT  : Agent: finished thread execution.

-------------- next part --------------
1>In ssProcessEntry::get_next_request
1>In ssInstID::get_request: value = 2
20000515.08:45:44: 23610: (3)EVENT  : RequestList: finished subrequest:: (0), (1.3.6.1.4.1.5411.1.4.1.2.1.12.1), (2).
20000515.08:45:44: 23610: (2)EVENT  : RequestList: answer request: (22).
20000515.08:45:44: 23610: (4)EVENT  : RequestList: request answered: (10324), (22), (63.67.206.41/58539), (0), (0).
20000515.08:45:44: 23610: (2)EVENT  : Agent: finished thread execution.
20000515.08:45:44: 23610: (2)EVENT  : RequestList: request received (id)(siz)(fro)(ver)(com): (10325), (1), (63.67.206.41/58539), (SNMPv2c), (public).
20000515.08:45:44: 23610: (2)EVENT  : Agent: starting thread execution.
20000515.08:45:44: 23610: (2)EVENT  : Mib: process request: getnext request, oid: (23), (1.3.6.1.4.1.5411.1.4.1.2.1.12.1).
20000515.08:45:44: 23610: (3)EVENT  : Mib: process subrequest: getnext request, oid: (23), (1.3.6.1.4.1.5411.1.4.1.2.1.12.1).
1>In ssProcessEntry::get_next_request
1>In ssInstID::get_request: value = 2
20000515.08:45:44: 23610: (3)EVENT  : RequestList: finished subrequest:: (0), (1.3.6.1.4.1.5411.1.4.1.2.1.12.2), (2).
20000515.08:45:44: 23610: (2)EVENT  : RequestList: answer request: (23).
20000515.08:45:44: 23610: (4)EVENT  : RequestList: request answered: (10325), (23), (63.67.206.41/58539), (0), (0).
20000515.08:45:44: 23610: (2)EVENT  : Agent: finished thread execution.
20000515.08:45:44: 23610: (2)EVENT  : RequestList: request received (id)(siz)(fro)(ver)(com): (10326), (1), (63.67.206.41/58539), (SNMPv2c), (public).
20000515.08:45:44: 23610: (2)EVENT  : Agent: starting thread execution.
20000515.08:45:44: 23610: (2)EVENT  : Mib: process request: getnext request, oid: (24), (1.3.6.1.4.1.5411.1.4.1.2.1.12.2).
20000515.08:45:44: 23610: (3)EVENT  : Mib: process subrequest: getnext request, oid: (24), (1.3.6.1.4.1.5411.1.4.1.2.1.12.2).
20000515.08:45:44: 23610: (3)EVENT  : RequestList: finished subrequest:: (0), (1.3.6.1.4.1.5411.1.4.1.2.1.12.2), ().
20000515.08:45:44: 23610: (2)EVENT  : RequestList: answer request: (24).
20000515.08:45:44: 23610: (4)EVENT  : RequestList: request answered: (10326), (24), (63.67.206.41/58539), (0), (-3).
20000515.08:45:44: 23610: (2)EVENT  : Agent: finished thread execution.
20000515.08:45:45: 23610: (2)EVENT  : RequestList: request received (id)(siz)(fro)(ver)(com): (10326), (1), (63.67.206.41/58539), (SNMPv2c), (public).
20000515.08:45:45: 23610: (2)EVENT  : Agent: starting thread execution.
20000515.08:45:45: 23610: (2)EVENT  : Mib: process request: getnext request, oid: (25), (1.3.6.1.4.1.5411.1.4.1.2.1.12.2).
20000515.08:45:45: 23610: (3)EVENT  : Mib: process subrequest: getnext request, oid: (25), (1.3.6.1.4.1.5411.1.4.1.2.1.12.2).
20000515.08:45:45: 23610: (3)EVENT  : RequestList: finished subrequest:: (0), (1.3.6.1.4.1.5411.1.4.1.2.1.12.2), ().
20000515.08:45:45: 23610: (2)EVENT  : RequestList: answer request: (25).
20000515.08:45:45: 23610: (4)EVENT  : RequestList: request answered: (10326), (25), (63.67.206.41/58539), (0), (-3).
20000515.08:45:45: 23610: (2)EVENT  : Agent: finished thread execution.
20000515.08:45:46: 23610: (2)EVENT  : RequestList: request received (id)(siz)(fro)(ver)(com): (10326), (1), (63.67.206.41/58539), (SNMPv2c), (public).
20000515.08:45:46: 23610: (2)EVENT  : Agent: starting thread execution.
20000515.08:45:46: 23610: (2)EVENT  : Mib: process request: getnext request, oid: (26), (1.3.6.1.4.1.5411.1.4.1.2.1.12.2).
20000515.08:45:46: 23610: (3)EVENT  : Mib: process subrequest: getnext request, oid: (26), (1.3.6.1.4.1.5411.1.4.1.2.1.12.2).
20000515.08:45:46: 23610: (3)EVENT  : RequestList: finished subrequest:: (0), (1.3.6.1.4.1.5411.1.4.1.2.1.12.2), ().
20000515.08:45:46: 23610: (2)EVENT  : RequestList: answer request: (26).
20000515.08:45:46: 23610: (4)EVENT  : RequestList: request answered: (10326), (26), (63.67.206.41/58539), (0), (-3).
20000515.08:45:46: 23610: (2)EVENT  : Agent: finished thread execution.



More information about the AGENTPP mailing list