patrickpr / trapdirector

Icingaweb2 module for receiving and handling snmp traps
GNU General Public License v3.0
53 stars 14 forks source link

trapdirector mib update showing many errors (1st and 3rd party) #28

Closed lotosdenta closed 4 years ago

lotosdenta commented 4 years ago

Get debug logs

Group not found in module (cnatStatisticsGroup): At line 50 in /root/.snmp/mibs/CISCO-IETF-NAT-CAPABILITY.my                                                                                                                                                                     [843/1810]
Object not found in module (cnatConfDynAddrMapType): At line 172 in /root/.snmp/mibs/CISCO-IETF-NAT-CAPABILITY.my
Object not found in module (cnatSessionOrigPulbicPort): At line 339 in /root/.snmp/mibs/CISCO-IETF-NAT-CAPABILITY.my
Object not found in module (cnatSessionCurrentIdleTime): At line 349 in /root/.snmp/mibs/CISCO-IETF-NAT-CAPABILITY.my
Expected "::=" (LAST-UPDATED): At line 38 in /root/.snmp/mibs/MPLS-LSR-MIB-CAPABILITY.my
Group not found in module (ciscoCtrlGroupRev3): At line 64 in /root/.snmp/mibs/CISCO-RTTMON-CAPABILITY.my
Group not found in module (ciscoCtrlGroupRev5): At line 70 in /root/.snmp/mibs/CISCO-RTTMON-CAPABILITY.my
Group not found in module (ciscoStatsGroupRev6): At line 114 in /root/.snmp/mibs/CISCO-RTTMON-CAPABILITY.my
Group not found in module (ciscoStatsGroupRev6): At line 231 in /root/.snmp/mibs/CISCO-RTTMON-CAPABILITY.my
Group not found in module (cvDsx1ConfGroupSup2): At line 50 in /root/.snmp/mibs/CISCO-VISM-DSX1-CAPABILITY.my
Did not find 'cldcClientAccessVLAN' in module CISCO-LWAPP-DOT11-CLIENT-MIB (/root/.snmp/mibs/CISCO-LWAPP-SYS-MIB.my)
Bad timestamp format (11 or 13 characters) (20110202000Z): At line 40 in /root/.snmp/mibs/CISCO-TELEPRESENCE-CALL-CAPABILITY.my
Bad operator (/): At line 88 in /root/.snmp/mibs/CISCO-OSPF-TRAP-CAPABILITY.my
VARIATION (is a reserved word): At line 99 in /root/.snmp/mibs/CISCO-ATM-PVCTRAP-EXTN-CAPABILITY.my
DESCRIPTION (is a reserved word): At line 143 in /root/.snmp/mibs/CISCO-ATM-PVCTRAP-EXTN-CAPABILITY.my
: (is a reserved word): At line 145 in /root/.snmp/mibs/CISCO-ATM-PVCTRAP-EXTN-CAPABILITY.my
Bad operator (2): At line 145 in /root/.snmp/mibs/CISCO-ATM-PVCTRAP-EXTN-CAPABILITY.my
Module not found (RFC1406-MIB): At line 57 in /root/.snmp/mibs/CISCO-RFC1406-CAPABILITY.my
Module not found (RFC1406-MIB): At line 237 in /root/.snmp/mibs/CISCO-RFC1406-CAPABILITY.my
Module not found (RFC1406-MIB): At line 412 in /root/.snmp/mibs/CISCO-RFC1406-CAPABILITY.my
Cannot adopt OID in AWC-VLAN-CFG-MIB: awcVlanAllowUnencryptedVlanId ::= { awcVlanCfgObjects 8 }
Cannot adopt OID in AWC-VLAN-CFG-MIB: awcVlanNUcastKeyTable ::= { awcVlanCfgObjects 7 }
Bad operator (INTEGER): At line 73 in /usr/share/mibs/ietf/SNMPv2-PDU
Expected "::=" (RFC5644): At line 493 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Expected "{" (EOF): At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Bad object identifier: At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Bad parse of OBJECT-IDENTITY: At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Unlinked OID in IPATM-IPMC-MIB: marsMIB ::= { mib-2 57 }
Undefined identifier: mib-2 near line 18 of /usr/share/mibs/ietf/IPATM-IPMC-MIB
Bad operator (INTEGER): At line 73 in /usr/share/mibs/ietf/SNMPv2-PDU
Expected "::=" (RFC5644): At line 493 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Expected "{" (EOF): At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Bad object identifier: At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Bad parse of OBJECT-IDENTITY: At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
.Unlinked OID in IPATM-IPMC-MIB: marsMIB ::= { mib-2 57 }
Undefined identifier: mib-2 near line 18 of /usr/share/mibs/ietf/IPATM-IPMC-MIB
Bad operator (INTEGER): At line 73 in /usr/share/mibs/ietf/SNMPv2-PDU
Expected "::=" (RFC5644): At line 493 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Expected "{" (EOF): At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Bad object identifier: At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Bad parse of OBJECT-IDENTITY: At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB

