File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -278,25 +278,25 @@ function checkDID () {
278
278
279
279
if [ ! -z ${VALUE} ]; then
280
280
if [[ ${VALUE} -lt ${CRITICAL} ]]; then
281
- MESSAGE+=" Drive $d on $1 CRITICAL WLC/MWI ($VALUE ). "
281
+ MESSAGE+=" Drive $d on $1 CRITICAL WLC/MWI/PLR ($VALUE ). "
282
282
EXITCODE=2
283
283
PREFIX=" SSD CRITICAL"
284
284
elif [[ ${VALUE} -lt ${WARNING} ]]; then
285
- MESSAGE+=" Drive $d on $1 MEDIUM WLC/MWI ($VALUE ). "
285
+ MESSAGE+=" Drive $d on $1 MEDIUM WLC/MWI/PLR ($VALUE ). "
286
286
if [ " $EXITCODE " -eq " 0" ]; then
287
287
EXITCODE=1
288
288
PREFIX=" SSD WARNING"
289
289
fi
290
290
else
291
- MESSAGE+=" Drive $d on $1 WLC/MWI $VALUE . "
291
+ MESSAGE+=" Drive $d on $1 WLC/MWI/PLR $VALUE . "
292
292
fi
293
293
# ADD PERF DATA
294
294
PERF_DATA+=" Drive_${1} _${d} =${VALUE} % "
295
295
if [ -n " $temperature " ] && [ " $temperature " -gt 0 ]; then
296
296
PERF_DATA+=" Drive_${1} _${d} _temp=$temperature "
297
297
fi
298
298
else
299
- MESSAGE+=" No WLC/MWI info found for drive ${d} on ${1} . "
299
+ MESSAGE+=" No WLC/MWI/PLR info found for drive ${d} on ${1} . "
300
300
EXITCODE=3
301
301
PREFIX=' UNKNOWN'
302
302
fi
You can’t perform that action at this time.
0 commit comments