Print this page
NEX-16536 SUN-IREPORT-MIB is broken
NEX-16537 enhance FM traps
NEX-16545 SMF dict should have obsolete entries removed
Reviewed by: Dan Fields <dan.fields@nexenta.com>
Reviewed by: Cynthia Eastham <cynthia.eastham@nexenta.com>
Reviewed by: Alexander Eremin <alexander.eremin@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
NEX-14494 FMA related SNMP traps should add description (fix mib)
NEX-14494 FMA related SNMP traps should add description
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/fm/libfmd_snmp/mibs/SUN-FM-MIB.mib
          +++ new/usr/src/lib/fm/libfmd_snmp/mibs/SUN-FM-MIB.mib
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14  -- file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15  -- If applicable, add the following below this CDDL HEADER, with the
  16   16  -- fields enclosed by brackets "[]" replaced with your own identifying
  17   17  -- information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  --
  19   19  -- CDDL HEADER END
  20   20  --
  21   21  
  22   22  --
  23   23  -- Copyright (c) 2008, 2010,  Oracle and/or its affiliates. All rights reserved.
       24 +-- Copyright 2018 Nexenta Systems, Inc.
  24   25  --
  25   26  
  26   27  SUN-FM-MIB DEFINITIONS ::= BEGIN
  27   28  
  28   29  IMPORTS
  29   30          products
  30   31                  FROM SUN-MIB
  31   32          Gauge32, Unsigned32, OBJECT-TYPE, NOTIFICATION-TYPE, MODULE-IDENTITY
  32   33                  FROM SNMPv2-SMI
  33   34          TEXTUAL-CONVENTION, DateAndTime, DisplayString
  34   35                  FROM SNMPv2-TC
  35   36          OBJECT-GROUP, NOTIFICATION-GROUP
  36   37                  FROM SNMPv2-CONF
  37   38          URLString
  38   39                  FROM NETWORK-SERVICES-MIB;
  39   40  
  40   41  sunFmMIB MODULE-IDENTITY
  41      -        LAST-UPDATED    "200808040000Z"
  42      -        ORGANIZATION    "Oracle Corporation"
  43      -        CONTACT-INFO    "Oracle Corporation
  44      -                         500 Oracle Parkway
  45      -                         Redwood Shores, CA 94065
  46      -
  47      -                         1.650.506.7000 or
  48      -                         1.800.392.2999
  49      -
  50      -                         http://www.oracle.com
  51      -                         or contact your local support representative"
       42 +        LAST-UPDATED    "201803120000Z"
       43 +        ORGANIZATION    "Nexenta Systems, Inc."
       44 +        CONTACT-INFO    "https://www.nexenta.com"
  52   45          DESCRIPTION
  53   46                  "Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
       47 +                Copyright 2018 Nexenta Systems, Inc.
  54   48  
  55      -                MIB providing access to Oracle Fault Manager information"
  56      -        REVISION        "200808040000Z"
  57      -        DESCRIPTION     "Version: 1.1"
       49 +                MIB providing access to Fault Manager information"
       50 +        REVISION        "201803120000Z"
       51 +        DESCRIPTION     "Version: 1.3"
  58   52          ::= { fm 1 }
  59   53  
  60   54  fm OBJECT IDENTIFIER ::= { products 195 }
  61   55  
  62   56  SunFmUuidString ::= TEXTUAL-CONVENTION
  63   57          STATUS  current
  64   58          DESCRIPTION
  65   59                  "Represents a Universal Unique Identifier (UUID)."
  66   60          SYNTAX  OCTET STRING (SIZE (0..64))
  67   61  
