From a5647c6a4f6d6f12739cf9745018c12b9a6c9ebd Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Tue, 15 Dec 2020 13:52:05 +0100 Subject: [PATCH] add ap downloading counter --- centreon/common/airespace/snmp/mode/apstatus.pm | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/centreon/common/airespace/snmp/mode/apstatus.pm b/centreon/common/airespace/snmp/mode/apstatus.pm index aa68afb99..5f63d2370 100644 --- a/centreon/common/airespace/snmp/mode/apstatus.pm +++ b/centreon/common/airespace/snmp/mode/apstatus.pm @@ -109,6 +109,14 @@ sub set_counters { ] } }, + { label => 'total-downloading', nlabel => 'accesspoints.downloading.count', display_ok => 0, set => { + key_values => [ { name => 'downloading' } ], + output_template => 'downloading: %s', + perfdatas => [ + { label => 'total_downloading', template => '%s', min => 0 } + ] + } + }, { label => 'total-enabled', nlabel => 'accesspoints.enabled.count', set => { key_values => [ { name => 'enable' } ], output_template => 'enabled: %s', @@ -323,8 +331,8 @@ Can used special variables like: %{admstatus}, %{opstatus}, %{display} =item B<--warning-*> B<--critical-*> Thresholds. -Can be: 'total', 'total-associated', 'total-disassociating', 'total-enabled', -'total-disabled', 'radio-interface-channels-utilization' (%). +Can be: 'total', 'total-associated', 'total-disassociating', 'total-downloading', +'total-enabled', 'total-disabled', 'radio-interface-channels-utilization' (%). =back