MIB Trouble (Cannot adopt OID / Unlinked OID)

"Andre Dieball" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Gents

I need to query some PDUs in our DC. I do have the MIB and using e.g. the iReasoning SNMP Browser works like charme with this mib, but a snmpwalk on our NMS doesn't work at all.

A simple snmpwalk -m ALL -v1 -c public 10.30.1.41 brings me:
---cut---
[root@DEBLNMGMT02 ~]# snmpwalk -m ALL -v1 -c public 10.30.1.41
Expected DESCRIPTION (REVISION): At line 32 in /usr/share/snmp/mibs/CPI_SPV21215241BI-4.mib
Expected LAST-UPDATED (DESCRIPTION): At line 38 in /usr/share/snmp/mibs/CPI_SPV21215241BI-4.mib
Unlinked OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Undefined identifier: CPIPDUTraps near line 2140 of /usr/share/snmp/mibs/CPI_SPV21215241BI-4.mib
Unlinked OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Undefined identifier: CPIPDUTraps near line 2131 of /usr/share/snmp/mibs/CPI_SPV21215241BI-4.mib
Unlinked OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Undefined identifier: CPIPDUTraps near line 2117 of /usr/share/snmp/mibs/CPI_SPV21215241BI-4.mib
Unlinked OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Undefined identifier: CPIPDUTraps near line 2103 of /usr/share/snmp/mibs/CPI_SPV21215241BI-4.mib
Unlinked OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Undefined identifier: CPIPDUTraps near line 2096 of /usr/share/snmp/mibs/CPI_SPV21215241BI-4.mib
Unlinked OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Undefined identifier: CPIPDUTraps near line 2089 of /usr/share/snmp/mibs/CPI_SPV21215241BI-4.mib
Unlinked OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Undefined identifier: CPIPDUTraps near line 2082 of /usr/share/snmp/mibs/CPI_SPV21215241BI-4.mib
Unlinked OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Undefined identifier: CPIPDUTraps near line 2075 of /usr/share/snmp/mibs/CPI_SPV21215241BI-4.mib
Unlinked OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Undefined identifier: CPIPDUTraps near line 2068 of /usr/share/snmp/mibs/CPI_SPV21215241BI-4.mib
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: endAlarm ::= { CPIPDUTraps# 10 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: dataLog ::= { CPIPDUTraps# 9 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: changeLog ::= { CPIPDUTraps# 8 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: maxHumidity ::= { CPIPDUTraps# 7 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: minHumidity ::= { CPIPDUTraps# 6 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: maxTemperature ::= { CPIPDUTraps# 5 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: minTemperature ::= { CPIPDUTraps# 4 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: maxCurrentBRANCH_A ::= { CPIPDUTraps# 2 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: maxCurrentBRANCH_B ::= { CPIPDUTraps# 1 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: CPIPDUTraps# ::= { CPIPDUTraps 0 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: maxCurrentBRANCH_B ::= { CPIPDUTraps# 1 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: maxCurrentBRANCH_A ::= { CPIPDUTraps# 2 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: minTemperature ::= { CPIPDUTraps# 4 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: maxTemperature ::= { CPIPDUTraps# 5 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: minHumidity ::= { CPIPDUTraps# 6 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: maxHumidity ::= { CPIPDUTraps# 7 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: changeLog ::= { CPIPDUTraps# 8 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: dataLog ::= { CPIPDUTraps# 9 }
Cannot adopt OID in CPI-PDU-SPV21215241BI-4-MIB: endAlarm ::= { CPIPDUTraps# 10 }
RFC1213-MIB::sysDescr.0 = STRING: "Epicenter SNMP"
RFC1213-MIB::sysObjectID.0 = OID: ccitt.10.43.6.1.4.1
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (836204) 2:19:22.04
RFC1213-MIB::sysContact.0 = ""
RFC1213-MIB::sysName.0 = ""
RFC1213-MIB::sysLocation.0 = ""
RFC1213-MIB::sysServices.0 = INTEGER: 12
RFC1213-MIB::ifNumber.0 = INTEGER: 1
RFC1213-MIB::ifIndex.1 = INTEGER: 1
RFC1213-MIB::ifDescr.1 = STRING: "Network"
RFC1213-MIB::ifType.1 = INTEGER: ethernet-csmacd(6)
RFC1213-MIB::ifMtu.1 = INTEGER: 1500
RFC1213-MIB::ifSpeed.1 = Gauge32: 10000000
RFC1213-MIB::ifPhysAddress.1 = Hex-STRING: 00 20 4A AF 58 5D 
RFC1213-MIB::ifAdminStatus.1 = INTEGER: up(1)
RFC1213-MIB::ifOperStatus.1 = INTEGER: up(1)
RFC1213-MIB::ifLastChange.1 = Timeticks: (0) 0:00:00.00
RFC1213-MIB::ifInOctets.1 = Counter32: 505430
RFC1213-MIB::ifInUcastPkts.1 = Counter32: 5523
RFC1213-MIB::ifInNUcastPkts.1 = Counter32: 0
RFC1213-MIB::ifInDiscards.1 = Counter32: 0
RFC1213-MIB::ifInErrors.1 = Counter32: 0
RFC1213-MIB::ifInUnknownProtos.1 = Counter32: 0
RFC1213-MIB::ifOutOctets.1 = Counter32: 240686
RFC1213-MIB::ifOutUcastPkts.1 = Counter32: 2834
RFC1213-MIB::ifOutNUcastPkts.1 = Counter32: 81
RFC1213-MIB::ifOutDiscards.1 = Counter32: 0
RFC1213-MIB::ifOutErrors.1 = Counter32: 0
RFC1213-MIB::ifOutQLen.1 = Gauge32: 2
RFC1213-MIB::ifSpecific.1 = Wrong Type (should be OBJECT IDENTIFIER): NULL
RFC1213-MIB::ipForwarding.0 = INTEGER: not-forwarding(2)
RFC1213-MIB::ipDefaultTTL.0 = INTEGER: 31
RFC1213-MIB::ipInReceives.0 = Counter32: 2871
RFC1213-MIB::ipInHdrErrors.0 = Wrong Type (should be Counter32): INTEGER: 0
RFC1213-MIB::ipInAddrErrors.0 = Wrong Type (should be Counter32): INTEGER: 0
RFC1213-MIB::ipForwDatagrams.0 = Counter32: 0
RFC1213-MIB::ipInUnknownProtos.0 = Counter32: 0
RFC1213-MIB::ipInDiscards.0 = Wrong Type (should be Counter32): INTEGER: 0
RFC1213-MIB::ipInDelivers.0 = Counter32: 2877
RFC1213-MIB::ipOutRequests.0 = Counter32: 0
RFC1213-MIB::ipOutDiscards.0 = Wrong Type (should be Counter32): INTEGER: 0
RFC1213-MIB::ipOutNoRoutes.0 = Wrong Type (should be Counter32): INTEGER: 0
RFC1213-MIB::ipReasmTimeout.0 = INTEGER: 0
RFC1213-MIB::ipReasmReqds.0 = Wrong Type (should be Counter32): INTEGER: 0
RFC1213-MIB::ipReasmOKs.0 = Wrong Type (should be Counter32): INTEGER: 0
RFC1213-MIB::ipReasmFails.0 = Wrong Type (should be Counter32): INTEGER: 0
RFC1213-MIB::ipFragOKs.0 = Wrong Type (should be Counter32): INTEGER: 0
RFC1213-MIB::ipFragFails.0 = Wrong Type (should be Counter32): INTEGER: 0
RFC1213-MIB::ipFragCreates.0 = Wrong Type (should be Counter32): INTEGER: 0
RFC1213-MIB::ipAdEntAddr.10.30.1.41 = IpAddress: 10.30.1.41
RFC1213-MIB::ipAdEntIfIndex.10.30.1.41 = INTEGER: 1
RFC1213-MIB::ipAdEntNetMask.10.30.1.41 = IpAddress: 255.255.255.0
RFC1213-MIB::ipAdEntBcastAddr.10.30.1.41 = INTEGER: 1
RFC1213-MIB::ipAdEntReasmMaxSize.10.30.1.41 = INTEGER: 0
RFC1213-MIB::icmpInMsgs.0 = Counter32: 126
RFC1213-MIB::icmpInErrors.0 = Wrong Type (should be Counter32): INTEGER: 0
RFC1213-MIB::icmpInDestUnreachs.0 = Counter32: 15
RFC1213-MIB::icmpInTimeExcds.0 = Counter32: 0
RFC1213-MIB::icmpInParmProbs.0 = Counter32: 0
RFC1213-MIB::icmpInSrcQuenchs.0 = Counter32: 0
RFC1213-MIB::icmpInRedirects.0 = Counter32: 0
RFC1213-MIB::icmpInEchos.0 = Counter32: 111
RFC1213-MIB::icmpInEchoReps.0 = Counter32: 0
RFC1213-MIB::icmpInTimestamps.0 = Counter32: 0
RFC1213-MIB::icmpInTimestampReps.0 = Wrong Type (should be Counter32): INTEGER: 0
RFC1213-MIB::icmpInAddrMasks.0 = Wrong Type (should be Counter32): INTEGER: 0
RFC1213-MIB::icmpInAddrMaskReps.0 = Wrong Type (should be Counter32): INTEGER: 0
RFC1213-MIB::icmpOutMsgs.0 = Counter32: 111
RFC1213-MIB::icmpOutErrors.0 = Wrong Type (should be Counter32): INTEGER: 0
RFC1213-MIB::icmpOutDestUnreachs.0 = Counter32: 0
RFC1213-MIB::icmpOutTimeExcds.0 = Wrong Type (should be Counter32): INTEGER: 0
RFC1213-MIB::icmpOutParmProbs.0 = Wrong Type (should be Counter32): INTEGER: 0
RFC1213-MIB::icmpOutSrcQuenchs.0 = Wrong Type (should be Counter32): INTEGER: 0
RFC1213-MIB::icmpOutRedirects.0 = Wrong Type (should be Counter32): INTEGER: 0
RFC1213-MIB::icmpOutEchos.0 = Wrong Type (should be Counter32): INTEGER: 0
RFC1213-MIB::icmpOutEchoReps.0 = Counter32: 111
RFC1213-MIB::icmpOutTimestamps.0 = Wrong Type (should be Counter32): INTEGER: 0
RFC1213-MIB::icmpOutTimestampReps.0 = Wrong Type (should be Counter32): INTEGER: 0
RFC1213-MIB::icmpOutAddrMasks.0 = Wrong Type (should be Counter32): INTEGER: 0
RFC1213-MIB::icmpOutAddrMaskReps.0 = Wrong Type (should be Counter32): INTEGER: 0
RFC1213-MIB::udpInDatagrams.0 = Counter32: 1325
RFC1213-MIB::udpNoPorts.0 = Counter32: 150
RFC1213-MIB::udpInErrors.0 = Counter32: 10
RFC1213-MIB::udpOutDatagrams.0 = Counter32: 1336
[root@DEBLNMGMT02 ~]# 
---cut---

The MIB in Question is:

---cut---
--
-- Chatsworth Products Inc.
-- Copyright (c) Chatsworth Products Inc., 1998-2009.
-- Version : 1.0.1
-- ************************************************************************

CPI-PDU-SPV21215241BI-4-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY
    NOTIFICATION-TYPE
    TRAP-TYPE
        FROM RFC-1215
    DisplayString
        FROM RFC1213-MIB
    OBJECT-TYPE
        FROM RFC-1212
    enterprises
        FROM RFC1155-SMI;

CPI OBJECT IDENTIFIER ::= { enterprises 30932 }

Products MODULE-IDENTITY
    LAST-UPDATED "200908052029Z" -- 5 August 2009
    ORGANIZATION "Chatsworth Products Inc."
    CONTACT-INFO
        "Chatsworth Products Inc.
        211B Calle Pintoresco
        San Clemente, CA 92672
        Tel: (949) 366-5370
        Email: [email protected]"
    REVISION "200908052029Z" -- 5 August 2009
    DESCRIPTION
        "CPI Products."
    ::= { CPI 1 }

PDU MODULE-IDENTITY
    DESCRIPTION
        "PDU Model SPV21215241BI-4."
    ::= { Products 1 }

SystemInfo OBJECT IDENTIFIER ::= { PDU 1 }

VERSION OBJECT-TYPE
    SYNTAX DisplayString (SIZE (0..14))
    ACCESS read-only
    STATUS mandatory
    DESCRIPTION

[...TRUNCATED...]

---cut---

My /usr/share/snmp/mibs/ looks like:

---cut---
[root@DEBLNMGMT02 mibs]# ls
AGENTX-MIB.txt                       IPV6-UDP-MIB.txt           SNMP-NOTIFICATION-MIB.txt
bestpwr.mib                          LM-SENSORS-MIB.txt         SNMP-PROXY-MIB.txt
CPI_SPV21215241BI-4.mib              MTA-MIB.txt                SNMP-TARGET-MIB.txt
DISMAN-EVENT-MIB.txt                 NET-SNMP-AGENT-MIB.txt     SNMP-USER-BASED-SM-MIB.txt
DISMAN-SCHEDULE-MIB.txt              NET-SNMP-EXAMPLES-MIB.txt  SNMP-USM-AES-MIB.txt
DISMAN-SCRIPT-MIB.txt                NET-SNMP-EXTEND-MIB.txt    SNMP-USM-DH-OBJECTS-MIB.txt
EtherLike-MIB.txt                    NET-SNMP-MIB.txt           SNMPv2-CONF.txt
HCNUM-TC.txt                         NET-SNMP-TC.txt            SNMPv2-MIB.txt
HOST-RESOURCES-MIB.txt               NETWORK-SERVICES-MIB.txt   SNMPv2-SMI.txt
HOST-RESOURCES-TYPES.txt             NOTIFICATION-LOG-MIB.txt   SNMPv2-TC.txt
IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt  oooofx.txt                 SNMPv2-TM.txt
IANAifType-MIB.txt                   RBT-MIB.txt                SNMP-VIEW-BASED-ACM-MIB.txt
IANA-LANGUAGE-MIB.txt                READYNAS-MIB.txt           stdupsv1.mib
IANA-RTPROTO-MIB.txt                 RFC1155-SMI.txt            STEELHEAD-MIB.txt
IF-INVERTED-STACK-MIB.txt            RFC-1212.txt               TCP-MIB.txt
IF-MIB.txt                           RFC1213-MIB.txt            TRANSPORT-ADDRESS-MIB.txt
INET-ADDRESS-MIB.txt                 RFC-1215.txt               UCD-DEMO-MIB.txt
IP-FORWARD-MIB.txt                   RMON-MIB.txt               UCD-DISKIO-MIB.txt
IP-MIB.txt                           SCTP-MIB.txt               UCD-DLMOD-MIB.txt
IPV6-ICMP-MIB.txt                    SMUX-MIB.txt               UCD-IPFWACC-MIB.txt
IPV6-MIB.txt                         SNMP-COMMUNITY-MIB.txt     UCD-SNMP-MIB.txt
IPV6-TCP-MIB.txt                     SNMP-FRAMEWORK-MIB.txt     UDP-MIB.txt
IPV6-TC.txt                          SNMP-MPD-MIB.txt           XUPS.MIB
[root@DEBLNMGMT02 mibs]# 
---cut---

I personally (while having no real clue) believe it's got to do something with the:

---cut---
CPI-PDU-SPV21215241BI-4-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY
    NOTIFICATION-TYPE
    TRAP-TYPE
        FROM RFC-1215
    DisplayString
        FROM RFC1213-MIB
    OBJECT-TYPE
        FROM RFC-1212
    enterprises
        FROM RFC1155-SMI;

---cut---

part of the mib file I want to use, as it refers to quite "old" RFC Mibs?

any help is highly appreciated.

Thanks a lot in advance

Andre


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

_______________________________________________
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.