↓ open down ↓ 58 lines elided ↑ open up ↑
 126  120          STATUS          current
 127  121          DESCRIPTION
 128  122                  "A problem diagnosed by the fault manager and still
 129  123                  present in the system."
 130  124          INDEX           { sunFmProblemUUIDIndex }
 131  125          ::= { sunFmProblemTable 1 }
 132  126  
 133  127  SunFmProblemEntry ::= SEQUENCE {
 134  128          sunFmProblemUUIDIndex           SunFmUuidString,
 135  129          sunFmProblemUUID                SunFmUuidString,
      130 +        sunFmProblemHostname            DisplayString,
 136  131          sunFmProblemCode                DisplayString,
      132 +        sunFmProblemType                DisplayString,
      133 +        sunFmProblemSeverity            DisplayString,
 137  134          sunFmProblemURL                 URLString,
      135 +        sunFmProblemDescription         DisplayString,
      136 +        sunFmProblemFMRI                DisplayString,
 138  137          sunFmProblemDiagEngine          URLString,
 139  138          sunFmProblemDiagTime            DateAndTime,
 140  139          sunFmProblemSuspectCount        Gauge32
 141  140  }
 142  141  
 143  142  sunFmProblemUUIDIndex OBJECT-TYPE
 144  143          SYNTAX          SunFmUuidString
 145  144          MAX-ACCESS      not-accessible
 146  145          STATUS          current
 147  146          DESCRIPTION
↓ open down ↓ 4 lines elided ↑ open up ↑
 152  151  
 153  152  sunFmProblemUUID OBJECT-TYPE
 154  153          SYNTAX          SunFmUuidString
 155  154          MAX-ACCESS      read-only
 156  155          STATUS          current
 157  156          DESCRIPTION
 158  157                  "The Universal Unique Identifier (UUID) for this problem, as
 159  158                  recorded by fmd(1M) and shown by fmadm(1M) or fmdump(1M)."
 160  159          ::= { sunFmProblemEntry 2 }
 161  160  
 162      -sunFmProblemCode OBJECT-TYPE
      161 +sunFmProblemHostname OBJECT-TYPE
 163  162          SYNTAX          DisplayString
 164  163          MAX-ACCESS      read-only
 165  164          STATUS          current
 166  165          DESCRIPTION
 167      -                "The SUNW-MSG-ID static message identifier for this class of
 168      -                problem, as recorded by fmd(1M) and shown by fmdump(1M).  The
 169      -                message identifier can be used as a key at http://illumos.org/msg/"
      166 +                "Hostname of the system on which the problem occurred."
 170  167          ::= { sunFmProblemEntry 3 }
 171  168  
      169 +sunFmProblemCode OBJECT-TYPE
      170 +        SYNTAX          DisplayString
      171 +        MAX-ACCESS      read-only
      172 +        STATUS          current
      173 +        DESCRIPTION
      174 +                "The static message identifier for this class of
      175 +                problem, as recorded by fmd(1M) and shown by fmdump(1M)."
      176 +        ::= { sunFmProblemEntry 4 }
      177 +
      178 +sunFmProblemType OBJECT-TYPE
      179 +        SYNTAX          DisplayString
      180 +        MAX-ACCESS      read-only
      181 +        STATUS          current
      182 +        DESCRIPTION
      183 +                "The type of this problem."
      184 +        ::= { sunFmProblemEntry 5 }
      185 +
      186 +sunFmProblemSeverity OBJECT-TYPE
      187 +        SYNTAX          DisplayString
      188 +        MAX-ACCESS      read-only
      189 +        STATUS          current
      190 +        DESCRIPTION
      191 +                "The severity of this problem."
      192 +        ::= { sunFmProblemEntry 6 }
      193 +
 172  194  sunFmProblemURL OBJECT-TYPE
 173  195          SYNTAX          URLString
 174  196          MAX-ACCESS      read-only
 175  197          STATUS          current
 176  198          DESCRIPTION
 177  199                  "The URL of an appropriate knowledge article providing more
 178  200                  detailed information about this problem."
 179      -        ::= { sunFmProblemEntry 4 }
      201 +        ::= { sunFmProblemEntry 7 }
 180  202  
      203 +sunFmProblemDescription OBJECT-TYPE
      204 +        SYNTAX          DisplayString
      205 +        MAX-ACCESS      read-only
      206 +        STATUS          current
      207 +        DESCRIPTION
      208 +                "The short problem description."
      209 +        ::= { sunFmProblemEntry 8 }
      210 +
      211 +sunFmProblemFMRI OBJECT-TYPE
      212 +        SYNTAX          DisplayString
      213 +        MAX-ACCESS      read-only
      214 +        STATUS          current
      215 +        DESCRIPTION
      216 +                "The FMRI of the SMF service associated with this problem
      217 +                (if any)."
      218 +        ::= { sunFmProblemEntry 9 }
      219 +
 181  220  sunFmProblemDiagEngine OBJECT-TYPE
 182  221          SYNTAX          URLString
 183  222          MAX-ACCESS      read-only
 184  223          STATUS          current
 185  224          DESCRIPTION
 186      -                "The Sun FMRI of the Fault Manager diagnosis engine that
      225 +                "The FMRI of the Fault Manager diagnosis engine that
 187  226                  performed the diagnosis of this problem, including its version."
 188      -        ::= { sunFmProblemEntry 5 }
      227 +        ::= { sunFmProblemEntry 10 }
 189  228  
 190  229  sunFmProblemDiagTime OBJECT-TYPE
 191  230          SYNTAX          DateAndTime
 192  231          MAX-ACCESS      read-only
 193  232          STATUS          current
 194  233          DESCRIPTION
 195  234                  "The date and time at which the problem was diagnosed."
 196      -        ::= { sunFmProblemEntry 6 }
      235 +        ::= { sunFmProblemEntry 11 }
 197  236  
 198  237  sunFmProblemSuspectCount OBJECT-TYPE
 199  238          SYNTAX          Gauge32
 200  239          MAX-ACCESS      read-only
 201  240          STATUS          current
 202  241          DESCRIPTION
 203  242                  "The number of individual suspect defects or faults
 204  243                  associated with this problem diagnosis, as shown by
 205  244                  fmdump(1M) -v -u <UUID>."
 206      -        ::= { sunFmProblemEntry 7 }
      245 +        ::= { sunFmProblemEntry 12 }
 207  246  
 208  247  --
 209  248  -- Events are indexed by the associated problem UUID and an index ranging
 210  249  -- from 1 to sunFmProblemEntry.fmProblemSuspectCount.<UUID> for easy retrieval
 211  250  -- and reconstruction of the information available via fmdump -v.  A
 212  251  -- fault appears once for each diagnosis referencing it.
 213  252  --
 214  253  
 215  254  sunFmFaultEventTable OBJECT-TYPE
 216  255          SYNTAX          SEQUENCE OF SunFmFaultEventEntry
