mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-30 00:55:18 +02:00
remove debug
This commit is contained in:
parent
c7b29725a9
commit
c3c754fd88
@ -128,7 +128,6 @@ sub manage_selection {
|
|||||||
);
|
);
|
||||||
|
|
||||||
my $result = $options{snmp}->map_instance(mapping => $mapping, results => $snmp_result, instance => '0');
|
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->{xupsBatCurrent} = defined($result->{xupsBatCurrent}) ? $result->{xupsBatCurrent} * 0.1 : 0;
|
||||||
$result->{xupsBatTimeRemaining} = defined($result->{xupsBatTimeRemaining}) ? int($result->{xupsBatTimeRemaining} / 60) : undef;
|
$result->{xupsBatTimeRemaining} = defined($result->{xupsBatTimeRemaining}) ? int($result->{xupsBatTimeRemaining} / 60) : undef;
|
||||||
$result->{status} = $result->{xupsBatteryAbmStatus};
|
$result->{status} = $result->{xupsBatteryAbmStatus};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user