+ Fix dell compellent mode
This commit is contained in:
parent
3c383d11dc
commit
e741f6f1dc
|
@ -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) {
|
||||
|
|
|
@ -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' },
|
||||
],
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue