From e28392436089f4ee4fc71571c579572cad154850 Mon Sep 17 00:00:00 2001 From: lchrdn <89968908+lchrdn@users.noreply.github.com> Date: Mon, 8 Aug 2022 11:56:05 +0200 Subject: [PATCH] fixing storage output and remove default filter (#3815) --- .../apps/monitoring/nodeexporter/linux/mode/storage.pm | 4 ++-- .../apps/monitoring/nodeexporter/windows/mode/storage.pm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/centreon-plugins/apps/monitoring/nodeexporter/linux/mode/storage.pm b/centreon-plugins/apps/monitoring/nodeexporter/linux/mode/storage.pm index a33ac11d9..b6a5c0984 100644 --- a/centreon-plugins/apps/monitoring/nodeexporter/linux/mode/storage.pm +++ b/centreon-plugins/apps/monitoring/nodeexporter/linux/mode/storage.pm @@ -105,7 +105,7 @@ sub set_counters { my ($self, %options) = @_; $self->{maps_counters_type} = [ - { name => 'node_storage', type => 1, message_multiple => 'All memory types are ok', display_long => 1, cb_prefix_output => 'prefix_storage_output', } + { name => 'node_storage', type => 1, message_multiple => 'All storages are ok', display_long => 1, cb_prefix_output => 'prefix_storage_output', } ]; $self->{maps_counters}->{node_storage} = [ @@ -127,7 +127,7 @@ sub new { bless $self, $class; $options{options}->add_options(arguments => { - 'fstype:s' => { name => 'fstype', default => 'linuxfs|rootfs|tmpfs' }, + 'fstype:s' => { name => 'fstype' }, "storage:s" => { name => 'storage' }, "units:s" => { name => 'units', default => '%' } }); diff --git a/centreon-plugins/apps/monitoring/nodeexporter/windows/mode/storage.pm b/centreon-plugins/apps/monitoring/nodeexporter/windows/mode/storage.pm index 42aa4931b..4478d50c0 100644 --- a/centreon-plugins/apps/monitoring/nodeexporter/windows/mode/storage.pm +++ b/centreon-plugins/apps/monitoring/nodeexporter/windows/mode/storage.pm @@ -105,7 +105,7 @@ sub set_counters { my ($self, %options) = @_; $self->{maps_counters_type} = [ - { name => 'node_storage', type => 1, message_multiple => 'All memory types are ok', display_long => 1, cb_prefix_output => 'prefix_storage_output', } + { name => 'node_storage', type => 1, message_multiple => 'All storages are ok', display_long => 1, cb_prefix_output => 'prefix_storage_output', } ]; $self->{maps_counters}->{node_storage} = [