From b26e5d3fd8d07c9f69a9262d1f173873f9ff4d3d Mon Sep 17 00:00:00 2001 From: Kevin Duret Date: Fri, 5 Dec 2014 09:38:07 +0100 Subject: [PATCH] Add unit of perfdata for memeory refs #6013 --- centreon/common/fastpath/mode/memory.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/centreon/common/fastpath/mode/memory.pm b/centreon/common/fastpath/mode/memory.pm index b10e9afbb..c1e16160c 100644 --- a/centreon/common/fastpath/mode/memory.pm +++ b/centreon/common/fastpath/mode/memory.pm @@ -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);