snmpwalk problem

Elie Elia <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAO9=PUv05om=qisG8GCYHJGC9ymbzFZGYmq8geS2zePmg3rVKQ@mail.gmail.com>
Hi Team,

I am having a problem when retrieving the value of dynamic counters having
an index greater than 114 as shown below on my Linux box

snmpwalk -v2c -c public localhost
jinny.generic.jar.smppsirTable.smppsirEntry.smppsir-dlvmo.115
jinny.generic.jar.smppsirTable.smppsirEntry.smppsir-dlvmo.115: Unknown
Object Identifier (Index out of range: 115 (name))

While if i perform the same command on an index lower than 115 the value is
properly returned

snmpwalk -v2c -c public localhost
jinny.generic.jar.smppsirTable.smppsirEntry.smppsir-dlvmo.111
JINNY-JAR-MIB::smppsir-dlvmo.111 = Counter32: 0

The related part of the MIB is the following:

-- JAR- SMPP SI RX dynamic counters
smppsirTable    OBJECT-TYPE
SYNTAX      SEQUENCE OF SMPPSIREntry
ACCESS      not-accessible
STATUS      mandatory
DESCRIPTION ""
::= { jar 60 }

smppsirEntry    OBJECT-TYPE
SYNTAX      SMPPSIREntry
ACCESS      not-accessible
STATUS      mandatory
DESCRIPTION ""
INDEX       { name }
::= { smppsirTable 1 }

SMPPSIREntry    ::= SEQUENCE {
        name        OCTET STRING,
        smppsir-bndrx   Counter,
        smppsir-bndrx-a Counter,
        smppsir-dlvmo   Counter,
        smppsir-dlvmo-a Counter,
        smppsir-dr  Counter,
        smppsir-dr-a    Counter,
        smppsir-alive   Gauge,
        smppsir-slink   Counter,
        smppsir-slink-a Counter,
        smppsir-rlink   Counter,
        smppsir-rlink-a Counter,
        smppsir-dmo-ack   Counter,
        smppsir-dr-ack    Counter,
        smppsir-dr-dlv       Counter,
        smppsir-dr-udlv   Counter }

name        OBJECT-TYPE
SYNTAX          OCTET STRING (SIZE(0..255))
ACCESS          not-accessible
STATUS          mandatory
DESCRIPTION "The dynamic name of the counter"
::= { smppsirEntry 2 }

smppsir-bndrx   OBJECT-TYPE
SYNTAX      Counter
ACCESS      read-only
STATUS      mandatory
DESCRIPTION "Total receiver binds"
::= { smppsirEntry 3 }

smppsir-bndrx-a OBJECT-TYPE
SYNTAX      Counter
ACCESS      read-only
STATUS      mandatory
DESCRIPTION "Total receiver binds (ack)"
::= { smppsirEntry 4 }

smppsir-dlvmo   OBJECT-TYPE
SYNTAX      Counter
ACCESS      read-only
STATUS      mandatory
DESCRIPTION "Total Received MO messages"
::= { smppsirEntry 5 }

smppsir-dlvmo-a OBJECT-TYPE
SYNTAX      Counter
ACCESS      read-only
STATUS      mandatory
DESCRIPTION "Total Received MO messages (ack)"
::= { smppsirEntry 6 }


If we run the snmpwalk to retrieve all the dlvmo counters values all the
counters are displayed even the ones having an index higher than 114

snmpwalk -v2c -c public localhost
jinny.generic.jar.smppsirTable.smppsirEntry.smppsir-dlvmo
JINNY-JAR-MIB::smppsir-dlvmo.1 = Counter32: 0
JINNY-JAR-MIB::smppsir-dlvmo.2 = Counter32: 0
JINNY-JAR-MIB::smppsir-dlvmo.3 = Counter32: 0
JINNY-JAR-MIB::smppsir-dlvmo.4 = Counter32: 0
JINNY-JAR-MIB::smppsir-dlvmo.5 = Counter32: 0

...
...

JINNY-JAR-MIB::smppsir-dlvmo.118 = Counter32: 0
JINNY-JAR-MIB::smppsir-dlvmo.119 = Counter32: 19136
JINNY-JAR-MIB::smppsir-dlvmo.120 = Counter32: 38025
JINNY-JAR-MIB::smppsir-dlvmo.121 = Counter32: 113871
JINNY-JAR-MIB::smppsir-dlvmo.122 = Counter32: 190952

...
...


Thus the problem is only when trying to retrieve dynamic counters with
index greater than 114
The server has SNMP version 5.3.2.2

snmpwalk -V
NET-SNMP version: 5.3.2.2

Can you advice concerning this problem

Thanks in advance.

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.