From: octo Date: Thu, 6 Apr 2006 05:56:20 +0000 (+0000) Subject: collection.cgi now displays hourly-graphs. X-Git-Tag: collectd-3.8.6^2~71 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=fd53015e3034c90430c932c3add0cf7e0dee6279;p=collectd.git collection.cgi now displays hourly-graphs. --- diff --git a/contrib/collection.cgi b/contrib/collection.cgi index 392c62bc..63b15639 100755 --- a/contrib/collection.cgi +++ b/contrib/collection.cgi @@ -1196,6 +1196,7 @@ sub output_graph $Inst = $files->{$Type}[0]; } + #push (@cmd, '-', '-a', 'PNG', '-s', $TimeSpan, '-w', 800, '-h', 150); push (@cmd, '-', '-a', 'PNG', '-s', $TimeSpan); push (@cmd, @{$GraphArgs->{$Type}}) if (defined ($GraphArgs->{$Type})); @@ -1290,6 +1291,8 @@ HEADER print < +

Hourly

+

Daily

Weekly

@@ -1314,6 +1317,8 @@ HTML } print <Hourly +

Daily

Weekly