forked from jrossi/snmp-swraid
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSWRAID-MIB.txt
146 lines (123 loc) · 3.39 KB
/
SWRAID-MIB.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
SWRAID-MIB DEFINITIONS ::= BEGIN
--
-- Derived from the original VEST-INTERNETT-MIB. Open issues:
--
-- (a) where to register this MIB?
--
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Integer32, Gauge32
FROM SNMPv2-SMI
TEXTUAL-CONVENTION, DisplayString
FROM SNMPv2-TC
ucdExperimental
FROM UCD-SNMP-MIB;
swRaidMIB MODULE-IDENTITY
LAST-UPDATED "200709291800Z"
ORGANIZATION "gkminix"
CONTACT-INFO
"Primary Contact: Gero Kuhlmann
email: gero@gkminix.han.de"
DESCRIPTION
"This MIB module defines objects for Linux software RAID monitoring."
REVISION "200709291800Z"
DESCRIPTION
"Derived from DISKIO-MIB ex UCD."
::= { ucdExperimental 18 }
--
-- Textual Conventions
--
RaidStatusTC ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Status of RAID device
inactive(1) indicates that the RAID device is inactive
active(2) indicates that the RAID device is working
faulty(3) indicates that the RAID device is working but faulty"
SYNTAX INTEGER {
inactive(1),
active(2),
faulty(3)
}
--
-- Software RAID device table
--
swRaidTable OBJECT-TYPE
SYNTAX SEQUENCE OF swRaidEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Table of software RAID devices."
::= { swRaidMIB 1 }
swRaidEntry OBJECT-TYPE
SYNTAX SWRaidEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry containing a RAID device."
INDEX { swRaidIndex }
::= { swRaidTable 1 }
SWRaidEntry ::= SEQUENCE {
swRaidIndex Integer32,
swRaidDevice DisplayString,
swRaidPersonality DisplayString,
swRaidUnits DisplayString,
swRaidUnitCount Integer32,
swRaidStatus RaidStatusTC
}
swRaidIndex OBJECT-TYPE
SYNTAX Integer32 (0..65535)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Reference index for each observed device."
::= { swRaidEntry 1 }
swRaidDevice OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The name of the RAID device."
::= { swRaidEntry 2 }
swRaidPersonality OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The personality of this RAID device."
::= { swRaidEntry 3 }
swRaidUnits OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The names of all RAID units."
::= { swRaidEntry 4 }
swRaidUnitCount OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of units within this RAID device."
::= { swRaidEntry 5 }
swRaidStatus OBJECT-TYPE
SYNTAX RaidStatusTC
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The status of this RAID device."
::= { swRaidEntry 6 }
swRaidErrorFlag OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A error flag to indicate trouble with any RAID device."
::= { swRaidMIB 100 }
swRaidErrMessage OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"An error message describing the problem."
::= { swRaidMIB 101 }
END