-
Notifications
You must be signed in to change notification settings - Fork 25
/
PROMETHEUS-ALERT-CEPH-MIB.txt
377 lines (343 loc) · 15.6 KB
/
PROMETHEUS-ALERT-CEPH-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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
PROMETHEUS-ALERT-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, enterprises, TimeTicks
FROM SNMPv2-SMI
DisplayString
FROM SNMPv2-TC
;
ceph OBJECT IDENTIFIER ::= { enterprises 50495 }
prometheus OBJECT IDENTIFIER ::= { ceph 15 }
prometheusAlert MODULE-IDENTITY
LAST-UPDATED "201904010000Z" -- 1. Apr 2019
ORGANIZATION "The Ceph Project"
CONTACT-INFO "https://ceph.com"
DESCRIPTION "Prometheus Alert SNMP MIB"
REVISION "201904010000Z" -- 1. Apr 2019
DESCRIPTION "Initial version."
::= { prometheus 1 }
prometheusAlertObjects OBJECT IDENTIFIER ::= { prometheusAlert 1 }
prometheusAlertTraps OBJECT IDENTIFIER ::= { prometheusAlert 2 }
--
-- Objects
--
prometheusAlertNotificationAlertName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION "The name of the Prometheus alert."
::= { prometheusAlertObjects 1 }
prometheusAlertNotificationStatus OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION "The status of the Prometheus alert."
::= { prometheusAlertObjects 2 }
prometheusAlertNotificationSeverity OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION "The severity of the Prometheus alert."
::= { prometheusAlertObjects 3 }
prometheusAlertNotificationInstance OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION "Unique identifier for the Prometheus instance."
::= { prometheusAlertObjects 4 }
prometheusAlertNotificationJob OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION "The name of the Prometheus job."
::= { prometheusAlertObjects 5 }
prometheusAlertNotificationDescription OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION "The Prometheus alert description field."
::= { prometheusAlertObjects 6 }
prometheusAlertNotificationLabels OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION "Additional Prometheus alert labels as JSON string."
::= { prometheusAlertObjects 7 }
prometheusAlertNotificationTimestamp OBJECT-TYPE
SYNTAX TimeTicks
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION "The time when the Prometheus alert occurred."
::= { prometheusAlertObjects 8 }
prometheusAlertNotificationRawData OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION "The raw Prometheus alert as JSON string."
::= { prometheusAlertObjects 9 }
--
-- Traps
--
prometheusAlertTrapDefault NOTIFICATION-TYPE
OBJECTS {
prometheusAlertNotificationAlertName,
prometheusAlertNotificationStatus,
prometheusAlertNotificationSeverity,
prometheusAlertNotificationInstance,
prometheusAlertNotificationJob,
prometheusAlertNotificationDescription,
prometheusAlertNotificationLabels,
prometheusAlertNotificationTimestamp,
prometheusAlertNotificationRawData
}
STATUS current
DESCRIPTION "Default trap."
::= { prometheusAlertTraps 1 }
prometheusAlertClusterHealthTraps OBJECT IDENTIFIER ::= { prometheusAlertTraps 2 }
prometheusAlertMonTraps OBJECT IDENTIFIER ::= { prometheusAlertTraps 3 }
prometheusAlertOsdTraps OBJECT IDENTIFIER ::= { prometheusAlertTraps 4 }
prometheusAlertMdsTraps OBJECT IDENTIFIER ::= { prometheusAlertTraps 5 }
prometheusAlertMgrTraps OBJECT IDENTIFIER ::= { prometheusAlertTraps 6 }
prometheusAlertPgsTraps OBJECT IDENTIFIER ::= { prometheusAlertTraps 7 }
prometheusAlertNodesTraps OBJECT IDENTIFIER ::= { prometheusAlertTraps 8 }
prometheusAlertPoolsTraps OBJECT IDENTIFIER ::= { prometheusAlertTraps 9 }
prometheusAlertClusterHealthTrapHealthError NOTIFICATION-TYPE
OBJECTS {
prometheusAlertNotificationAlertName,
prometheusAlertNotificationStatus,
prometheusAlertNotificationSeverity,
prometheusAlertNotificationInstance,
prometheusAlertNotificationJob,
prometheusAlertNotificationDescription,
prometheusAlertNotificationLabels,
prometheusAlertNotificationTimestamp,
prometheusAlertNotificationRawData
}
STATUS current
DESCRIPTION "Ceph in health_error state for more than 5m."
::= { prometheusAlertClusterHealthTraps 1 }
prometheusAlertClusterHealthTrapHealthWarn NOTIFICATION-TYPE
OBJECTS {
prometheusAlertNotificationAlertName,
prometheusAlertNotificationStatus,
prometheusAlertNotificationSeverity,
prometheusAlertNotificationInstance,
prometheusAlertNotificationJob,
prometheusAlertNotificationDescription,
prometheusAlertNotificationLabels,
prometheusAlertNotificationTimestamp,
prometheusAlertNotificationRawData
}
STATUS current
DESCRIPTION "Ceph in health_warn for more than 15m."
::= { prometheusAlertClusterHealthTraps 2 }
prometheusAlertMonTrapLowMonitorQuorumCount NOTIFICATION-TYPE
OBJECTS {
prometheusAlertNotificationAlertName,
prometheusAlertNotificationStatus,
prometheusAlertNotificationSeverity,
prometheusAlertNotificationInstance,
prometheusAlertNotificationJob,
prometheusAlertNotificationDescription,
prometheusAlertNotificationLabels,
prometheusAlertNotificationTimestamp,
prometheusAlertNotificationRawData
}
STATUS current
DESCRIPTION "Monitor count in quorum is low."
::= { prometheusAlertMonTraps 1 }
prometheusAlertOsdTrap10PercentOsdsDown NOTIFICATION-TYPE
OBJECTS {
prometheusAlertNotificationAlertName,
prometheusAlertNotificationStatus,
prometheusAlertNotificationSeverity,
prometheusAlertNotificationInstance,
prometheusAlertNotificationJob,
prometheusAlertNotificationDescription,
prometheusAlertNotificationLabels,
prometheusAlertNotificationTimestamp,
prometheusAlertNotificationRawData
}
STATUS current
DESCRIPTION "More than 10% of OSDs are down."
::= { prometheusAlertOsdTraps 1 }
prometheusAlertOsdTrapOsdDown NOTIFICATION-TYPE
OBJECTS {
prometheusAlertNotificationAlertName,
prometheusAlertNotificationStatus,
prometheusAlertNotificationSeverity,
prometheusAlertNotificationInstance,
prometheusAlertNotificationJob,
prometheusAlertNotificationDescription,
prometheusAlertNotificationLabels,
prometheusAlertNotificationTimestamp,
prometheusAlertNotificationRawData
}
STATUS current
DESCRIPTION "One or more OSDs down for more than 15 minutes."
::= { prometheusAlertOsdTraps 2 }
prometheusAlertOsdTrapOsdsNearFull NOTIFICATION-TYPE
OBJECTS {
prometheusAlertNotificationAlertName,
prometheusAlertNotificationStatus,
prometheusAlertNotificationSeverity,
prometheusAlertNotificationInstance,
prometheusAlertNotificationJob,
prometheusAlertNotificationDescription,
prometheusAlertNotificationLabels,
prometheusAlertNotificationTimestamp,
prometheusAlertNotificationRawData
}
STATUS current
DESCRIPTION "An OSD is dangerously full, over 80%."
::= { prometheusAlertOsdTraps 3 }
prometheusAlertOsdTrapFlapOsd NOTIFICATION-TYPE
OBJECTS {
prometheusAlertNotificationAlertName,
prometheusAlertNotificationStatus,
prometheusAlertNotificationSeverity,
prometheusAlertNotificationInstance,
prometheusAlertNotificationJob,
prometheusAlertNotificationDescription,
prometheusAlertNotificationLabels,
prometheusAlertNotificationTimestamp,
prometheusAlertNotificationRawData
}
STATUS current
DESCRIPTION "An OSD was marked down at back up at least once a minute for 5 minutes."
::= { prometheusAlertOsdTraps 4 }
prometheusAlertOsdTrapHighPgCountDeviation NOTIFICATION-TYPE
OBJECTS {
prometheusAlertNotificationAlertName,
prometheusAlertNotificationStatus,
prometheusAlertNotificationSeverity,
prometheusAlertNotificationInstance,
prometheusAlertNotificationJob,
prometheusAlertNotificationDescription,
prometheusAlertNotificationLabels,
prometheusAlertNotificationTimestamp,
prometheusAlertNotificationRawData
}
STATUS current
DESCRIPTION "An OSD deviates by more then 30% from average PG count."
::= { prometheusAlertOsdTraps 5 }
prometheusAlertPgsTrapPgsInactive NOTIFICATION-TYPE
OBJECTS {
prometheusAlertNotificationAlertName,
prometheusAlertNotificationStatus,
prometheusAlertNotificationSeverity,
prometheusAlertNotificationInstance,
prometheusAlertNotificationJob,
prometheusAlertNotificationDescription,
prometheusAlertNotificationLabels,
prometheusAlertNotificationTimestamp,
prometheusAlertNotificationRawData
}
STATUS current
DESCRIPTION "One or more PGs are inactive for more than 5 minutes."
::= { prometheusAlertPgsTraps 1 }
prometheusAlertPgsTrapPgsUnclean NOTIFICATION-TYPE
OBJECTS {
prometheusAlertNotificationAlertName,
prometheusAlertNotificationStatus,
prometheusAlertNotificationSeverity,
prometheusAlertNotificationInstance,
prometheusAlertNotificationJob,
prometheusAlertNotificationDescription,
prometheusAlertNotificationLabels,
prometheusAlertNotificationTimestamp,
prometheusAlertNotificationRawData
}
STATUS current
DESCRIPTION "One or more PGs are not clean for more than 15 minutes."
::= { prometheusAlertPgsTraps 2 }
prometheusAlertNodesTrapRootVolumeFull NOTIFICATION-TYPE
OBJECTS {
prometheusAlertNotificationAlertName,
prometheusAlertNotificationStatus,
prometheusAlertNotificationSeverity,
prometheusAlertNotificationInstance,
prometheusAlertNotificationJob,
prometheusAlertNotificationDescription,
prometheusAlertNotificationLabels,
prometheusAlertNotificationTimestamp,
prometheusAlertNotificationRawData
}
STATUS current
DESCRIPTION "Root volume (OSD and MON store) is dangerously full (< 5% free)."
::= { prometheusAlertNodesTraps 1 }
prometheusAlertNodesTrapNetworkPacketsDropped NOTIFICATION-TYPE
OBJECTS {
prometheusAlertNotificationAlertName,
prometheusAlertNotificationStatus,
prometheusAlertNotificationSeverity,
prometheusAlertNotificationInstance,
prometheusAlertNotificationJob,
prometheusAlertNotificationDescription,
prometheusAlertNotificationLabels,
prometheusAlertNotificationTimestamp,
prometheusAlertNotificationRawData
}
STATUS current
DESCRIPTION "A node experiences packet drop > 1 packet/s on an interface."
::= { prometheusAlertNodesTraps 2 }
prometheusAlertNodesTrapNetworkPacketErrors NOTIFICATION-TYPE
OBJECTS {
prometheusAlertNotificationAlertName,
prometheusAlertNotificationStatus,
prometheusAlertNotificationSeverity,
prometheusAlertNotificationInstance,
prometheusAlertNotificationJob,
prometheusAlertNotificationDescription,
prometheusAlertNotificationLabels,
prometheusAlertNotificationTimestamp,
prometheusAlertNotificationRawData
}
STATUS current
DESCRIPTION "A node experiences packet errors > 1 packet/s on an interface."
::= { prometheusAlertNodesTraps 3 }
prometheusAlertNodesTrapStorageFilling NOTIFICATION-TYPE
OBJECTS {
prometheusAlertNotificationAlertName,
prometheusAlertNotificationStatus,
prometheusAlertNotificationSeverity,
prometheusAlertNotificationInstance,
prometheusAlertNotificationJob,
prometheusAlertNotificationDescription,
prometheusAlertNotificationLabels,
prometheusAlertNotificationTimestamp,
prometheusAlertNotificationRawData
}
STATUS current
DESCRIPTION "A mountpoint will be full in less then 5 days assuming the average fillup rate of the past 48 hours."
::= { prometheusAlertNodesTraps 4 }
prometheusAlertPoolsTrapPoolFull NOTIFICATION-TYPE
OBJECTS {
prometheusAlertNotificationAlertName,
prometheusAlertNotificationStatus,
prometheusAlertNotificationSeverity,
prometheusAlertNotificationInstance,
prometheusAlertNotificationJob,
prometheusAlertNotificationDescription,
prometheusAlertNotificationLabels,
prometheusAlertNotificationTimestamp,
prometheusAlertNotificationRawData
}
STATUS current
DESCRIPTION "A pool is at 90% capacity or over."
::= { prometheusAlertPoolsTraps 1 }
prometheusAlertPoolsTrapPoolFillingUp NOTIFICATION-TYPE
OBJECTS {
prometheusAlertNotificationAlertName,
prometheusAlertNotificationStatus,
prometheusAlertNotificationSeverity,
prometheusAlertNotificationInstance,
prometheusAlertNotificationJob,
prometheusAlertNotificationDescription,
prometheusAlertNotificationLabels,
prometheusAlertNotificationTimestamp,
prometheusAlertNotificationRawData
}
STATUS current
DESCRIPTION "A pool will be full in less then 5 days assuming the average fillup rate of the past 48 hours."
::= { prometheusAlertPoolsTraps 2 }
END