Describe the bug

Downloaded MIBs with snmp-mibs-downloader on Ubuntu (ietf, iana, default download behaviour) and also 3rd party MIBs from cisco. Running 'icingacli trapdirector mib update' throws a lot of errors. Atleast the cisco MIBs are not shown in the webinterface afterwards. Though, some MIBs are actually available.

To Reproduce

Setup trapdirector and snmptrapd. Install snmp-mibs-downloader. Run 'icingacli trapdirector mib update'. Add some more 3rd party MIBs.

Expected behavior

Should run without "many" errors, but seemingly every MIB throws errors. MIBs are available in Webinterface for trap handlers afterwards.

Your Environment:

Additional context

Because of a missing tutorial on how to set up trapdirector on Ubuntu (1604), I may have done something wrong in this regard, which could potentially cause some errors?

patrickpr commented 4 years ago

Hi, These errors seem to come from snmptranslate which can't read the MIB files. Errors on the Cisco MIBs says there is some missing MIBs files.

Do you have the same errors when doing : snmptranslate -m ALL -On -Tto in CLI ?

lotosdenta commented 4 years ago

Hi there,

I had some errors on CLI before, but also some cron messages about broken MIBs. Fixed this by deleting php7.0-snmp. Right now I do not have any errors when running the CLI command you mentioned.

But I still get these errors when trying to run the icingacli command.

patrickpr commented 4 years ago

Two types of error in the first post :

1) On Cisco MIBs : because some mib files are missing ( "Cannot adopt OID"/"Object not found")

You must get the MIB files which defines these OID/objects (it's painfull and boring I know).

2) Error on MIB File (Bad object / identifier .. etc)

Most of the time, it's because of bad MIB file format.

-> What error disapeared and are the errors the same than before with icingacli ? -> Did you add some mibs in the trapdirector mib directory ?

Note : to check default mib path : net-snmp-config --default-mibdirs

lotosdenta commented 4 years ago
  1. I used the cisco MIB finder? to download the MIBs, thats why I would actually think everything 'should' be included.
  2. This error disappeared (this is everything that was shown after your CLI command from above): `snmptranslate -m ALL -On -Tto

Unlinked OID in IPATM-IPMC-MIB: marsMIB ::= { mib-2 57 } Undefined identifier: mib-2 near line 18 of /usr/share/mibs/ietf/IPATM-IPMC-MIB Bad operator (INTEGER): At line 73 in /usr/share/mibs/ietf/SNMPv2-PDU Expected "::=" (RFC5644): At line 493 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB Expected "{" (EOF): At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB Bad object identifier: At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB Bad parse of OBJECT-IDENTITY: At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB ` The icingacli errors seem to be the same as before, though I have excluded the cisco MIBs as of now. I myself did not add any MIBs to the trapdirector mib dir. Doing a 'ls /usr/share/icingaweb2/modules/trapdirector/mibs/' shows nothing, so the directory is empty. Furthermore I do not have 'net-snmp-config' available. But the default directory is /usr/share/mibs/ or $HOME/.snmp/mibs/ or $MIBDIRS (which is not set by default). Either one works.

patrickpr commented 4 years ago

Can you send me one the MIB file that generates an error ? I don't understand why a basic install generates mibs with errror.

lotosdenta commented 4 years ago

Hello,

Edit: is this useable for you? I just added the MIB as an attachment to the mail I received... How else can I provide the MIB for you?

here is the IANA-IPPM-METRICS-REGISTRY-MIB.

On 19/02/2020 08:57, Patrick wrote:

