From 5abf3c897fe4223ef159647decc034737e0ba127 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Thu, 26 Dec 2019 11:09:50 +0100 Subject: [PATCH] remove debug --- hardware/ups/powerware/snmp/mode/batterystatus.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/hardware/ups/powerware/snmp/mode/batterystatus.pm b/hardware/ups/powerware/snmp/mode/batterystatus.pm index e5576abff..e1ce1c0ba 100644 --- a/hardware/ups/powerware/snmp/mode/batterystatus.pm +++ b/hardware/ups/powerware/snmp/mode/batterystatus.pm @@ -128,7 +128,6 @@ sub manage_selection { ); my $result = $options{snmp}->map_instance(mapping => $mapping, results => $snmp_result, instance => '0'); - use Data::Dumper; print Data::Dumper::Dumper($result); $result->{xupsBatCurrent} = defined($result->{xupsBatCurrent}) ? $result->{xupsBatCurrent} * 0.1 : 0; $result->{xupsBatTimeRemaining} = defined($result->{xupsBatTimeRemaining}) ? int($result->{xupsBatTimeRemaining} / 60) : undef; $result->{status} = $result->{xupsBatteryAbmStatus};