From 92fad124c0dc9ab7a1ed6ea7af8749e4bf975092 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 28 Sep 2007 12:41:17 +0200 Subject: [PATCH] contrib/collection.cgi: Add a vertical legend to `meta_graph_memory'. --- contrib/collection.cgi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/contrib/collection.cgi b/contrib/collection.cgi index ebd937ef..338b724b 100755 --- a/contrib/collection.cgi +++ b/contrib/collection.cgi @@ -2517,7 +2517,7 @@ sub meta_graph_memory . (defined ($plugin_instance) ? "-$plugin_instance" : '') . "/$type"; $opts->{'number_format'} = '%5.1lf%s'; - $opts->{'rrd_opts'} = ['-b', '1024']; + $opts->{'rrd_opts'} = ['-b', '1024', '-v', 'Bytes']; my @files = (); @@ -2777,10 +2777,10 @@ sub meta_graph_swap $opts->{'colors'} = { - 'Free' => '00e000', - 'Cached' => '0000ff', - 'Reserved' => 'ffb000', - 'Used' => 'ff0000' + 'Free' => '00e000', + 'Cached' => '0000ff', + 'Reserved' => 'ffb000', + 'Used' => 'ff0000' }; _custom_sort_arrayref ($type_instances, -- 2.11.0