Can you send me one the MIB file that generates an error ? I don't understand why a basic install generates mibs with errror.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/patrickpr/trapdirector/issues/28?email_source=notifications&email_token=ANKBON4JVD77V3FVLUDUTZLRDTRABA5CNFSM4KVHJOXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMGXITY#issuecomment-588084303, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANKBONYVHADATZKFSM6NZMTRDTRABANCNFSM4KVHJOXA.

IANA-IPPM-METRICS-REGISTRY-MIB DEFINITIONS ::= BEGIN

IMPORTS OBJECT-IDENTITY, MODULE-IDENTITY, mib-2 FROM SNMPv2-SMI;

ianaIppmMetricsRegistry MODULE-IDENTITY LAST-UPDATED "200910260000Z" -- September 2, 2009 ORGANIZATION "IANA" CONTACT-INFO "Internet Assigned Numbers Authority

        Postal: ICANN
            4676 Admiralty Way, Suite 330
            Marina del Rey, CA 90292

        Tel:    +1 310 823 9358
        E-Mail: iana&iana.org"

DESCRIPTION "This module defines a registry for IP Performance Metrics.

  Registrations are done sequentially by IANA in the ianaIppmMetrics
  subtree on the bases of 'Specification Required' as defined in
  [RFC2434].

  The reference of the specification must point to a stable document
  including a title, a revision and a date.

  The name always starts with the name of the organization and must
  respect the SMIv2 rules for descriptors defined in the section 3.1
  of [RFC2578];

  A document that creates new metrics would have an IANA
  considerations section in which it would describe new metrics to
  register.

  An OBJECT IDENTITY assigned to a metric is definitive and cannot
  be reused.  If a new version of a metric is produced then it is
  assigned with a new name and a new identifier.

  Copyright (C) The Internet Society (2005).  The initial version of
  this MIB module was published in RFC 4148; for full legal notices
  see the RFC itself or see:
  http://www.ietf.org/copyrights/ianamib.html.  "

REVISION      "200909020000Z"    -- September 2, 2009

DESCRIPTION "Added values 52-70 as published in RFC5644."

REVISION      "200904200000Z"    -- April 20, 2009

DESCRIPTION "Added values 46-51 as published in RFC5560."

REVISION      "200612040000Z"    -- September 27, 2006

DESCRIPTION "Added values 34-45 as published in RFC4737."

REVISION      "200504120000Z"    -- April 12th, 2005

DESCRIPTION "Initial version of the IPPM metrics registry module. This version published as RFC 4148." ::= { mib-2 128 }

ianaIppmMetrics OBJECT-IDENTITY STATUS current DESCRIPTION "Registration point for IP Performance Metrics." ::= { ianaIppmMetricsRegistry 1 }

 --
 -- Registry of the metrics of the IPPM WG RFCs
 --

 --
 -- RFC 2678 " IPPM Metrics for Measuring Connectivity"
 --

ietfInstantUnidirConnectivity OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Instantaneous-Unidirectional-Connectivity" REFERENCE "RFC2678, section 2." ::= { ianaIppmMetrics 1}

ietfInstantBidirConnectivity OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Instantaneous-Bidirectional-Connectivity" REFERENCE "RFC2678, section 3." ::= { ianaIppmMetrics 2}

ietfIntervalUnidirConnectivity OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Interval-Unidirectional-Connectivity" REFERENCE "RFC2678, section 4." ::= { ianaIppmMetrics 3 }

ietfIntervalBidirConnectivity OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Interval-Bidirectional-Connectivity" REFERENCE "RFC2678, section 5." ::= { ianaIppmMetrics 4 }

ietfIntervalTemporalConnectivity OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P1-P2-Interval-Temporal-Connectivity" REFERENCE "RFC2678, section 6." ::= { ianaIppmMetrics 5 }

-- -- RFC 2679 "A One-way Delay Metric for IPPM"

ietfOneWayDelay OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-way-Delay" REFERENCE "RFC2679, section 3." ::= { ianaIppmMetrics 6 }

ietfOneWayDelayPoissonStream OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-way-Delay-Poisson-Stream" REFERENCE "RFC2679, section 4." ::= { ianaIppmMetrics 7 }

ietfOneWayDelayPercentile OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-way-Delay-Percentile" REFERENCE "RFC2679, section 5.1." ::= { ianaIppmMetrics 8 }

