diff --git a/centreon/plugins/values.pm b/centreon/plugins/values.pm index 4c9283815..55c5f9a32 100644 --- a/centreon/plugins/values.pm +++ b/centreon/plugins/values.pm @@ -139,7 +139,7 @@ sub output { return $self->{closure_custom_output}->($self); } my $first = ${${$self->{key_values}}[0]}{name}; - my ($value, $unit) = ($self->{result_values}->{$first . '_absolute'}, $self->{result_values}->{output_absolute_unit}); + my ($value, $unit) = ($self->{result_values}->{$first . '_absolute'}, $self->{output_absolute_unit}); if (!defined($self->{output_use})) { if ($self->{per_second} == 1) { diff --git a/storage/dell/compellent/local/mode/hbausage.pm b/storage/dell/compellent/local/mode/hbausage.pm index 7c07d3cec..0b91419d1 100644 --- a/storage/dell/compellent/local/mode/hbausage.pm +++ b/storage/dell/compellent/local/mode/hbausage.pm @@ -78,7 +78,7 @@ sub set_counters { output_template => 'Write Usage : %s %s/s', output_change_bytes => 2, perfdatas => [ - { label => 'write_usage', value => 'read_bps_absolute', template => '%d', + { label => 'write_usage', value => 'write_bps_absolute', template => '%d', unit => 'b/s', min => 0, label_extra_instance => 1, instance_use => 'display_absolute' }, ], }