--- check_ups_netvision2.pl.orig	2022-06-19 22:17:18.979343054 +0100
+++ check_ups_netvision2.pl	2022-06-19 22:26:41.582690802 +0100
@@ -48,5 +48,5 @@
 use Math::BigInt;
 use strict;
-use lib "/usr/local/nagios/libexec";
+use lib "/usr/lib64/nagios/plugins";
 use utils qw($TIMEOUT %ERRORS &print_revision &support);
 
@@ -240,8 +240,8 @@
 # verify EMD temperature
 $tempEMD = $response->{$emdSatatusTemperature};
-if ($tempEMD > ($temp_max * 10)) {
-  $state = 'CRITICAL';
-  print " EMD temperature above $temp_max (currently at $tempEMD) |load=$load kva=$outputkva tempbattery=$tempBattery remaining_time=$remTime onbatterytime=$OnBatteryTime capacity=$batteryCapacity tempemd=$tempEMD currentIN=$currentIN currentOUT=$currentOUT voltageIN=$voltageIN voltageOUT=$voltageOUT\n";
-}
+#if ($tempEMD > ($temp_max * 10)) {
+#  $state = 'CRITICAL';
+#  print " EMD temperature above $temp_max (currently at $tempEMD) |load=$load kva=$outputkva tempbattery=$tempBattery remaining_time=$remTime onbatterytime=$OnBatteryTime capacity=$batteryCapacity tempemd=$tempEMD currentIN=$currentIN currentOUT=$currentOUT voltageIN=$voltageIN voltageOUT=$voltageOUT\n";
+#}
 
 # verify voltage
@@ -556,2 +556,3 @@
 }
 ## End validation
+