ietfOneWayDelayMedian OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-way-Delay-Median" REFERENCE "RFC2679, section 5.2." ::= { ianaIppmMetrics 9 }

ietfOneWayDelayMinimum OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-way-Delay-Minimum" REFERENCE "RFC2679, section 5.3." ::= { ianaIppmMetrics 10 }

ietfOneWayDelayInversePercentile OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-way-Delay-Inverse-Percentile" REFERENCE "RFC2679, section 5.4." ::= { ianaIppmMetrics 11 }

-- -- RFC 2680 "One Way Packet Loss Metric for IPPM"

ietfOneWayPktLoss OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-way-Packet-Loss" REFERENCE "RFC2680, section 2." ::= { ianaIppmMetrics 12 }

ietfOneWayPktLossPoissonStream OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-way-Packet-Loss-Poisson-Stream" REFERENCE "RFC2680, section 3." ::= { ianaIppmMetrics 13 }

ietfOneWayPktLossAverage OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-way-Packet-Loss-Average" REFERENCE "RFC2680, section 4." ::= { ianaIppmMetrics 14 }

-- -- RFC2681 "A Round-trip Delay Metric for IPPM"

ietfRoundTripDelay OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Round-trip-Delay" REFERENCE " section 2 of the rfc2681." ::= { ianaIppmMetrics 15 }

ietfRoundTripDelayPoissonStream OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Round-trip-Delay-Poisson-Stream" REFERENCE "RFC2681, section 4." ::= { ianaIppmMetrics 16 }

ietfRoundTripDelayPercentile OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Round-trip-Delay-Percentile" REFERENCE "RFC2681, section 4.1." ::= { ianaIppmMetrics 17 }

ietfRoundTripDelayMedian OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Round-trip-Delay-Median" REFERENCE "RFC2681, section 4.2." ::= { ianaIppmMetrics 18 }

ietfRoundTripDelayMinimum OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Round-trip-Delay-Minimum" REFERENCE "RFC2681, section 4.3." ::= { ianaIppmMetrics 19 }

ietfRoundTripDelayInvPercentile OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Round-trip-Inverse-Percentile" REFERENCE "RFC2681, section 4.4." ::= { ianaIppmMetrics 20 }

-- -- RFC3357: "One-way Loss Pattern Sample Metrics"

ietfOneWayLossDistanceStream OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-Way-Loss-Distance-Stream" REFERENCE " RFC3357, section 5.4.1." ::={ ianaIppmMetrics 21}

ietfOneWayLossPeriodStream OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-Way-Loss-Period-Stream" REFERENCE " RFC3357, section 5.4.2." ::={ ianaIppmMetrics 22}

ietfOneWayLossNoticeableRate OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-Way-Loss-Noticeable-Rate" REFERENCE " RFC3357, section 6.1." ::= { ianaIppmMetrics 23 }

ietfOneWayLossPeriodTotal OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-Way-Loss-Period-Total" REFERENCE " RFC3357, section 6.2." ::= { ianaIppmMetrics 24 }

ietfOneWayLossPeriodLengths OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-Way-Loss-Period-Lengths" REFERENCE " RFC3357, section 6.3." ::= { ianaIppmMetrics 25 }

ietfOneWayInterLossPeriodLengths OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-Way-Inter-Loss-Period-Lengths" REFERENCE " RFC3357, section 6.4." ::= { ianaIppmMetrics 26 }

-- -- RFC3393: -- IP Packet Delay Variation Metric for IP Performance Metrics (IPPM)

ietfOneWayIpdv OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-way-ipdv" REFERENCE " RFC3393, section 2." ::= { ianaIppmMetrics 27 }

ietfOneWayIpdvPoissonStream OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-way-ipdv-Poisson-stream" REFERENCE " RFC3393, section 3." ::= { ianaIppmMetrics 28 }

ietfOneWayIpdvPercentile OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-way-ipdv-percentile" REFERENCE " RFC3393, section 4.3." ::= { ianaIppmMetrics 29 }

ietfOneWayIpdvInversePercentile OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-way-ipdv-inverse-percentile" REFERENCE " RFC3393, section 4.4." ::= { ianaIppmMetrics 30 }

ietfOneWayIpdvJitter OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-way-ipdv-jitter" REFERENCE " RFC3393, section 4.5." ::= { ianaIppmMetrics 31 }

