From f028b1224808e69a6c9a6dfa70b449ee92eb9bfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C5=A0vamberg?= Date: Tue, 26 Aug 2014 11:51:12 +0200 Subject: [PATCH] DISKSUMMARY - more information to performance data Add values of total, active, spare and reconstructing disks to performance data. --- nagios/check-netapp-ng.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nagios/check-netapp-ng.pl b/nagios/check-netapp-ng.pl index 7e72064..cba8256 100755 --- a/nagios/check-netapp-ng.pl +++ b/nagios/check-netapp-ng.pl @@ -669,7 +669,7 @@ if("$opt{'check_type'}" eq "TEMP") { $stat = $ERRORS{'CRITICAL'}; $msg = "CRIT: $opt{'check_type'} (".$diskMessage.") Disk Summary : Total->".$diskTotal." Active->".$diskActive." Spare->".$diskSpare." Failed ->".$diskFailed. " Reconstructing ->".$diskReconstructing; } - $perf = "faileddisks=$check"; + $perf = "faileddisks=$check total=$diskTotal active=$diskActive spare=$diskSpare reconstructing=$diskReconstructing"; ### HA ### } elsif("$opt{'check_type'}" eq "HA") {