diff --git a/centreon-plugins/storage/dell/me4/custom/api.pm b/centreon-plugins/storage/dell/me4/custom/api.pm index 0539ef3ae..2b0df6e5b 100644 --- a/centreon-plugins/storage/dell/me4/custom/api.pm +++ b/centreon-plugins/storage/dell/me4/custom/api.pm @@ -197,6 +197,8 @@ sub request_api { } $self->settings(); + + my $lang = $self->{http}->request(method => 'GET', url_path => '/api/set/cli-parameters/locale/English'); $self->{output}->output_add(long_msg => "URL: '" . $self->{proto} . '://' . $self->{hostname} . ':' . $self->{port} . $options{url_path} . "'", debug => 1); diff --git a/centreon-plugins/storage/dell/me4/mode/components/sensor.pm b/centreon-plugins/storage/dell/me4/mode/components/sensor.pm index aecc80916..47e0d4913 100644 --- a/centreon-plugins/storage/dell/me4/mode/components/sensor.pm +++ b/centreon-plugins/storage/dell/me4/mode/components/sensor.pm @@ -26,7 +26,7 @@ use warnings; sub load { my ($self) = @_; - $self->{json_results}->{sensors} = $self->{custom}->request_api(method => 'GET', url_path => '/api/show/sensors'); + $self->{json_results}->{sensors} = $self->{custom}->request_api(method => 'GET', url_path => '/api/show/sensor-status'); } my %mapping = ( diff --git a/centreon-plugins/storage/dell/me4/mode/controllerstatistics.pm b/centreon-plugins/storage/dell/me4/mode/controllerstatistics.pm index 0053b6be3..97b3d6443 100644 --- a/centreon-plugins/storage/dell/me4/mode/controllerstatistics.pm +++ b/centreon-plugins/storage/dell/me4/mode/controllerstatistics.pm @@ -236,27 +236,27 @@ Check controllers statistics. Filter controller name (Can be a regexp). -=item B<--warning-*> +=item B<--warning-instance-*> Threshold warning. -Can be: 'controller.data.read.bytespersecond', 'controller.data.written.bytespersecond', -'controller.reads.count', 'controller.writes.count', -'controller.data.transfer.bytespersecond', 'controller.iops.ops', -'controller.commands.forwarded.count', -'controller.cache.write.usage.percentage', 'controller.cache.write.hits.count', -'controller.cache.write.misses.count', 'controller.cache.read.hits.count', -'controller.cache.read.misses.count', 'controller.cpu.utilization.percentage'. +Can be: 'controller-data-read-bytespersecond', 'controller-data-written-bytespersecond', +'controller-reads-count', 'controller-writes-count', +'controller-data-transfer-bytespersecond', 'controller-iops-ops', +'controller-commands-forwarded-count', +'controller-cache-write-usage-percentage', 'controller-cache-write-hits-count', +'controller-cache-write-misses-count', 'controller-cache-read-hits-count', +'controller-cache-read-misses-count', 'controller-cpu-utilization-percentage'. -=item B<--critical-*> +=item B<--critical-instance-*> Threshold critical. -Can be: 'controller.data.read.bytespersecond', 'controller.data.written.bytespersecond', -'controller.reads.count', 'controller.writes.count', -'controller.data.transfer.bytespersecond', 'controller.iops.ops', -'controller.commands.forwarded.count', -'controller.cache.write.usage.percentage', 'controller.cache.write.hits.count', -'controller.cache.write.misses.count', 'controller.cache.read.hits.count', -'controller.cache.read.misses.count', 'controller.cpu.utilization.percentage'. +Can be: 'controller-data-read-bytespersecond', 'controller-data-written-bytespersecond', +'controller-reads-count', 'controller-writes-count', +'controller-data-transfer-bytespersecond', 'controller-iops-ops', +'controller-commands-forwarded-count', +'controller-cache-write-usage-percentage', 'controller-cache-write-hits-count', +'controller-cache-write-misses-count', 'controller-cache-read-hits-count', +'controller-cache-read-misses-count', 'controller-cpu-utilization-percentage'. =back diff --git a/centreon-plugins/storage/dell/me4/mode/volumestatistics.pm b/centreon-plugins/storage/dell/me4/mode/volumestatistics.pm index f4de3f94c..e91444ae7 100644 --- a/centreon-plugins/storage/dell/me4/mode/volumestatistics.pm +++ b/centreon-plugins/storage/dell/me4/mode/volumestatistics.pm @@ -216,25 +216,25 @@ Check volumes statistics. Filter volume name (Can be a regexp). -=item B<--warning-*> +=item B<--warning-instance-*> Threshold warning. -Can be: 'volume.data.read.bytespersecond', 'volume.data.written.bytespersecond', -'volume.reads.count', 'volume.writes.count', -'volume.data.transfer.bytespersecond', 'volume.iops.ops', -'volume.cache.write.usage.percentage', 'volume.cache.write.hits.count', -'volume.cache.write.misses.count', 'volume.cache.read.hits.count', -'volume.cache.read.misses.count'. +Can be: 'volume-data-read-bytespersecond', 'volume-data-written-bytespersecond', +'volume-reads-count', 'volume-writes-count', +'volume-data-transfer-bytespersecond', 'volume-iops-ops', +'volume-cache-write-usage-percentage', 'volume-cache-write-hits-count', +'volume-cache-write-misses-count', 'volume-cache-read-hits-count', +'volume-cache-read-misses-count'. -=item B<--critical-*> +=item B<--critical-instance-*> Threshold critical. -Can be: 'volume.data.read.bytespersecond', 'volume.data.written.bytespersecond', -'volume.reads.count', 'volume.writes.count', -'volume.data.transfer.bytespersecond', 'volume.iops.ops', -'volume.cache.write.usage.percentage', 'volume.cache.write.hits.count', -'volume.cache.write.misses.count', 'volume.cache.read.hits.count', -'volume.cache.read.misses.count'. +Can be: 'volume-data-read-bytespersecond', 'volume-data-written-bytespersecond', +'volume-reads-count', 'volume-writes-count', +'volume-data-transfer-bytespersecond', 'volume-iops-ops', +'volume-cache-write-usage-percentage', 'volume-cache-write-hits-count', +'volume-cache-write-misses-count', 'volume-cache-read-hits-count', +'volume-cache-read-misses-count'. =back