ietfOneWayPeakToPeakIpdv OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-way-peak-to-peak-ipdv" REFERENCE " RFC3393, section 4.6." ::= { ianaIppmMetrics 32 }

-- -- RFC3432: "Network performance measurement with periodic streams"

ietfOneWayDelayPeriodicStream OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-way-Delay-Periodic-Stream" REFERENCE " RFC3432, section 4." ::= { ianaIppmMetrics 33 }

-- -- RFC4737 "Packet Reordering Metric for IPPM"

ietfReorderedSingleton OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Reordered" REFERENCE "Reference RFC4737, section 3" ::= { ianaIppmMetrics 34 }

ietfReorderedPacketRatio OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Reordered-Ratio-Stream" REFERENCE "Reference RFC4737, section 4.1" ::= { ianaIppmMetrics 35 }

ietfReorderingExtent OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Packet-Reordering-Extent-Stream" REFERENCE "Reference RFC4737, section 4.2" ::= { ianaIppmMetrics 36 }

ietfReorderingLateTimeOffset OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Packet-Late-Time-Stream" REFERENCE "Reference RFC4737, section 4.3" ::= { ianaIppmMetrics 37 }

ietfReorderingByteOffset OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Packet-Byte-Offset-Stream" REFERENCE "Reference RFC4737, section 4.4" ::= { ianaIppmMetrics 38 }

ietfReorderingGap OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Packet-Reordering-Gap-Stream" REFERENCE "Reference RFC4737, section 4.5" ::= { ianaIppmMetrics 39 }

ietfReorderingGapTime OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Packet-Reordering-GapTime-Stream" REFERENCE "Reference RFC4737, section 4.5" ::= { ianaIppmMetrics 40 }

ietfReorderingFreeRunx OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Packet-Reordering-Free-Run-x-numruns-Stream" REFERENCE "Reference RFC4737, section 4.6" ::= { ianaIppmMetrics 41 }

ietfReorderingFreeRunq OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Packet-Reordering-Free-Run-q-squruns-Stream" REFERENCE "Reference RFC4737, section 4.6" ::= { ianaIppmMetrics 42 }

ietfReorderingFreeRunp OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Packet-Reordering-Free-Run-p-numpkts-Stream" REFERENCE "Reference RFC4737, section 4.6" ::= { ianaIppmMetrics 43 }

ietfReorderingFreeRuna OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Packet-Reordering-Free-Run-a-accpkts-Stream" REFERENCE "Reference RFC4737, section 4.6" ::= { ianaIppmMetrics 44 }

ietfnReordering OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Packet-n-Reordering-Stream" REFERENCE "Reference RFC4737, section 5" ::= { ianaIppmMetrics 45 }

-- -- RFC5560: -- A One-Way Packet Duplication Metric

ietfOneWayPacketArrivalCount OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-one-way-packet-arrival-count" REFERENCE "Reference RFC5560, section 2" ::= { ianaIppmMetrics 46 }

ietfOneWayPacketDuplication OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-one-way-packet-duplication" REFERENCE "Reference RFC5560, section 3" ::= { ianaIppmMetrics 47 }

ietfOneWayPacketDuplicationPoissonStream OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-one-way-Packet-Duplication-Poisson-Stream" REFERENCE "Reference RFC5560, section 4.1" ::= { ianaIppmMetrics 48 }

ietfOneWayPacketDuplicationPeriodicStream OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-one-way-Duplication-Periodic-Stream" REFERENCE "Reference RFC5560, section 4.2" ::= { ianaIppmMetrics 49 }

ietfOneWayPacketDuplicationFraction OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-one-way-packet-duplication-fraction" REFERENCE "Reference RFC5560, section 5.1" ::= { ianaIppmMetrics 50 }

ietfOneWayReplicatedPacketRate OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-one-way-replicated-packet-rate" REFERENCE "Reference RFC5560, section 5.2" ::= { ianaIppmMetrics 51 }

   --
   -- RFC5644:
   -- IP Performance Metrics (IPPM) for spatial and multicast

ietfSpatialOneWayDelayVector OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Spatial-One-way-Delay-Vector" REFERENCE "Reference "RFC5644, section 5.1." := { ianaIppmMetrics 52 }

