From: Florian Forster Date: Fri, 28 Sep 2007 10:41:17 +0000 (+0200) Subject: contrib/collection.cgi: Add a vertical legend to `meta_graph_memory'. X-Git-Tag: collectd-4.0.9~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=92fad124c0dc9ab7a1ed6ea7af8749e4bf975092;p=collectd.git contrib/collection.cgi: Add a vertical legend to `meta_graph_memory'. --- 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,