Hi Robert, No problem, I am quite happy with any support I can get, it is most appreciated. I have attached a smaller scale version of the MIB, but it does indeed have the same issue when implemented. Here is the output you requested: 229 =>./snmpbulkwalk -On -v 2c -c public localhost MY-MIB::myObjects .1.3.6.1.4.1.8072.2.21.1.1.1.0 = INTEGER: 0 .1.3.6.1.4.1.8072.2.21.1.1.2.0 = INTEGER: 0 .1.3.6.1.4.1.8072.2.21.1.1.3.0 = INTEGER: 0 .1.3.6.1.4.1.8072.2.21.1.1.4.1.1.1 = INTEGER: 1 .1.3.6.1.4.1.8072.2.21.1.1.4.1.2.1 = INTEGER: 0 .1.3.6.1.4.1.8072.2.21.1.1.4.1.3.1 = INTEGER: 0 .1.3.6.1.4.1.8072.2.21.1.1.4.1.4.1 = INTEGER: 0 .1.3.6.1.4.1.8072.2.21.1.1.4.1.5.1 = INTEGER: 0 .1.3.6.1.4.1.8072.2.21.1.1.4.1.6.1 = INTEGER: 0 .1.3.6.1.4.1.8072.2.21.1.1.4.1.7.1 = INTEGER: 0 .1.3.6.1.4.1.8072.2.21.1.1.4.1.7.1 = No more variables left in this MIB View (It is past the end of the MIB tree) 230 => 230 =>./snmpwalk -On -v 2c -c public localhost MY-MIB::myObjects .1.3.6.1.4.1.8072.2.21.1.1.1.0 = INTEGER: 0 .1.3.6.1.4.1.8072.2.21.1.1.2.0 = INTEGER: 0 .1.3.6.1.4.1.8072.2.21.1.1.3.0 = INTEGER: 0 .1.3.6.1.4.1.8072.2.21.1.1.4.1.1.1 = INTEGER: 1 .1.3.6.1.4.1.8072.2.21.1.1.4.1.2.1 = INTEGER: 0 .1.3.6.1.4.1.8072.2.21.1.1.4.1.3.1 = INTEGER: 0 .1.3.6.1.4.1.8072.2.21.1.1.4.1.4.1 = INTEGER: 0 .1.3.6.1.4.1.8072.2.21.1.1.4.1.5.1 = INTEGER: 0 .1.3.6.1.4.1.8072.2.21.1.1.4.1.6.1 = INTEGER: 0 .1.3.6.1.4.1.8072.2.21.1.1.4.1.7.1 = INTEGER: 0 .1.3.6.1.4.1.8072.2.21.1.2.1.0 = INTEGER: 0 Unfortunately there are formatting issues with this email account, so please tell me if there is something that is unreadable. - John --- On Tue 06/07, Robert Story < [EMAIL PROTECTED] > wrote: From: Robert Story [mailto: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: net-snmp-users@lists.sourceforge.net Date: Tue, 7 Jun 2005 17:02:48 -0400 Subject: Re: array-user snmpbulkwalk worked for a table not entire mib On Thu, 12 May 2005 16:22:09 -0400 (EDT) [EMAIL PROTECTED] wrote:
JC> I have run into an issue when running snmpbulkwalk on my MIB
JC> implemented using array-user in 5.2.1.

Sorry for the delay. Can you send me:

1) your MY-MIB.txt file
2) output of snmpbulkwalk -On -v 2c -c public myhost MY-MIB::myObjects
3) output of snmpwalk -On -v 2c -c public myhost MY-MIB::myObjects

--
NOTE: messages sent directly to me, instead of the lists, will be deleted
unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support:
Archive:

You are lost in a twisty maze of little standards, all different.


Join Excite! - http://www.excite.com
The most personalized portal on the Web!
MY-MIB DEFINITIONS ::= BEGIN

IMPORTS

        netSnmpExamples 
                FROM NET-SNMP-EXAMPLES-MIB
        MODULE-IDENTITY, OBJECT-TYPE, Integer32
                FROM SNMPv2-SMI
        DisplayString, TEXTUAL-CONVENTION
                FROM SNMPv2-TC;
        
myMIB MODULE-IDENTITY
        LAST-UPDATED "200506040000Z"
        ORGANIZATION ""
        CONTACT-INFO ""
        DESCRIPTION   
                "Version: 0.1"
        REVISION "200506040000Z"
        DESCRIPTION
                "Initial version of this MIB."
        ::= { netSnmpExamples 21 }