ietfSpatialPacketLossVector OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Spatial-Packet-Loss-Vector" REFERENCE "Reference "RFC5644, section 5.2." := { ianaIppmMetrics 53 }

ietfSpatialOneWayIpdvVector OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Spatial-One-way-ipdv-Vector" REFERENCE "Reference "RFC5644, section 5.3." := { ianaIppmMetrics 54 }

ietfSegmentOneWayDelayStream OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Segment-One-way-Delay-Stream" REFERENCE "Reference "RFC5644, section 6.1." := { ianaIppmMetrics 55 }

ietfSegmentPacketLossStream OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Segment-Packet-Loss-Stream" REFERENCE "Reference "RFC5644, section 6.2." := { ianaIppmMetrics 56 }

ietfSegmentIpdvPrevStream OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Segment-ipdv-prev-Stream" REFERENCE "Reference "RFC5644, section 6.3." := { ianaIppmMetrics 57 }

ietfSegmentIpdvMinStream OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-Segment-ipdv-min-Stream" REFERENCE "Reference "RFC5644, section 6.4." := { ianaIppmMetrics 58 }

-- One-to-group metrics

ietfOneToGroupDelayVector OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-to-group-Delay-Vector" REFERENCE "Reference "RFC5644, section 7.1." := { ianaIppmMetrics 59 }

ietfOneToGroupPacketLossVector OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-to-group-Packet-Loss-Vector" REFERENCE "Reference "RFC5644, section 7.2." := { ianaIppmMetrics 60 }

ietfOneToGroupIpdvVector OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-to-group-ipdv-Vector" REFERENCE "Reference "RFC5644, section 7.3." := { ianaIppmMetrics 61 }

-- One to group statistics

--

ietfOnetoGroupReceiverNMeanDelay OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-to-group-Receiver-n-Mean-Delay" REFERENCE "Reference "RFC5644, section 8.3.1." := { ianaIppmMetrics 62 }

ietfOneToGroupMeanDelay OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-to-group-Mean-Delay" REFERENCE "Reference "RFC5644, section 8.3.2." := { ianaIppmMetrics 63 }

ietfOneToGroupRangeMeanDelay OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-to-group-Range-Mean-Delay" REFERENCE "Reference "RFC5644, section 8.3.3." := { ianaIppmMetrics 64 }

ietfOneToGroupMaxMeanDelay OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-to-group-Max-Mean-Delay" REFERENCE "Reference "RFC5644, section 8.3.4." := { ianaIppmMetrics 65 }

ietfOneToGroupReceiverNLossRatio OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-to-group-Receiver-n-Loss-Ratio" REFERENCE "Reference "RFC5644, section 8.4.1." := { ianaIppmMetrics 66 }

ietfOneToGroupReceiverNCompLossRatio OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-to-group-Receiver-n-Comp-Loss-Ratio" REFERENCE "Reference "RFC5644, section 8.4.2." := { ianaIppmMetrics 67 }

ietfOneToGroupLossRatio OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-to-group-Loss-Ratio" REFERENCE "Reference "RFC5644, section 8.4.3." := { ianaIppmMetrics 68 }

ietfOneToGroupRangeLossRatio OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-to-group-Range-Loss-Ratio" REFERENCE "Reference "RFC5644, section 8.4.4." := { ianaIppmMetrics 69 }

ietfOneToGroupRangeDelayVariation OBJECT-IDENTITY STATUS current DESCRIPTION "Type-P-One-to-group-Range-Delay-Variation" REFERENCE "Reference "RFC5644, section 8.5.1." := { ianaIppmMetrics 70 }

--

END

patrickpr commented 4 years ago

Hi,

So your default MIB files actually has some errors. In the one you sent me line 493 is : "Reference "RFC5644, section 5.1." There is an extra " before RFC which violates MIB syntax and is reported by snmptranslate as Expected "::=".

To be able to translate snmp OID, snmptranslate (and trapdirector using it) needs correct MIB files or it will exit with errors.

So you can :

Also have a look at this post explaining the problem : Serverfault

lotosdenta commented 4 years ago

Thanks for pointing out the problem and link. I was actually able to fix the default MIB errors, but cisco MIBs are still throwing many errors, mostly module not found. I looked in the file where the module should be described, but it just isn't there...

Going to close this, because it is not a trapdirector problem.

Thank you very much!