↓ open down ↓ 2 lines elided ↑ open up ↑
 219  258          DESCRIPTION
 220  259                  "List of individual suspect defects or faults associated with
 221  260                  a problem diagnosis, as shown by fmdump(1M) -v -u <UUID>."
 222  261          ::= { sunFmMIB 2 }
 223  262  
 224  263  sunFmFaultEventEntry OBJECT-TYPE
 225  264          SYNTAX          SunFmFaultEventEntry
 226  265          MAX-ACCESS      not-accessible
 227  266          STATUS          current
 228  267          DESCRIPTION
 229      -                "Sun Fault Management fault or defect event containing a
      268 +                "Fault Management fault or defect event containing a
 230  269                  suspect problem and the corresponding FRU and ASRU."
 231  270          INDEX   { sunFmFaultEventUUIDIndex, sunFmFaultEventIndex }
 232  271          ::= { sunFmFaultEventTable 1 }
 233  272  
 234  273  SunFmFaultEventEntry ::= SEQUENCE {
 235  274          sunFmFaultEventUUIDIndex        SunFmUuidString,
 236  275          sunFmFaultEventIndex            Unsigned32,
 237  276          sunFmFaultEventProblemUUID      SunFmUuidString,
 238  277          sunFmFaultEventClass            DisplayString,
 239  278          sunFmFaultEventCertainty        Gauge32,
↓ open down ↓ 32 lines elided ↑ open up ↑
 272  311                  "UUID of a problem diagnosis with which this event is
 273  312                  associated.  An event may appear multiple times in association
 274  313                  with different diagnoses."
 275  314          ::= { sunFmFaultEventEntry 3 }
 276  315  
 277  316  sunFmFaultEventClass OBJECT-TYPE
 278  317          SYNTAX          DisplayString
 279  318          MAX-ACCESS      read-only
 280  319          STATUS          current
 281  320          DESCRIPTION
 282      -                "Sun Fault Management event class string."
      321 +                "Fault Management event class string."
 283  322          ::= { sunFmFaultEventEntry 4 }
 284  323  
 285  324  sunFmFaultEventCertainty OBJECT-TYPE
 286  325          SYNTAX          Gauge32 (0..100)
 287  326          MAX-ACCESS      read-only
 288  327          STATUS          current
 289  328          DESCRIPTION
 290  329                  "Percentage likelihood associated with this suspect for
 291  330                  this diagnosis."
 292  331          ::= { sunFmFaultEventEntry 5 }
 293  332  
 294  333  sunFmFaultEventASRU OBJECT-TYPE
 295  334          SYNTAX          URLString
 296  335          MAX-ACCESS      read-only
 297  336          STATUS          current
 298  337          DESCRIPTION
 299      -                "Sun FMRI of the Automated System Reconfiguration Unit (ASRU)
      338 +                "FMRI of the Automated System Reconfiguration Unit (ASRU)
 300  339                  that is believed to contain the specified fault or defect."
 301  340          ::= { sunFmFaultEventEntry 6 }
 302  341  
 303  342  sunFmFaultEventFRU OBJECT-TYPE
 304  343          SYNTAX          URLString
 305  344          MAX-ACCESS      read-only
 306  345          STATUS          current
 307  346          DESCRIPTION
 308      -                "Sun FMRI of the Field Replaceable Unit (FRU) that should be
      347 +                "FMRI of the Field Replaceable Unit (FRU) that should be
 309  348                  replaced in order to repair the specified fault or defect."
 310  349          ::= { sunFmFaultEventEntry 7 }
 311  350  
 312  351  sunFmFaultEventResource OBJECT-TYPE
 313  352          SYNTAX          URLString
 314  353          MAX-ACCESS      read-only
 315  354          STATUS          current
 316  355          DESCRIPTION
 317      -                "Sun FMRI of the resource responsible for the generation of
      356 +                "FMRI of the resource responsible for the generation of
 318  357                  the telemetry leading to the diagnosis."
 319  358          ::= { sunFmFaultEventEntry 8 }
 320  359  
 321  360  sunFmFaultEventStatus OBJECT-TYPE
 322  361          SYNTAX          SunFmEventState
 323  362          MAX-ACCESS      read-only
 324  363          STATUS          current
 325  364          DESCRIPTION
 326      -                "The current status of this suspect for this diagnosis. 
      365 +                "The current status of this suspect for this diagnosis.
 327  366                  See fmadm(1M) faulty."
 328  367          ::= { sunFmFaultEventEntry 9 }
 329  368  
 330  369  sunFmFaultEventLocation OBJECT-TYPE
 331  370          SYNTAX          URLString
 332  371          MAX-ACCESS      read-only
 333  372          STATUS          current
 334  373          DESCRIPTION
 335  374                  "Label of the Field Replaceable Unit (FRU) that should be
 336      -                replaced in order to repair the specified fault or defect."
      375 +                replaced in order to repair the specified fault or defect."
 337  376          ::= { sunFmFaultEventEntry 10 }
 338  377  
 339  378  --
 340  379  -- sunFmModuleTable provides fmd configuration information equivalent to
 341  380  -- the output of fmadm config.
 342  381  --
 343  382  
 344  383  sunFmModuleTable OBJECT-TYPE
 345  384          SYNTAX          SEQUENCE OF SunFmModuleEntry
 346  385          MAX-ACCESS      not-accessible
↓ open down ↓ 104 lines elided ↑ open up ↑
 451  490          STATUS          current
 452  491          DESCRIPTION
 453  492                  "Index of the resource in the resource table."
 454  493          ::= { sunFmResourceEntry 1 }
 455  494  
 456  495  sunFmResourceFMRI OBJECT-TYPE
 457  496          SYNTAX          DisplayString (SIZE(0..255))
 458  497          MAX-ACCESS      read-only
 459  498          STATUS          current
 460  499          DESCRIPTION
 461      -                "Sun FMRI of the Automated System Reconfiguration Unit (ASRU)
      500 +                "FMRI of the Automated System Reconfiguration Unit (ASRU)
 462  501                  which the fault manager believes to be faulty."
 463  502          ::= { sunFmResourceEntry 2 }
 464  503  
 465  504  sunFmResourceStatus OBJECT-TYPE
 466  505          SYNTAX          SunFmResourceState
 467  506          MAX-ACCESS      read-only
 468  507          STATUS          current
 469  508          DESCRIPTION
 470  509                  "The current status of the resource.  See fmadm(1M) faulty."
 471  510          ::= { sunFmResourceEntry 3 }
↓ open down ↓ 5 lines elided ↑ open up ↑
 477  516          DESCRIPTION
 478  517                  "The Universal Unique Identifier (UUID) for the problem
 479  518                  associated with the fault in this resource, as recorded by
 480  519                  fmd(1M) and shown by fmadm(1M)."
 481  520          ::= { sunFmResourceEntry 4 }
 482  521  
 483  522  sunFmObjectGroups OBJECT IDENTIFIER ::= { sunFmMIB 6 }
 484  523  
 485  524  sunFmObjectGroup OBJECT-GROUP OBJECTS {
 486  525                  sunFmProblemUUID,
      526 +                sunFmProblemHostname,
 487  527                  sunFmProblemCode,
      528 +                sunFmProblemType,
      529 +                sunFmProblemSeverity,
 488  530                  sunFmProblemURL,
      531 +                sunFmProblemFMRI,
      532 +                sunFmProblemDescription,
 489  533                  sunFmProblemDiagEngine,
 490  534                  sunFmProblemDiagTime,
 491  535                  sunFmProblemSuspectCount,
 492  536                  sunFmFaultEventProblemUUID,
 493  537                  sunFmFaultEventClass,
 494  538                  sunFmFaultEventCertainty,
 495  539                  sunFmFaultEventASRU,
 496  540                  sunFmFaultEventFRU,
 497  541                  sunFmFaultEventResource,
 498  542                  sunFmFaultEventStatus,
↓ open down ↓ 2 lines elided ↑ open up ↑
 501  545                  sunFmModuleVersion,
 502  546                  sunFmModuleStatus,
 503  547                  sunFmModuleDescription,
 504  548                  sunFmResourceCount,
 505  549                  sunFmResourceFMRI,
 506  550                  sunFmResourceStatus,
 507  551                  sunFmResourceDiagnosisUUID
 508  552          }
 509  553          STATUS  current
 510  554          DESCRIPTION
 511      -                "A collection of objects providing access to Sun Fault
      555 +                "A collection of objects providing access to Fault
 512  556                  Manager operational data."
 513  557          ::= { sunFmObjectGroups 1 }
 514      -        
 515  558  
      559 +
 516  560  --
 517  561  -- RFC 3584 requires that the next-to-last sub-ID be zero to allow for
 518  562  -- mapping v2/v3 notifications to v1 traps.
 519  563  --
 520  564  
 521  565  sunFmTraps OBJECT IDENTIFIER ::= { sunFmMIB 7 0 }
 522  566  
 523  567  sunFmProblemTrap NOTIFICATION-TYPE
 524  568          OBJECTS {
 525  569                  sunFmProblemUUID,
      570 +                sunFmProblemHostname,
 526  571                  sunFmProblemCode,
 527      -                sunFmProblemURL
      572 +                sunFmProblemType,
      573 +                sunFmProblemSeverity,
      574 +                sunFmProblemURL,
      575 +                sunFmProblemDescription,
      576 +                sunFmProblemFMRI
 528  577          }
 529  578          STATUS  current
 530  579          DESCRIPTION
 531  580                  "Trap notification that a diagnosis has been made or the
 532  581                  fault manager fmd(1M) has restarted and the corresponding
 533  582                  problem is still believed to be present in the managed entity."
 534  583          ::= { sunFmTraps 1 }
 535  584  
 536  585  sunFmNotificationGroup NOTIFICATION-GROUP NOTIFICATIONS {
 537  586                  sunFmProblemTrap
 538  587          }
 539  588          STATUS  current
 540  589          DESCRIPTION
 541      -                "A collection of notifications provided by the Sun Fault
 542      -                Manager."
      590 +                "A collection of notifications provided by the Fault Manager."
 543  591          ::= { sunFmObjectGroups 2 }
 544  592  
 545  593  END
 546      -
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX