From 617d43a31f316186264794d441e8648982c8db6b Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Thu, 4 Jul 2019 16:17:09 +0200 Subject: [PATCH] fix typo --- centreon/common/cisco/ironport/xmlapi/mode/systemusage.pm | 2 +- network/aruba/instant/snmp/mode/apusage.pm | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/centreon/common/cisco/ironport/xmlapi/mode/systemusage.pm b/centreon/common/cisco/ironport/xmlapi/mode/systemusage.pm index d704dc368..7b8a23261 100644 --- a/centreon/common/cisco/ironport/xmlapi/mode/systemusage.pm +++ b/centreon/common/cisco/ironport/xmlapi/mode/systemusage.pm @@ -180,7 +180,7 @@ sub new { 'timeout:s' => { name => 'timeout' }, 'unknown-http-status:s' => { name => 'unknown_http_status' }, 'warning-http-status:s' => { name => 'warning_http_status' }, - 'critical-http-status:s' => { name => 'critical_http__status' }, + 'critical-http-status:s' => { name => 'critical_http_status' }, 'warning-system-status:s' => { name => 'warning_system_status', default => '' }, 'critical-system-status:s' => { name => 'critical_system_status', default => '%{system_status} !~ /online/i' }, }); diff --git a/network/aruba/instant/snmp/mode/apusage.pm b/network/aruba/instant/snmp/mode/apusage.pm index db7af0fe5..2c8dc44c7 100644 --- a/network/aruba/instant/snmp/mode/apusage.pm +++ b/network/aruba/instant/snmp/mode/apusage.pm @@ -44,6 +44,7 @@ sub custom_memory_output { $self->{result_values}->{prct_free_absolute}); return $msg; } + sub set_counters { my ($self, %options) = @_; @@ -239,7 +240,7 @@ Can used special variables like: %{status}, %{display} =item B<--warning-*> B<--critical-*> -Threshold warning. +Thresholds. Can be: 'cpu', 'clients', 'mem-usage' (B), 'mem-usage-free' (B), 'mem-usage-prct' (%).