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>
| Split |
Close |
| Expand all |
| Collapse all |
--- old/usr/src/lib/fm/libfmd_snmp/mibs/SUN-IREPORT-MIB.mib
+++ new/usr/src/lib/fm/libfmd_snmp/mibs/SUN-IREPORT-MIB.mib
1 1 --
2 2 -- CDDL HEADER START
3 3 --
4 4 -- The contents of this file are subject to the terms of the
5 5 -- Common Development and Distribution License (the "License").
6 6 -- You may not use this file except in compliance with the License.
7 7 --
8 8 -- You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 -- or http://www.opensolaris.org/os/licensing.
10 10 -- See the License for the specific language governing permissions
11 11 -- and limitations under the License.
12 12 --
13 13 -- When distributing Covered Code, include this CDDL HEADER in each
|
↓ 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) 2010, Oracle and/or its affiliates. All rights reserved.
24 +-- Copyright 2018 Nexenta Systems, Inc.
24 25 --
25 26
26 27 SUN-IREPORT-MIB DEFINITIONS ::= BEGIN
27 28
28 29 IMPORTS
29 30 products
30 31 FROM SUN-MIB
31 - Gauge32, Unsigned32, OBJECT-TYPE, NOTIFICATION-TYPE, MODULE-IDENTITY
32 + 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 - FROM SNMPv2-CONF
37 - URLString
38 - FROM NETWORK-SERVICES-MIB;
37 + FROM SNMPv2-CONF;
39 38
40 39 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"
40 + LAST-UPDATED "201803120000Z"
41 + ORGANIZATION "Nexenta Systems, Inc."
42 + CONTACT-INFO "https://www.nexenta.com"
52 43 DESCRIPTION
53 44 "Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
45 + Copyright 2018 Nexenta Systems, Inc.
54 46
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"
47 + MIB providing access to Fault Management Informational Report Notifications."
48 + REVISION "201803120000Z"
49 + DESCRIPTION "Version: 1.1"
60 50 ::= { ireport 1 }
61 51
62 -SunIreportSmfFmriString ::= TEXTUAL-CONVENTION
63 - STATUS current
64 - DESCRIPTION
65 - "Represents the FMRI of an SMF service"
66 - SYNTAX OCTET STRING (SIZE (0..1023))
52 +ireport OBJECT IDENTIFIER ::= { products 197 }
67 53
68 54 SunIreportSmfState ::= TEXTUAL-CONVENTION
69 55 STATUS current
70 56 DESCRIPTION
71 57 "Represents an SMF service state"
72 58 SYNTAX INTEGER {
73 59 offline(0),
74 60 online(1),
75 61 degraded(2),
76 62 disabled(3),
77 63 maintenance(4),
78 64 uninitialized(5)
79 65 }
80 66
81 -ireport OBJECT IDENTIFIER ::= { products 197 }
67 +sunIreportNotification OBJECT IDENTIFIER ::= { sunIreportMIB 1 }
82 68
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 69 sunIreportHostname OBJECT-TYPE
103 70 SYNTAX DisplayString
104 71 MAX-ACCESS accessible-for-notify
105 72 STATUS current
106 73 DESCRIPTION
107 74 "Hostname of the system on which the event occurred"
108 75 ::= { sunIreportNotification 1 }
109 76
110 77 sunIreportMsgid OBJECT-TYPE
111 78 SYNTAX DisplayString
112 79 MAX-ACCESS accessible-for-notify
113 80 STATUS current
114 81 DESCRIPTION
115 82 "Message ID of Knowledge Article associated with this event"
116 83 ::= { sunIreportNotification 2 }
117 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 +
118 93 sunIreportDescription OBJECT-TYPE
119 94 SYNTAX DisplayString
120 95 MAX-ACCESS accessible-for-notify
121 96 STATUS current
122 97 DESCRIPTION
123 98 "Description of the event"
124 - ::= { sunIreportNotification 3 }
99 + ::= { sunIreportNotification 4 }
125 100
126 101 sunIreportTime OBJECT-TYPE
127 102 SYNTAX DateAndTime
128 103 MAX-ACCESS accessible-for-notify
129 104 STATUS current
130 105 DESCRIPTION
131 106 "Timestamp of the event"
132 - ::= { sunIreportNotification 4 }
107 + ::= { sunIreportNotification 5 }
133 108
134 109 sunIreportSmfFMRI OBJECT-TYPE
135 - SYNTAX SunIreportSmfFmriString
110 + SYNTAX DisplayString
136 111 MAX-ACCESS accessible-for-notify
137 112 STATUS current
138 113 DESCRIPTION
139 114 "FMRI of the SMF service asssociated with this event"
140 - ::= { sunIreportNotification 5 }
115 + ::= { sunIreportNotification 6 }
141 116
142 117 sunIreportSmfFromState OBJECT-TYPE
143 118 SYNTAX SunIreportSmfState
144 119 MAX-ACCESS accessible-for-notify
145 120 STATUS current
146 121 DESCRIPTION
147 122 "Previous state of the service that transitioned"
148 - ::= { sunIreportNotification 6 }
123 + ::= { sunIreportNotification 7 }
149 124
150 125 sunIreportSmfToState OBJECT-TYPE
151 126 SYNTAX SunIreportSmfState
152 127 MAX-ACCESS accessible-for-notify
153 128 STATUS current
154 129 DESCRIPTION
155 130 "Final state of the service that transitioned"
156 - ::= { sunIreportNotification 7 }
131 + ::= { sunIreportNotification 8 }
157 132
158 133 sunIreportSmfTransitionReason OBJECT-TYPE
159 134 SYNTAX DisplayString
160 135 MAX-ACCESS accessible-for-notify
161 136 STATUS current
162 137 DESCRIPTION
163 138 "Reason for the state transition"
164 - ::= { sunIreportNotification 8 }
139 + ::= { sunIreportNotification 9 }
165 140
166 -
167 141 --
168 142 -- RFC 3584 requires that the next-to-last sub-ID be zero to allow for
169 143 -- mapping v2/v3 notifications to v1 traps.
170 144 --
171 145
172 146 sunIreportTraps OBJECT IDENTIFIER ::= { sunIreportMIB 2 0 }
173 147
174 148 sunIreportTrap NOTIFICATION-TYPE
175 149 OBJECTS {
176 150 sunIreportHostname,
177 151 sunIreportMsgid,
152 + sunIreportSeverity,
178 153 sunIreportDescription,
179 154 sunIreportTime,
180 155 sunIreportSmfFMRI,
181 156 sunIreportSmfFromState,
182 157 sunIreportSmfToState,
183 158 sunIreportSmfTransitionReason
184 159 }
185 160 STATUS current
186 161 DESCRIPTION
187 - "Trap notification that a Solaris informational report has
188 - occurred.
162 + "Trap notification that a informational report has occurred.
189 163
190 164 The last four entries in the trap will only be set for SMF
191 165 service state transition (STN) events. The following values for
192 166 sunIreportMsgid correspond to an STN event:
193 167
194 168 SMF-8000-SR
195 169 SMF-8000-TC
196 170 SMF-8000-UQ
197 171 SMF-8000-VE
198 172 SMF-8000-WJ
199 173 SMF-8000-X2"
200 174
201 175 ::= { sunIreportTraps 1 }
202 176
203 177 END
204 -
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX