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>


   4 -- The contents of this file are subject to the terms of the
   5 -- Common Development and Distribution License (the "License").
   6 -- You may not use this file except in compliance with the License.
   7 --
   8 -- You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 -- or http://www.opensolaris.org/os/licensing.
  10 -- See the License for the specific language governing permissions
  11 -- and limitations under the License.
  12 --
  13 -- When distributing Covered Code, include this CDDL HEADER in each
  14 -- file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 -- If applicable, add the following below this CDDL HEADER, with the
  16 -- fields enclosed by brackets "[]" replaced with your own identifying
  17 -- information: Portions Copyright [yyyy] [name of copyright owner]
  18 --
  19 -- CDDL HEADER END
  20 --
  21 
  22 --
  23 -- Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.

  24 --
  25 
  26 SUN-IREPORT-MIB DEFINITIONS ::= BEGIN
  27 
  28 IMPORTS
  29         products
  30                 FROM SUN-MIB
  31         Gauge32, Unsigned32, OBJECT-TYPE, NOTIFICATION-TYPE, MODULE-IDENTITY
  32                 FROM SNMPv2-SMI
  33         TEXTUAL-CONVENTION, DateAndTime, DisplayString
  34                 FROM SNMPv2-TC
  35         OBJECT-GROUP, NOTIFICATION-GROUP
  36                 FROM SNMPv2-CONF
  37         URLString
  38                 FROM NETWORK-SERVICES-MIB;
  39 
  40 sunIreportMIB MODULE-IDENTITY
  41         LAST-UPDATED    "201007220000Z" -- July 22, 2010
  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"
  52         DESCRIPTION
  53                 "Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.

  54 
  55                 MIB providing access to Oracle Solaris Fault Management
  56                 Informational Report Notifications"
  57                 
  58         REVISION        "201007220000Z" -- July 22, 2010
  59         DESCRIPTION     "Version: 1.0"
  60         ::= { ireport 1 }
  61 
  62 SunIreportSmfFmriString ::= TEXTUAL-CONVENTION
  63         STATUS          current
  64         DESCRIPTION
  65                 "Represents the FMRI of an SMF service"
  66         SYNTAX          OCTET STRING (SIZE (0..1023))
  67 
  68 SunIreportSmfState ::= TEXTUAL-CONVENTION
  69         STATUS          current
  70         DESCRIPTION
  71                 "Represents an SMF service state"
  72         SYNTAX  INTEGER {
  73                 offline(0),
  74                 online(1),
  75                 degraded(2),
  76                 disabled(3),
  77                 maintenance(4),
  78                 uninitialized(5)
  79         }
  80 
  81 ireport OBJECT IDENTIFIER ::= { products 197 }
  82 
  83 sunIreportNotification       OBJECT-TYPE
  84     SYNTAX      SunIreportNotificationEntry
  85     MAX-ACCESS  accessible-for-notify
  86     STATUS      current
  87     DESCRIPTION
  88                 "Solaris informational event notification"
  89         ::= { sunIreportMIB 1 }
  90 
  91 SunIreportNotificationEntry ::= SEQUENCE {
  92         sunIreportHostname              DisplayString,
  93         sunIreportMsgid                 DisplayString,
  94         sunIreportDescription           DisplayString,
  95         sunIreportTime                  DateAndTime,
  96         sunIreportSmfFMRI               SunIreportSmfFmriString,
  97         sunIreportSmfFromState          SunIreportSmfState,
  98         sunIreportSmfToState            SunIreportSmfState,
  99         sunIreportSmfTransitionReason   DisplayString
 100 }
 101 
 102 sunIreportHostname OBJECT-TYPE
 103         SYNTAX          DisplayString
 104         MAX-ACCESS      accessible-for-notify
 105         STATUS          current
 106         DESCRIPTION
 107                 "Hostname of the system on which the event occurred"
 108         ::= { sunIreportNotification 1 }
 109 
 110 sunIreportMsgid OBJECT-TYPE
 111         SYNTAX          DisplayString
 112         MAX-ACCESS      accessible-for-notify
 113         STATUS          current
 114         DESCRIPTION
 115                 "Message ID of Knowledge Article associated with this event"
 116         ::= { sunIreportNotification 2 }
 117 








 118 sunIreportDescription OBJECT-TYPE
 119         SYNTAX          DisplayString
 120         MAX-ACCESS      accessible-for-notify
 121         STATUS          current
 122         DESCRIPTION
 123                 "Description of the event"
 124         ::= { sunIreportNotification 3 }
 125 
 126 sunIreportTime OBJECT-TYPE
 127         SYNTAX          DateAndTime
 128         MAX-ACCESS      accessible-for-notify
 129         STATUS          current
 130         DESCRIPTION
 131                 "Timestamp of the event"
 132         ::= { sunIreportNotification 4 }
 133 
 134 sunIreportSmfFMRI OBJECT-TYPE
 135         SYNTAX          SunIreportSmfFmriString
 136         MAX-ACCESS      accessible-for-notify
 137         STATUS          current
 138         DESCRIPTION
 139                 "FMRI of the SMF service asssociated with this event"
 140         ::= { sunIreportNotification 5 }
 141 
 142 sunIreportSmfFromState OBJECT-TYPE
 143         SYNTAX          SunIreportSmfState
 144         MAX-ACCESS      accessible-for-notify
 145         STATUS          current
 146         DESCRIPTION
 147                 "Previous state of the service that transitioned"
 148         ::= { sunIreportNotification 6 }
 149 
 150 sunIreportSmfToState OBJECT-TYPE
 151         SYNTAX          SunIreportSmfState
 152         MAX-ACCESS      accessible-for-notify
 153         STATUS          current
 154         DESCRIPTION
 155                 "Final state of the service that transitioned"
 156         ::= { sunIreportNotification 7 }
 157 
 158 sunIreportSmfTransitionReason OBJECT-TYPE
 159         SYNTAX          DisplayString
 160         MAX-ACCESS      accessible-for-notify
 161         STATUS          current
 162         DESCRIPTION
 163                 "Reason for the state transition"
 164         ::= { sunIreportNotification 8 }
 165 
 166 
 167 --
 168 -- RFC 3584 requires that the next-to-last sub-ID be zero to allow for
 169 -- mapping v2/v3 notifications to v1 traps.
 170 --
 171 
 172 sunIreportTraps OBJECT IDENTIFIER ::= { sunIreportMIB 2 0 }
 173 
 174 sunIreportTrap NOTIFICATION-TYPE
 175         OBJECTS {
 176                 sunIreportHostname,
 177                 sunIreportMsgid,

 178                 sunIreportDescription,
 179                 sunIreportTime,
 180                 sunIreportSmfFMRI,
 181                 sunIreportSmfFromState,
 182                 sunIreportSmfToState,
 183                 sunIreportSmfTransitionReason
 184         }
 185         STATUS  current
 186         DESCRIPTION
 187                 "Trap notification that a Solaris informational report has
 188                 occurred.
 189                 
 190                 The last four entries in the trap will only be set for SMF
 191                 service state transition (STN) events.  The following values for
 192                 sunIreportMsgid correspond to an STN event:
 193                 
 194                 SMF-8000-SR
 195                 SMF-8000-TC
 196                 SMF-8000-UQ
 197                 SMF-8000-VE
 198                 SMF-8000-WJ
 199                 SMF-8000-X2"
 200 
 201         ::= { sunIreportTraps 1 }
 202 
 203 END
 204 


   4 -- The contents of this file are subject to the terms of the
   5 -- Common Development and Distribution License (the "License").
   6 -- You may not use this file except in compliance with the License.
   7 --
   8 -- You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 -- or http://www.opensolaris.org/os/licensing.
  10 -- See the License for the specific language governing permissions
  11 -- and limitations under the License.
  12 --
  13 -- When distributing Covered Code, include this CDDL HEADER in each
  14 -- file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 -- If applicable, add the following below this CDDL HEADER, with the
  16 -- fields enclosed by brackets "[]" replaced with your own identifying
  17 -- information: Portions Copyright [yyyy] [name of copyright owner]
  18 --
  19 -- CDDL HEADER END
  20 --
  21 
  22 --
  23 -- Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  24 -- Copyright 2018 Nexenta Systems, Inc.
  25 --
  26 
  27 SUN-IREPORT-MIB DEFINITIONS ::= BEGIN
  28 
  29 IMPORTS
  30         products
  31                 FROM SUN-MIB
  32         OBJECT-TYPE, NOTIFICATION-TYPE, MODULE-IDENTITY
  33                 FROM SNMPv2-SMI
  34         TEXTUAL-CONVENTION, DateAndTime, DisplayString
  35                 FROM SNMPv2-TC
  36         OBJECT-GROUP, NOTIFICATION-GROUP
  37                 FROM SNMPv2-CONF;


  38 
  39 sunIreportMIB MODULE-IDENTITY
  40         LAST-UPDATED    "201803120000Z"
  41         ORGANIZATION    "Nexenta Systems, Inc."
  42         CONTACT-INFO    "https://www.nexenta.com"








  43         DESCRIPTION
  44                 "Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  45                 Copyright 2018 Nexenta Systems, Inc.
  46 
  47                 MIB providing access to Fault Management Informational Report Notifications."
  48         REVISION        "201803120000Z"
  49         DESCRIPTION     "Version: 1.1"


  50         ::= { ireport 1 }
  51 
  52 ireport OBJECT IDENTIFIER ::= { products 197 }




  53 
  54 SunIreportSmfState ::= TEXTUAL-CONVENTION
  55         STATUS          current
  56         DESCRIPTION
  57                 "Represents an SMF service state"
  58         SYNTAX  INTEGER {
  59                 offline(0),
  60                 online(1),
  61                 degraded(2),
  62                 disabled(3),
  63                 maintenance(4),
  64                 uninitialized(5)
  65         }
  66 
  67 sunIreportNotification OBJECT IDENTIFIER ::= { sunIreportMIB 1 }
  68 



















  69 sunIreportHostname OBJECT-TYPE
  70         SYNTAX          DisplayString
  71         MAX-ACCESS      accessible-for-notify
  72         STATUS          current
  73         DESCRIPTION
  74                 "Hostname of the system on which the event occurred"
  75         ::= { sunIreportNotification 1 }
  76 
  77 sunIreportMsgid OBJECT-TYPE
  78         SYNTAX          DisplayString
  79         MAX-ACCESS      accessible-for-notify
  80         STATUS          current
  81         DESCRIPTION
  82                 "Message ID of Knowledge Article associated with this event"
  83         ::= { sunIreportNotification 2 }
  84 
  85 sunIreportSeverity OBJECT-TYPE
  86         SYNTAX          DisplayString
  87         MAX-ACCESS      accessible-for-notify
  88         STATUS          current
  89         DESCRIPTION
  90                 "Severity of the event"
  91         ::= { sunIreportNotification 3 }
  92 
  93 sunIreportDescription OBJECT-TYPE
  94         SYNTAX          DisplayString
  95         MAX-ACCESS      accessible-for-notify
  96         STATUS          current
  97         DESCRIPTION
  98                 "Description of the event"
  99         ::= { sunIreportNotification 4 }
 100 
 101 sunIreportTime OBJECT-TYPE
 102         SYNTAX          DateAndTime
 103         MAX-ACCESS      accessible-for-notify
 104         STATUS          current
 105         DESCRIPTION
 106                 "Timestamp of the event"
 107         ::= { sunIreportNotification 5 }
 108 
 109 sunIreportSmfFMRI OBJECT-TYPE
 110         SYNTAX          DisplayString
 111         MAX-ACCESS      accessible-for-notify
 112         STATUS          current
 113         DESCRIPTION
 114                 "FMRI of the SMF service asssociated with this event"
 115         ::= { sunIreportNotification 6 }
 116 
 117 sunIreportSmfFromState OBJECT-TYPE
 118         SYNTAX          SunIreportSmfState
 119         MAX-ACCESS      accessible-for-notify
 120         STATUS          current
 121         DESCRIPTION
 122                 "Previous state of the service that transitioned"
 123         ::= { sunIreportNotification 7 }
 124 
 125 sunIreportSmfToState OBJECT-TYPE
 126         SYNTAX          SunIreportSmfState
 127         MAX-ACCESS      accessible-for-notify
 128         STATUS          current
 129         DESCRIPTION
 130                 "Final state of the service that transitioned"
 131         ::= { sunIreportNotification 8 }
 132 
 133 sunIreportSmfTransitionReason OBJECT-TYPE
 134         SYNTAX          DisplayString
 135         MAX-ACCESS      accessible-for-notify
 136         STATUS          current
 137         DESCRIPTION
 138                 "Reason for the state transition"
 139         ::= { sunIreportNotification 9 }
 140 

 141 --
 142 -- RFC 3584 requires that the next-to-last sub-ID be zero to allow for
 143 -- mapping v2/v3 notifications to v1 traps.
 144 --
 145 
 146 sunIreportTraps OBJECT IDENTIFIER ::= { sunIreportMIB 2 0 }
 147 
 148 sunIreportTrap NOTIFICATION-TYPE
 149         OBJECTS {
 150                 sunIreportHostname,
 151                 sunIreportMsgid,
 152                 sunIreportSeverity,
 153                 sunIreportDescription,
 154                 sunIreportTime,
 155                 sunIreportSmfFMRI,
 156                 sunIreportSmfFromState,
 157                 sunIreportSmfToState,
 158                 sunIreportSmfTransitionReason
 159         }
 160         STATUS  current
 161         DESCRIPTION
 162                 "Trap notification that a informational report has occurred.

 163                 
 164                 The last four entries in the trap will only be set for SMF
 165                 service state transition (STN) events.  The following values for
 166                 sunIreportMsgid correspond to an STN event:
 167                 
 168                 SMF-8000-SR
 169                 SMF-8000-TC
 170                 SMF-8000-UQ
 171                 SMF-8000-VE
 172                 SMF-8000-WJ
 173                 SMF-8000-X2"
 174 
 175         ::= { sunIreportTraps 1 }
 176 
 177 END