From cadba7de3b8f74d5f28deff66db51851f96ae0b8 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Wed, 29 Apr 2020 09:43:18 +0200 Subject: [PATCH] update fsp150 --- network/adva/fsp150/snmp/mode/alarms.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network/adva/fsp150/snmp/mode/alarms.pm b/network/adva/fsp150/snmp/mode/alarms.pm index 919b0d12c..781e6cabb 100644 --- a/network/adva/fsp150/snmp/mode/alarms.pm +++ b/network/adva/fsp150/snmp/mode/alarms.pm @@ -46,7 +46,7 @@ sub set_counters { my ($self, %options) = @_; $self->{maps_counters_type} = [ - { name => 'alarms', type => 2, message_multiple => '0 problem(s) detected', display_counter_problem => { label => 'alerts', min => 0 }, + { name => 'alarms', type => 2, message_multiple => '0 problem(s) detected', display_counter_problem => { nlabel => 'alerts.problems.current.count', min => 0 }, group => [ { name => 'alarm', skipped_code => { -11 => 1 } } ] } ]; @@ -70,7 +70,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 => {