From 97e1bb522371318511d7827e105f5e902fc99486 Mon Sep 17 00:00:00 2001 From: qgarnier Date: Wed, 21 Oct 2020 09:26:34 +0200 Subject: [PATCH] new perfdata exchange queues (#2271) --- apps/exchange/2010/local/mode/queues.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/exchange/2010/local/mode/queues.pm b/apps/exchange/2010/local/mode/queues.pm index da19a05e6..ee751e3b9 100644 --- a/apps/exchange/2010/local/mode/queues.pm +++ b/apps/exchange/2010/local/mode/queues.pm @@ -75,7 +75,7 @@ sub set_counters { sub new { my ($class, %options) = @_; - my $self = $class->SUPER::new(package => __PACKAGE__, %options); + my $self = $class->SUPER::new(package => __PACKAGE__, %options, force_new_perfdata => 1); bless $self, $class; $options{options}->add_options(arguments => { @@ -169,7 +169,6 @@ sub manage_selection { foreach (keys %$perfdatas_queues) { $self->{output}->perfdata_add( - label => 'queue_length', nlabel => 'queue.length.count', instances => $_, value => $perfdatas_queues->{$_},