From: Florian Forster Date: Wed, 7 Nov 2007 09:33:51 +0000 (+0000) Subject: contrib/collection.cgi: Fix the ps_rss graph. X-Git-Tag: collectd-4.2.1~3 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=d8b5d6ec83a5a7a471ca529b144386cdd495ebe1;p=collectd.git contrib/collection.cgi: Fix the ps_rss graph. --- diff --git a/contrib/collection.cgi b/contrib/collection.cgi index 33f13510..9ea03ebe 100755 --- a/contrib/collection.cgi +++ b/contrib/collection.cgi @@ -1968,9 +1968,9 @@ sub load_graph_definitions 'GPRINT:sleeping_avg:LAST:%5.1lf Last\l' ], ps_rss => [ - 'DEF:avg={file}:byte:AVERAGE', - 'DEF:min={file}:byte:MIN', - 'DEF:max={file}:byte:MAX', + 'DEF:avg={file}:value:AVERAGE', + 'DEF:min={file}:value:MIN', + 'DEF:max={file}:value:MAX', "AREA:avg#$HalfBlue", "LINE1:avg#$FullBlue:RSS", 'GPRINT:min:MIN:%5.1lf%s Min,',