mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-19 19:54:46 +02:00
Add unit of perfdata for memeory refs #6013
This commit is contained in:
parent
fbcecf9f39
commit
b26e5d3fd8
@ -101,6 +101,7 @@ sub run {
|
||||
|
||||
$self->{output}->perfdata_add(label => "used",
|
||||
value => $memory_used,
|
||||
unit => 'B',
|
||||
warning => $self->{perfdata}->get_perfdata_for_output(label => 'warning', total => $memory_available, cast_int => 1),
|
||||
critical => $self->{perfdata}->get_perfdata_for_output(label => 'critical', total => $memory_available, cast_int => 1),
|
||||
min => 0, max => $memory_available);
|
||||
|
Loading…
x
Reference in New Issue
Block a user