From: Florian Forster Date: Mon, 10 Jul 2006 20:32:28 +0000 (+0200) Subject: collection.cgi: Improved the interfaces package and error count. X-Git-Tag: collectd-3.11.0~77 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=8be78ba8117ff66b215f76076df75956b0fec6d2;p=collectd.git collection.cgi: Improved the interfaces package and error count. --- diff --git a/contrib/collection.cgi b/contrib/collection.cgi index 098c702d..f675b79c 100755 --- a/contrib/collection.cgi +++ b/contrib/collection.cgi @@ -304,13 +304,13 @@ our $GraphDefs; 'GPRINT:tx_avg:AVERAGE:%5.1lf%s Avg,', 'GPRINT:tx_max:MAX:%5.1lf%s Max,', 'GPRINT:tx_avg:LAST:%5.1lf%s Last', - 'GPRINT:tx_avg_sum:LAST:(ca. %.0lf Total)\l', + 'GPRINT:tx_avg_sum:LAST:(ca. %4.0lf%s Total)\l', "LINE1:rx_avg#$FullBlue:RX", #'GPRINT:rx_min:MIN:%5.1lf %s Min,', 'GPRINT:rx_avg:AVERAGE:%5.1lf%s Avg,', 'GPRINT:rx_max:MAX:%5.1lf%s Max,', 'GPRINT:rx_avg:LAST:%5.1lf%s Last', - 'GPRINT:rx_avg_sum:LAST:(ca. %.0lf Total)\l' + 'GPRINT:rx_avg_sum:LAST:(ca. %4.0lf%s Total)\l' ], load => ['DEF:s_avg={file}:shortterm:AVERAGE', 'DEF:s_min={file}:shortterm:MIN',