From 40fe45bc85c884344a9512ab22d88c1dfc1d75b8 Mon Sep 17 00:00:00 2001 From: Simon Bomm Date: Wed, 30 Sep 2020 18:58:34 +0200 Subject: [PATCH] fix(plugin) wrong counter mapping --- centreon-plugins/network/versa/director/restapi/mode/devices.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/network/versa/director/restapi/mode/devices.pm b/centreon-plugins/network/versa/director/restapi/mode/devices.pm index 40e675ed1..266b0960b 100644 --- a/centreon-plugins/network/versa/director/restapi/mode/devices.pm +++ b/centreon-plugins/network/versa/director/restapi/mode/devices.pm @@ -205,7 +205,7 @@ sub set_counters { foreach my $monitor (('bgp', 'config', 'ike', 'interface', 'port', 'path', 'reachability', 'service')) { foreach my $status (('up', 'down', 'disabled')) { - push @{$self->{maps_counters}->{$monitor}}, { + push @{$self->{maps_counters}->{'devices_' . $monitor . '_health'}}, { label => $monitor . '-health-' . $status, nlabel => 'health.' . $status . '.count', set => { key_values => [ { name => $status }, { name => 'display' } ],