3 -- Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
5 -- U.S. Government Rights - Commercial software. Government users are
7 -- to the Sun Microsystems, Inc. standard license agreement and applicable
8 -- provisions of the FAR and its supplements.
11 -- This distribution may include materials developed by third parties. Sun,
12 -- Sun Microsystems, the Sun logo and Solaris are trademarks or registered
13 -- trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
16 ----------------------------------------------------------
17 -- Systems Management Agent (SMA) SDK module DEMO-1 MIB
18 ----------------------------------------------------------
20 SDK-DEMO1-MIB DEFINITIONS ::= BEGIN
23 enterprises, MODULE-IDENTITY, OBJECT-TYPE, Counter64, Integer32, Unsigned32
30 sdkDemo1MIB MODULE-IDENTITY
31 LAST-UPDATED "0009181435Z"
32 ORGANIZATION "Sun Microsystems Inc."
34 " Sun Microsystems Inc
37 e-mail: service@sun.com"
39 " SMA SDK MIB DEMO-1. This MIB will be used to demonstrate the
40 implementation of modules and various module features in SMA agent."
43 sun OBJECT IDENTIFIER ::= { enterprises 42 }
44 products OBJECT IDENTIFIER ::= { sun 2 }
45 management OBJECT IDENTIFIER ::= { products 2 }
46 sma OBJECT IDENTIFIER ::= { management 4 }
47 demo OBJECT IDENTIFIER ::= { sma 4 }
50 -- There are currently 2 Groups in the example.
51 -- The "Load" group contains information about system load
52 -- The "File" group contains information about some files on the system
55 me1LoadGroup OBJECT-GROUP
56 OBJECTS { me1SystemLoadAvg1min, me1SystemLoadAvg5min,
57 me1SystemLoadAvg15min }
60 "Load related statistics."
63 me1FileGroup OBJECT-GROUP
64 OBJECTS { me1FileIndex, me1FileName, me1FileSize, me1FilePerm
68 "File related statistics."
72 -- Properties in the "Load" group
75 me1SystemLoadAvg1min OBJECT-TYPE
81 "Load average of the system over the last 1 minute."
82 ::= { me1LoadGroup 1 }
84 me1SystemLoadAvg5min OBJECT-TYPE
90 "Load average of the system over the last 5 minutes."
91 ::= { me1LoadGroup 2 }
93 me1SystemLoadAvg15min OBJECT-TYPE
99 "Load average of the system over the last 15 minutes."
100 ::= { me1LoadGroup 3 }
103 -- Objects in the "File" group
106 me1FileTable OBJECT-TYPE
107 SYNTAX SEQUENCE OF Me1FileEntry
108 MAX-ACCESS not-accessible
111 "Table containing information of some files on the system."
112 ::= { me1FileGroup 1 }
114 me1FileEntry OBJECT-TYPE
116 MAX-ACCESS not-accessible
119 "Information about one file on the system."
120 INDEX { me1FileIndex }
121 ::= { me1FileTable 1 }
135 me1FileIndex OBJECT-TYPE
141 ::= { me1FileEntry 1 }
143 me1FileName OBJECT-TYPE
145 MAX-ACCESS read-create
149 ::= { me1FileEntry 2 }
151 me1FileSize OBJECT-TYPE
156 "Size of the file in kb"
157 ::= { me1FileEntry 3 }
159 me1FilePerm OBJECT-TYPE
164 "Permissions on this file. example, 0755 "
165 ::= { me1FileEntry 4 }
171 me1ContactInfoTable OBJECT-TYPE
172 SYNTAX SEQUENCE OF Me1ContactInfoEntry
173 MAX-ACCESS not-accessible
176 "The contact information table."
177 ::= { sdkDemo1MIB 3 }
181 me1ContactInfoEntry OBJECT-TYPE
182 SYNTAX Me1ContactInfoEntry
183 MAX-ACCESS not-accessible
186 "An entry in the contact info table."
187 INDEX { me1FloorNumber, me1RoomNumber }
188 ::= { me1ContactInfoTable 1 }
192 Me1ContactInfoEntry ::=
204 me1FloorNumber OBJECT-TYPE
205 SYNTAX INTEGER (1..3)
209 "This object combines with me1RoomNumber are
210 the identifier of the table."
211 ::= { me1ContactInfoEntry 1 }
214 me1RoomNumber OBJECT-TYPE
215 SYNTAX INTEGER (1..100)
219 "This object combines with me1FloorNumber are
220 the identifier of the table."
221 ::= { me1ContactInfoEntry 2 }
228 " The person loacted in the room."
229 ::= { me1ContactInfoEntry 3 }
231 me1Extension OBJECT-TYPE
236 "The phone number of the office."
237 ::= { me1ContactInfoEntry 4 }