myObjects               OBJECT IDENTIFIER ::= { myMIB 1 }

myDomainInfo            OBJECT IDENTIFIER ::= { myObjects 1 }
mySbInfo                OBJECT IDENTIFIER ::= { myObjects 2 }


-- ***************************************************************************
-- *                      Textual Conventions                                *
-- ***************************************************************************

MyKeyswitchState ::= TEXTUAL-CONVENTION
        STATUS      current
        DESCRIPTION
                "A enumerated value representing the state of a Domain
                Keyswitch."
        SYNTAX INTEGER { 
                off(1), 
                on(2)
        }

MyState ::= TEXTUAL-CONVENTION
        STATUS      current
        DESCRIPTION
                "An enumeration of possible state values."
        SYNTAX INTEGER { 
                stop(1), 
                idle(2), 
                init(3), 
                run(4) 
        }

MyErrorStatus ::= TEXTUAL-CONVENTION
        STATUS      current
        DESCRIPTION
                "An enumeration of possible error status values."
        SYNTAX INTEGER { 
                none(1),
                notice(2),
                warning(3),
                alarm(4)
        }

MyIndex ::= TEXTUAL-CONVENTION
    STATUS            current
    DESCRIPTION
            "An arbitrary value which uniquely identifies an element.  The 
             value should be a small positive integer; index
             values for different elements are not necessarily
             contiguous."
    SYNTAX INTEGER (1..2147483647)


-- ***************************************************************************
-- *                           myObjects                                     *
-- ***************************************************************************

--
-- MY Domain Information
--
--      This group provides information specific to all Domains known.
--

myDomainType OBJECT-TYPE
        SYNTAX      Integer32
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
                "Domain type."
        ::= { myDomainInfo 1 }

myDomainVersion OBJECT-TYPE
        SYNTAX      Integer32
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
                "Domain version."
        ::= { myDomainInfo 2 }

myDomainNumber OBJECT-TYPE
        SYNTAX      Integer32
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
                "Number of domains."
        ::= { myDomainInfo 3 }

--
-- MY Domain Table
--

myDomainTable OBJECT-TYPE
        SYNTAX      SEQUENCE OF MyDomainEntry
        MAX-ACCESS  not-accessible
        STATUS      current
        DESCRIPTION
                "Domain table."
        ::= { myDomainInfo 4 }

myDomainEntry OBJECT-TYPE
        SYNTAX      MyDomainEntry
        MAX-ACCESS  not-accessible
        STATUS      current
        DESCRIPTION
                "Domain table entry."
        INDEX   { myDomainId }
        ::= { myDomainTable 1 }

MyDomainEntry ::=
        SEQUENCE {
                myDomainId MyIndex,
                myDomainCpuNumber Integer32,
                myDomainMemoryCapacity Integer32,
                myDomainKeyswitch MyKeyswitchState,
                myDomainStatus MyState,
                myDomainErrorStatus Integer32,
                myDomainLastErrorCode Integer32
        }

myDomainId OBJECT-TYPE
        SYNTAX      MyIndex
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
                "Domain ID."
        ::= { myDomainEntry 1 }

myDomainCpuNumber OBJECT-TYPE
        SYNTAX      Integer32
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
                "Number of CPUs in this domain."
        ::= { myDomainEntry 2 }

myDomainMemoryCapacity OBJECT-TYPE
        SYNTAX      Integer32
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
                "Memory capacity of this domain."
        ::= { myDomainEntry 3 }

myDomainKeyswitch OBJECT-TYPE
        SYNTAX      MyKeyswitchState
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
                "Domain software keyswitch state."
        ::= { myDomainEntry 4 }

myDomainStatus OBJECT-TYPE
        SYNTAX      MyState
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
                "Domain operational status."
        ::= { myDomainEntry 5 }

myDomainErrorStatus OBJECT-TYPE
        SYNTAX MyErrorStatus
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
                "Domain error status."
        ::= { myDomainEntry 6 }

myDomainLastErrorCode OBJECT-TYPE
        SYNTAX      Integer32
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
                "Last error code of this domain."
        ::= { myDomainEntry 7 }

--
-- MY SB Information
--
--      This group provides information specific to all System
--   Boards(SBs) known.
--

mySbNumber OBJECT-TYPE
        SYNTAX      Integer32
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
                "Number of SBs."
        ::= { mySbInfo 1 }

END


Reply via email to