1 --
   2 -- CDDL HEADER START
   3 --
   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