remove debug

This commit is contained in:
garnier-quentin 2019-12-26 11:09:50 +01:00
parent faa0b1f5cc
commit 5abf3c897f
1 changed files with 0 additions and 1 deletions

View File

@ -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};