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