diff --git a/centreon-plugins/storage/netapp/ontap/restapi/mode/volumes.pm b/centreon-plugins/storage/netapp/ontap/restapi/mode/volumes.pm index 2f4d640b6..36ec7c7b3 100644 --- a/centreon-plugins/storage/netapp/ontap/restapi/mode/volumes.pm +++ b/centreon-plugins/storage/netapp/ontap/restapi/mode/volumes.pm @@ -249,15 +249,15 @@ sub manage_selection { write_iops => $_->{metric}->{iops}->{write}, other_iops => $_->{metric}->{iops}->{other}, total_iops => $_->{metric}->{iops}->{total}, - read_latency => $_->{metric}->{latency}->{read}, - write_latency => $_->{metric}->{latency}->{write}, - other_latency => $_->{metric}->{latency}->{other}, - total_latency => $_->{metric}->{latency}->{total} + read_latency => $_->{metric}->{latency}->{read} / 1000, + write_latency => $_->{metric}->{latency}->{write} / 1000, + other_latency => $_->{metric}->{latency}->{other} / 1000, + total_latency => $_->{metric}->{latency}->{total} / 1000 }; } if (scalar(keys %{$self->{volumes}}) <= 0) { - $self->{output}->add_option_msg(short_msg => "No volume found"); + $self->{output}->add_option_msg(short_msg => 'No volume found'); $self->{output}->option_exit(); } }