You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #439 from Icinga:feature/adds_support_for_diskhealth_filter_friendlyname
Feature: Adds support for Invoke-IcingaCheckDiskHealth to filter for disk friendly name
Adds support for `Invoke-IcingaCheckDiskHealth` to filter disks by their friendly name
description = "Critical threshold for Avg. Disk Queue Length is the average number of both read and write requests that were queued for the selected disk during the sample interval."
89
89
value = "$IcingaCheckDiskHealth_Object_DiskQueueAvgLenCritical$"
90
-
order = 13
90
+
order = 15
91
91
}
92
92
"-DiskQueueLenWarning" = {
93
93
description = "Warning threshold for current Disk Queue Length is the number of requests outstanding on the disk at the time the performance data is collected. It also includes requests in service at the time of the collection. This is a instantaneous snapshot, not an average over the time interval. Multi-spindle disk devices can have multiple requests that are active at one time, but other concurrent requests are awaiting service. This counter might reflect a transitory high or low queue length, but if there is a sustained load on the disk drive, it is likely that this will be consistently high. Requests experience delays proportional to the length of this queue minus the number of spindles on the disks. For good performance, this difference should average less than two."
94
94
value = "$IcingaCheckDiskHealth_Object_DiskQueueLenWarning$"
95
-
order = 10
95
+
order = 12
96
96
}
97
97
"-IncludePartition" = {
98
98
description = "Specify the partition drive letters for disks to include for checks. Example C:, D:"
description = "Critical threshold for avg. Disk sec/Read is the average time, in seconds, of a read of data from the disk. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)"
122
122
value = "$IcingaCheckDiskHealth_Object_DiskAvgReadSecCritical$"
123
-
order = 21
123
+
order = 23
124
124
}
125
125
"-DiskWriteSecCritical" = {
126
126
description = "Critical threshold for disk Writes/sec is the rate of write operations on the disk."
127
127
value = "$IcingaCheckDiskHealth_Object_DiskWriteSecCritical$"
128
-
order = 9
128
+
order = 11
129
129
}
130
130
"-DiskQueueAvgLenWarning" = {
131
131
description = "Warning threshold for Avg. Disk Queue Length is the average number of both read and write requests that were queued for the selected disk during the sample interval."
132
132
value = "$IcingaCheckDiskHealth_Object_DiskQueueAvgLenWarning$"
133
-
order = 12
133
+
order = 14
134
+
}
135
+
"-ExcludeFriendlyName" = {
136
+
description = "Specify the friendly name of disks you want to exclude from checks. Example 'Samsung SSD 970 EVO Plus 1TB'"
137
+
value = {{
138
+
var arr = macro("$IcingaCheckDiskHealth_Array_ExcludeFriendlyName$");
description = "Warning threshold for avg. Disk sec/Read is the average time, in seconds, of a read of data from the disk. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)"
137
160
value = "$IcingaCheckDiskHealth_Object_DiskAvgReadSecWarning$"
138
-
order = 20
161
+
order = 22
139
162
}
140
163
"-DiskWriteByteSecCritical" = {
141
164
description = "Critical threshold for disk Write Bytes/sec is rate at which bytes are transferred to the disk during write operations."
142
165
value = "$IcingaCheckDiskHealth_Object_DiskWriteByteSecCritical$"
143
-
order = 17
166
+
order = 19
144
167
}
145
168
"-DiskAvgTransSecWarning" = {
146
169
description = "Warning threshold for avg. Disk sec/Transfer is the time, in seconds, of the average disk transfer. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)"
147
170
value = "$IcingaCheckDiskHealth_Object_DiskAvgTransSecWarning$"
148
-
order = 18
171
+
order = 20
172
+
}
173
+
"-IncludeFriendlyName" = {
174
+
description = "Specify the friendly name of disks you want to include for checks. Example 'Samsung SSD 970 EVO Plus 1TB'"
175
+
value = {{
176
+
var arr = macro("$IcingaCheckDiskHealth_Array_IncludeFriendlyName$");
description = "Warning threshold for Avg. Disk sec/Write is the average time, in seconds, of a write of data to the disk. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)"
152
198
value = "$IcingaCheckDiskHealth_Object_DiskAvgWriteSecWarning$"
153
-
order = 22
199
+
order = 24
154
200
}
155
201
"-Verbosity" = {
156
202
description = "Changes the behavior of the plugin output which check states are printed: 0 (default): Only service checks/packages with state not OK will be printed 1: Only services with not OK will be printed including OK checks of affected check packages including Package config 2: Everything will be printed regardless of the check state 3: Identical to Verbose 2, but prints in addition the check package configuration e.g (All must be [OK])"
157
203
value = "$IcingaCheckDiskHealth_Int32_Verbosity$"
158
-
order = 24
204
+
order = 26
159
205
}
160
206
"-DiskReadSecWarning" = {
161
207
description = "Warning threshold for disk Reads/sec is the rate of read operations on the disk."
162
208
value = "$IcingaCheckDiskHealth_Object_DiskReadSecWarning$"
163
-
order = 6
209
+
order = 8
164
210
}
165
211
"-ExcludePartition" = {
166
212
description = "Specify the partition drive letters for disks to exclude from checks. Example C:, D:"
description = "Critical threshold for disk Read Bytes/sec is the rate at which bytes are transferred from the disk during read operations."
199
245
value = "$IcingaCheckDiskHealth_Object_DiskReadByteSecCritical$"
200
-
order = 15
246
+
order = 17
201
247
}
202
248
"-DiskAvgWriteSecCritical" = {
203
249
description = "Critical threshold for Avg. Disk sec/Write is the average time, in seconds, of a write of data to the disk. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)"
204
250
value = "$IcingaCheckDiskHealth_Object_DiskAvgWriteSecCritical$"
description = "Warning threshold for disk Writes/sec is the rate of write operations on the disk."
213
259
value = "$IcingaCheckDiskHealth_Object_DiskWriteSecWarning$"
214
-
order = 8
260
+
order = 10
215
261
}
216
262
"-DiskQueueLenCritical" = {
217
263
description = "Critical threshold for current Disk Queue Length is the number of requests outstanding on the disk at the time the performance data is collected. It also includes requests in service at the time of the collection. This is a instantaneous snapshot, not an average over the time interval. Multi-spindle disk devices can have multiple requests that are active at one time, but other concurrent requests are awaiting service. This counter might reflect a transitory high or low queue length, but if there is a sustained load on the disk drive, it is likely that this will be consistently high. Requests experience delays proportional to the length of this queue minus the number of spindles on the disks. For good performance, this difference should average less than two."
218
264
value = "$IcingaCheckDiskHealth_Object_DiskQueueLenCritical$"
219
-
order = 11
265
+
order = 13
220
266
}
221
267
"-DiskAvgTransSecCritical" = {
222
268
description = "Critical threshold for avg. Disk sec/Transfer is the time, in seconds, of the average disk transfer. If the threshold values are not in seconds, please enter a unit such as (ms, s, m, h, ...)"
223
269
value = "$IcingaCheckDiskHealth_Object_DiskAvgTransSecCritical$"
0 commit comments