From c2f389726e86c627e98f28b5406a3947e3dd8e27 Mon Sep 17 00:00:00 2001 From: Colin Gagnaire Date: Fri, 15 Mar 2019 12:08:49 +0100 Subject: [PATCH 1/2] fix riverbed typos --- .../riverbed/steelhead/snmp/mode/temperature.pm | 4 ++-- .../interceptor/snmp/mode/neighborconnections.pm | 16 +++------------- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/centreon/common/riverbed/steelhead/snmp/mode/temperature.pm b/centreon/common/riverbed/steelhead/snmp/mode/temperature.pm index d725ca58c..abbd060e7 100644 --- a/centreon/common/riverbed/steelhead/snmp/mode/temperature.pm +++ b/centreon/common/riverbed/steelhead/snmp/mode/temperature.pm @@ -107,11 +107,11 @@ Check the temperature of the system in Celcius (STEELHEAD-MIB and STEELHEAD-EX-M =over 8 -=item B<--warning> +=item B<--warning-temperature> Threshold warning for temperature in Celsius. -=item B<--critical> +=item B<--critical-temperature> Threshold critical for temperature in Celsius. diff --git a/network/riverbed/interceptor/snmp/mode/neighborconnections.pm b/network/riverbed/interceptor/snmp/mode/neighborconnections.pm index 13ef2215a..83b459f1a 100644 --- a/network/riverbed/interceptor/snmp/mode/neighborconnections.pm +++ b/network/riverbed/interceptor/snmp/mode/neighborconnections.pm @@ -108,27 +108,17 @@ __END__ =head1 MODE -Current connections: total, established, active, optimized, passthrough, -half opened and half closed ones (STEELHEAD-MIB and STEELHEAD-EX-MIB). +Check neighbor optimized connections count. =over 8 -=item B<--filter-counters> - -Only display some counters (regexp can be used). -Example: --filter-counters='^(total)$' - -=item B<--warning-*> +=item B<--warning-connection> Threshold warning. -Can be: 'total', 'established', 'active', 'optimized', -'passthrough', 'half-opened', 'half-closed'. -=item B<--critical-*> +=item B<--critical-connection> Threshold critical. -Can be: 'total', 'established', 'active', 'optimized', -'passthrough', 'half-opened', 'half-closed'. =back From a4ce45a17c1ab17d739e81509b050209dcca7c2b Mon Sep 17 00:00:00 2001 From: Colin Gagnaire Date: Fri, 15 Mar 2019 13:02:54 +0100 Subject: [PATCH 2/2] fix missing dep in riverbed steelhead --- centreon/common/riverbed/steelhead/snmp/mode/diskutilization.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/centreon/common/riverbed/steelhead/snmp/mode/diskutilization.pm b/centreon/common/riverbed/steelhead/snmp/mode/diskutilization.pm index f3858abda..74d4b7823 100644 --- a/centreon/common/riverbed/steelhead/snmp/mode/diskutilization.pm +++ b/centreon/common/riverbed/steelhead/snmp/mode/diskutilization.pm @@ -44,6 +44,7 @@ use base qw(centreon::plugins::templates::counter); use strict; use warnings; +use Digest::MD5 qw(md5_hex); sub set_counters { my ($self, %options) = @_;