From c3454bc2a7b4ff7637fb9bf6bdfd7bde2cb04417 Mon Sep 17 00:00:00 2001 From: bergware Date: Sun, 27 Mar 2016 20:58:54 +0200 Subject: [PATCH] Check for disk not present in status report --- plugins/dynamix/scripts/statuscheck | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/dynamix/scripts/statuscheck b/plugins/dynamix/scripts/statuscheck index d12c7ab75..3b9470af0 100755 --- a/plugins/dynamix/scripts/statuscheck +++ b/plugins/dynamix/scripts/statuscheck @@ -97,6 +97,7 @@ function my_clock($time) { function my_array(&$disk) { global $data,$max,$hot,$error0,$error1,$error2,$error3; $name = $disk['name']; + if (strpos($disk['status'],'_NP')!==false) return false; $temp = $disk['temp']; if ($temp>=$max) { $fail = ' (disk is overheated';