Skip to content

Commit 7920c31

Browse files
author
Michał Lisowski
committed
Update messages
1 parent eb820c2 commit 7920c31

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

templates/plugins/check_ssd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -278,25 +278,25 @@ function checkDID () {
278278

279279
if [ ! -z ${VALUE} ]; then
280280
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). "
282282
EXITCODE=2
283283
PREFIX="SSD CRITICAL"
284284
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). "
286286
if [ "$EXITCODE" -eq "0" ]; then
287287
EXITCODE=1
288288
PREFIX="SSD WARNING"
289289
fi
290290
else
291-
MESSAGE+="Drive $d on $1 WLC/MWI $VALUE. "
291+
MESSAGE+="Drive $d on $1 WLC/MWI/PLR $VALUE. "
292292
fi
293293
# ADD PERF DATA
294294
PERF_DATA+="Drive_${1}_${d}=${VALUE}% "
295295
if [ -n "$temperature" ] && [ "$temperature" -gt 0 ]; then
296296
PERF_DATA+="Drive_${1}_${d}_temp=$temperature "
297297
fi
298298
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}. "
300300
EXITCODE=3
301301
PREFIX='UNKNOWN'
302302
fi

0 commit comments

Comments
 (0)