From d049e1fb8e038b18729bbeccbcaa0ebe6ff1d785 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Tue, 29 Oct 2019 11:20:18 +0100 Subject: [PATCH] avaya cm snmp: wip --- hardware/telephony/avaya/cm/snmp/mode/calls.pm | 4 ++-- hardware/telephony/avaya/cm/snmp/mode/licenses.pm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hardware/telephony/avaya/cm/snmp/mode/calls.pm b/hardware/telephony/avaya/cm/snmp/mode/calls.pm index ad9abbfbf..e7e411550 100644 --- a/hardware/telephony/avaya/cm/snmp/mode/calls.pm +++ b/hardware/telephony/avaya/cm/snmp/mode/calls.pm @@ -33,7 +33,7 @@ sub set_counters { ]; $self->{maps_counters}->{global} = [ - { label => 'total-lasthour', display_ok => 0, nlabel => 'calls.total.lasthour.count', set => { + { label => 'total-lasthour', nlabel => 'calls.total.lasthour.count', set => { key_values => [ { name => 'avCmListMeasCallRateTotalNumCallsCompLstHr' } ], output_template => 'total calls last hour: %s', perfdatas => [ @@ -46,7 +46,7 @@ sub set_counters { sub new { my ($class, %options) = @_; - my $self = $class->SUPER::new(package => __PACKAGE__, %options, foce_new_perfdata => 1); + my $self = $class->SUPER::new(package => __PACKAGE__, %options, force_new_perfdata => 1); bless $self, $class; $options{options}->add_options(arguments => { diff --git a/hardware/telephony/avaya/cm/snmp/mode/licenses.pm b/hardware/telephony/avaya/cm/snmp/mode/licenses.pm index 77751ea8d..027129325 100644 --- a/hardware/telephony/avaya/cm/snmp/mode/licenses.pm +++ b/hardware/telephony/avaya/cm/snmp/mode/licenses.pm @@ -75,7 +75,7 @@ sub set_counters { sub new { my ($class, %options) = @_; - my $self = $class->SUPER::new(package => __PACKAGE__, %options, foce_new_perfdata => 1); + my $self = $class->SUPER::new(package => __PACKAGE__, %options, force_new_perfdata => 1); bless $self, $class; $options{options}->add_options(arguments => {