1*f6e214c7SGavin Maltby--
2*f6e214c7SGavin Maltby-- CDDL HEADER START
3*f6e214c7SGavin Maltby--
4*f6e214c7SGavin Maltby-- The contents of this file are subject to the terms of the
5*f6e214c7SGavin Maltby-- Common Development and Distribution License (the "License").
6*f6e214c7SGavin Maltby-- You may not use this file except in compliance with the License.
7*f6e214c7SGavin Maltby--
8*f6e214c7SGavin Maltby-- You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*f6e214c7SGavin Maltby-- or http://www.opensolaris.org/os/licensing.
10*f6e214c7SGavin Maltby-- See the License for the specific language governing permissions
11*f6e214c7SGavin Maltby-- and limitations under the License.
12*f6e214c7SGavin Maltby--
13*f6e214c7SGavin Maltby-- When distributing Covered Code, include this CDDL HEADER in each
14*f6e214c7SGavin Maltby-- file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*f6e214c7SGavin Maltby-- If applicable, add the following below this CDDL HEADER, with the
16*f6e214c7SGavin Maltby-- fields enclosed by brackets "[]" replaced with your own identifying
17*f6e214c7SGavin Maltby-- information: Portions Copyright [yyyy] [name of copyright owner]
18*f6e214c7SGavin Maltby--
19*f6e214c7SGavin Maltby-- CDDL HEADER END
20*f6e214c7SGavin Maltby--
21*f6e214c7SGavin Maltby
22*f6e214c7SGavin Maltby--
23*f6e214c7SGavin Maltby-- Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24*f6e214c7SGavin Maltby--
25*f6e214c7SGavin Maltby
26*f6e214c7SGavin MaltbySUN-IREPORT-MIB DEFINITIONS ::= BEGIN
27*f6e214c7SGavin Maltby
28*f6e214c7SGavin MaltbyIMPORTS
29*f6e214c7SGavin Maltby	products
30*f6e214c7SGavin Maltby		FROM SUN-MIB
31*f6e214c7SGavin Maltby	Gauge32, Unsigned32, OBJECT-TYPE, NOTIFICATION-TYPE, MODULE-IDENTITY
32*f6e214c7SGavin Maltby		FROM SNMPv2-SMI
33*f6e214c7SGavin Maltby	TEXTUAL-CONVENTION, DateAndTime, DisplayString
34*f6e214c7SGavin Maltby		FROM SNMPv2-TC
35*f6e214c7SGavin Maltby	OBJECT-GROUP, NOTIFICATION-GROUP
36*f6e214c7SGavin Maltby		FROM SNMPv2-CONF
37*f6e214c7SGavin Maltby	URLString
38*f6e214c7SGavin Maltby		FROM NETWORK-SERVICES-MIB;
39*f6e214c7SGavin Maltby
40*f6e214c7SGavin MaltbysunIreportMIB MODULE-IDENTITY
41*f6e214c7SGavin Maltby	LAST-UPDATED	"201007220000Z" -- July 22, 2010
42*f6e214c7SGavin Maltby	ORGANIZATION	"Oracle Corporation"
43*f6e214c7SGavin Maltby	CONTACT-INFO	"Oracle Corporation
44*f6e214c7SGavin Maltby			 500 Oracle Parkway
45*f6e214c7SGavin Maltby			 Redwood Shores, CA 94065
46*f6e214c7SGavin Maltby
47*f6e214c7SGavin Maltby			 1.650.506.7000 or
48*f6e214c7SGavin Maltby			 1.800.392.2999
49*f6e214c7SGavin Maltby
50*f6e214c7SGavin Maltby			 http://www.oracle.com
51*f6e214c7SGavin Maltby			 or contact your local support representative"
52*f6e214c7SGavin Maltby	DESCRIPTION
53*f6e214c7SGavin Maltby		"Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
54*f6e214c7SGavin Maltby
55*f6e214c7SGavin Maltby		MIB providing access to Oracle Solaris Fault Management
56*f6e214c7SGavin Maltby		Informational Report Notifications"
57*f6e214c7SGavin Maltby
58*f6e214c7SGavin Maltby	REVISION	"201007220000Z" -- July 22, 2010
59*f6e214c7SGavin Maltby	DESCRIPTION	"Version: 1.0"
60*f6e214c7SGavin Maltby	::= { ireport 1 }
61*f6e214c7SGavin Maltby
62*f6e214c7SGavin MaltbySunIreportSmfFmriString ::= TEXTUAL-CONVENTION
63*f6e214c7SGavin Maltby	STATUS		current
64*f6e214c7SGavin Maltby	DESCRIPTION
65*f6e214c7SGavin Maltby		"Represents the FMRI of an SMF service"
66*f6e214c7SGavin Maltby	SYNTAX		OCTET STRING (SIZE (0..1023))
67*f6e214c7SGavin Maltby
68*f6e214c7SGavin MaltbySunIreportSmfState ::= TEXTUAL-CONVENTION
69*f6e214c7SGavin Maltby	STATUS		current
70*f6e214c7SGavin Maltby	DESCRIPTION
71*f6e214c7SGavin Maltby		"Represents an SMF service state"
72*f6e214c7SGavin Maltby	SYNTAX	INTEGER {
73*f6e214c7SGavin Maltby		offline(0),
74*f6e214c7SGavin Maltby		online(1),
75*f6e214c7SGavin Maltby		degraded(2),
76*f6e214c7SGavin Maltby		disabled(3),
77*f6e214c7SGavin Maltby		maintenance(4),
78*f6e214c7SGavin Maltby		uninitialized(5)
79*f6e214c7SGavin Maltby	}
80*f6e214c7SGavin Maltby
81*f6e214c7SGavin Maltbyireport OBJECT IDENTIFIER ::= { products 197 }
82*f6e214c7SGavin Maltby
83*f6e214c7SGavin MaltbysunIreportNotification       OBJECT-TYPE
84*f6e214c7SGavin Maltby    SYNTAX      SunIreportNotificationEntry
85*f6e214c7SGavin Maltby    MAX-ACCESS  accessible-for-notify
86*f6e214c7SGavin Maltby    STATUS      current
87*f6e214c7SGavin Maltby    DESCRIPTION
88*f6e214c7SGavin Maltby		"Solaris informational event notification"
89*f6e214c7SGavin Maltby	::= { sunIreportMIB 1 }
90*f6e214c7SGavin Maltby
91*f6e214c7SGavin MaltbySunIreportNotificationEntry ::= SEQUENCE {
92*f6e214c7SGavin Maltby 	sunIreportHostname		DisplayString,
93*f6e214c7SGavin Maltby	sunIreportMsgid			DisplayString,
94*f6e214c7SGavin Maltby	sunIreportDescription		DisplayString,
95*f6e214c7SGavin Maltby	sunIreportTime			DateAndTime,
96*f6e214c7SGavin Maltby	sunIreportSmfFMRI		SunIreportSmfFmriString,
97*f6e214c7SGavin Maltby	sunIreportSmfFromState		SunIreportSmfState,
98*f6e214c7SGavin Maltby	sunIreportSmfToState		SunIreportSmfState,
99*f6e214c7SGavin Maltby	sunIreportSmfTransitionReason	DisplayString
100*f6e214c7SGavin Maltby}
101*f6e214c7SGavin Maltby
102*f6e214c7SGavin MaltbysunIreportHostname OBJECT-TYPE
103*f6e214c7SGavin Maltby	SYNTAX		DisplayString
104*f6e214c7SGavin Maltby	MAX-ACCESS	accessible-for-notify
105*f6e214c7SGavin Maltby	STATUS		current
106*f6e214c7SGavin Maltby	DESCRIPTION
107*f6e214c7SGavin Maltby		"Hostname of the system on which the event occurred"
108*f6e214c7SGavin Maltby	::= { sunIreportNotification 1 }
109*f6e214c7SGavin Maltby
110*f6e214c7SGavin MaltbysunIreportMsgid OBJECT-TYPE
111*f6e214c7SGavin Maltby	SYNTAX		DisplayString
112*f6e214c7SGavin Maltby	MAX-ACCESS	accessible-for-notify
113*f6e214c7SGavin Maltby	STATUS		current
114*f6e214c7SGavin Maltby	DESCRIPTION
115*f6e214c7SGavin Maltby		"Message ID of Knowledge Article associated with this event"
116*f6e214c7SGavin Maltby	::= { sunIreportNotification 2 }
117*f6e214c7SGavin Maltby
118*f6e214c7SGavin MaltbysunIreportDescription OBJECT-TYPE
119*f6e214c7SGavin Maltby	SYNTAX		DisplayString
120*f6e214c7SGavin Maltby	MAX-ACCESS	accessible-for-notify
121*f6e214c7SGavin Maltby	STATUS		current
122*f6e214c7SGavin Maltby	DESCRIPTION
123*f6e214c7SGavin Maltby		"Description of the event"
124*f6e214c7SGavin Maltby	::= { sunIreportNotification 3 }
125*f6e214c7SGavin Maltby
126*f6e214c7SGavin MaltbysunIreportTime OBJECT-TYPE
127*f6e214c7SGavin Maltby	SYNTAX		DateAndTime
128*f6e214c7SGavin Maltby	MAX-ACCESS	accessible-for-notify
129*f6e214c7SGavin Maltby	STATUS		current
130*f6e214c7SGavin Maltby	DESCRIPTION
131*f6e214c7SGavin Maltby		"Timestamp of the event"
132*f6e214c7SGavin Maltby	::= { sunIreportNotification 4 }
133*f6e214c7SGavin Maltby
134*f6e214c7SGavin MaltbysunIreportSmfFMRI OBJECT-TYPE
135*f6e214c7SGavin Maltby	SYNTAX		SunIreportSmfFmriString
136*f6e214c7SGavin Maltby	MAX-ACCESS	accessible-for-notify
137*f6e214c7SGavin Maltby	STATUS		current
138*f6e214c7SGavin Maltby	DESCRIPTION
139*f6e214c7SGavin Maltby		"FMRI of the SMF service asssociated with this event"
140*f6e214c7SGavin Maltby	::= { sunIreportNotification 5 }
141*f6e214c7SGavin Maltby
142*f6e214c7SGavin MaltbysunIreportSmfFromState OBJECT-TYPE
143*f6e214c7SGavin Maltby	SYNTAX		SunIreportSmfState
144*f6e214c7SGavin Maltby	MAX-ACCESS	accessible-for-notify
145*f6e214c7SGavin Maltby	STATUS		current
146*f6e214c7SGavin Maltby	DESCRIPTION
147*f6e214c7SGavin Maltby		"Previous state of the service that transitioned"
148*f6e214c7SGavin Maltby	::= { sunIreportNotification 6 }
149*f6e214c7SGavin Maltby
150*f6e214c7SGavin MaltbysunIreportSmfToState OBJECT-TYPE
151*f6e214c7SGavin Maltby	SYNTAX		SunIreportSmfState
152*f6e214c7SGavin Maltby	MAX-ACCESS	accessible-for-notify
153*f6e214c7SGavin Maltby	STATUS		current
154*f6e214c7SGavin Maltby	DESCRIPTION
155*f6e214c7SGavin Maltby		"Final state of the service that transitioned"
156*f6e214c7SGavin Maltby	::= { sunIreportNotification 7 }
157*f6e214c7SGavin Maltby
158*f6e214c7SGavin MaltbysunIreportSmfTransitionReason OBJECT-TYPE
159*f6e214c7SGavin Maltby	SYNTAX		DisplayString
160*f6e214c7SGavin Maltby	MAX-ACCESS	accessible-for-notify
161*f6e214c7SGavin Maltby	STATUS		current
162*f6e214c7SGavin Maltby	DESCRIPTION
163*f6e214c7SGavin Maltby		"Reason for the state transition"
164*f6e214c7SGavin Maltby	::= { sunIreportNotification 8 }
165*f6e214c7SGavin Maltby
166*f6e214c7SGavin Maltby
167*f6e214c7SGavin Maltby--
168*f6e214c7SGavin Maltby-- RFC 3584 requires that the next-to-last sub-ID be zero to allow for
169*f6e214c7SGavin Maltby-- mapping v2/v3 notifications to v1 traps.
170*f6e214c7SGavin Maltby--
171*f6e214c7SGavin Maltby
172*f6e214c7SGavin MaltbysunIreportTraps OBJECT IDENTIFIER ::= { sunIreportMIB 2 0 }
173*f6e214c7SGavin Maltby
174*f6e214c7SGavin MaltbysunIreportTrap NOTIFICATION-TYPE
175*f6e214c7SGavin Maltby	OBJECTS	{
176*f6e214c7SGavin Maltby		sunIreportHostname,
177*f6e214c7SGavin Maltby		sunIreportMsgid,
178*f6e214c7SGavin Maltby		sunIreportDescription,
179*f6e214c7SGavin Maltby		sunIreportTime,
180*f6e214c7SGavin Maltby		sunIreportSmfFMRI,
181*f6e214c7SGavin Maltby		sunIreportSmfFromState,
182*f6e214c7SGavin Maltby		sunIreportSmfToState,
183*f6e214c7SGavin Maltby		sunIreportSmfTransitionReason
184*f6e214c7SGavin Maltby	}
185*f6e214c7SGavin Maltby	STATUS	current
186*f6e214c7SGavin Maltby	DESCRIPTION
187*f6e214c7SGavin Maltby		"Trap notification that a Solaris informational report has
188*f6e214c7SGavin Maltby		occurred.
189*f6e214c7SGavin Maltby
190*f6e214c7SGavin Maltby		The last four entries in the trap will only be set for SMF
191*f6e214c7SGavin Maltby		service state transition (STN) events.  The following values for
192*f6e214c7SGavin Maltby		sunIreportMsgid correspond to an STN event:
193*f6e214c7SGavin Maltby
194*f6e214c7SGavin Maltby		SMF-8000-SR
195*f6e214c7SGavin Maltby		SMF-8000-TC
196*f6e214c7SGavin Maltby		SMF-8000-UQ
197*f6e214c7SGavin Maltby		SMF-8000-VE
198*f6e214c7SGavin Maltby		SMF-8000-WJ
199*f6e214c7SGavin Maltby		SMF-8000-X2"
200*f6e214c7SGavin Maltby
201*f6e214c7SGavin Maltby	::= { sunIreportTraps 1 }
202*f6e214c7SGavin Maltby
203*f6e214c7SGavin MaltbyEND
204*f6e214c7SGavin Maltby
205