1 -------------------------------------------------------
2 -- Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
4 -- U.S. Government Rights - Commercial software. Government users are
6 -- to the Sun Microsystems, Inc. standard license agreement and applicable
7 -- provisions of the FAR and its supplements.
10 -- This distribution may include materials developed by third parties. Sun,
11 -- Sun Microsystems, the Sun logo and Solaris are trademarks or registered
12 -- trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
14 ----------------------------------------------------------
15 -- Systems Management Agent (SMA) SDK module example-5 MIB
16 ----------------------------------------------------------
18 SDK-DEMO5-MIB DEFINITIONS ::= BEGIN
21 enterprises, MODULE-IDENTITY, OBJECT-TYPE, Counter64, Integer32, Unsigned32
28 sdkDemo5MIB MODULE-IDENTITY
29 LAST-UPDATED "0009181435Z"
30 ORGANIZATION "Sun Microsystems Inc."
32 " Sun Microsystems Inc
35 e-mail: service@sun.com"
37 " SMA SDK MIB example-5. This MIB will be used to demonstrate the
38 implementation of modules and various module features in SMA agent."
41 sun OBJECT IDENTIFIER ::= { enterprises 42 }
42 products OBJECT IDENTIFIER ::= { sun 2 }
43 management OBJECT IDENTIFIER ::= { products 2 }
44 sma OBJECT IDENTIFIER ::= { management 4 }
45 demo OBJECT IDENTIFIER ::= { sma 4 }
48 -- There are currently 1 Groups in the example.
49 -- The "File" group contains information about some files on the system
52 me5FileGroup OBJECT-GROUP
53 OBJECTS { me5FileIndex, me5FileName, me5FileSize, me5FilePerm
57 "File related statistics."
61 -- Objects in the "File" group
64 me5FileTable OBJECT-TYPE
65 SYNTAX SEQUENCE OF Me1FileEntry
66 MAX-ACCESS not-accessible
69 "Table containing information of some files on the system."
70 ::= { me5FileGroup 1 }
72 me5FileEntry OBJECT-TYPE
74 MAX-ACCESS not-accessible
77 "Information about one file on the system."
78 INDEX { me5FileIndex }
79 ::= { me5FileTable 1 }
93 me5FileIndex OBJECT-TYPE
99 ::= { me5FileEntry 1 }
101 me5FileName OBJECT-TYPE
103 MAX-ACCESS read-create
107 ::= { me5FileEntry 2 }
109 me5FileSize OBJECT-TYPE
114 "Size of the file in kb"
115 ::= { me5FileEntry 3 }
117 me5FilePerm OBJECT-TYPE
122 "Permissions on this file. example, 0755 "
123 ::= { me5FileEntry 4 }