From ee66ee51907db745cb3047eb811a33e72e513599 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Fri, 15 Jan 2016 16:50:11 +0100 Subject: [PATCH] + Remove dead code --- hardware/ups/apc/snmp/mode/batterystatus.pm | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/hardware/ups/apc/snmp/mode/batterystatus.pm b/hardware/ups/apc/snmp/mode/batterystatus.pm index 7cfb998e0..67ecb1aad 100644 --- a/hardware/ups/apc/snmp/mode/batterystatus.pm +++ b/hardware/ups/apc/snmp/mode/batterystatus.pm @@ -25,17 +25,6 @@ use base qw(centreon::plugins::templates::counter); use strict; use warnings; -my %battery_status = ( - 1 => ['unknown', 'UNKNOWN'], - 2 => ['batteryNormal', 'OK'], - 3 => ['batteryLow', 'WARNING'], -); - -my %battery_replace_indicator = ( - 1 => ['noBatteryNeedsReplacing', 'OK'], - 2 => ['batteryNeedsReplacing', 'CRITICAL'], -); - my $instance_mode; sub custom_threshold_output {