Update memory.pm
This commit is contained in:
parent
b274a0e509
commit
f9702115ff
|
@ -52,7 +52,7 @@ sub set_counters {
|
||||||
closure_custom_output => $self->can('custom_usage_output'),
|
closure_custom_output => $self->can('custom_usage_output'),
|
||||||
threshold_use => 'prct_used_absolute',
|
threshold_use => 'prct_used_absolute',
|
||||||
perfdatas => [
|
perfdatas => [
|
||||||
{ label => 'memory', value => 'used_absolute', template => '%.2f', threshold_total => 'total_absolute', cast_int => 1,
|
{ label => 'used', value => 'used_absolute', template => '%.2f', threshold_total => 'total_absolute', cast_int => 1,
|
||||||
min => 0, max => 'total_absolute', unit => 'B' },
|
min => 0, max => 'total_absolute', unit => 'B' },
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue