Search found 4 matches

by Neptune
Wed Dec 21, 2005 6:43 pm
Forum: Feature Requests
Topic: FIX: rrdtool v 1.2.6 COMMENT ':' not properly escaped
Replies: 1
Views: 1851

FIX: rrdtool v 1.2.6 COMMENT ':' not properly escaped

To fix, apply this patch: diff lib/rrd.php.orig lib/rrd.php 692c692 < $graph_legend .= "COMMENT:\"From " . date($graph_date, $graph_data_array["graph_start"]) . " To " . date($graph_date, $graph_data_array["graph_end"]) . "\\c\"" . RRD_NL ....
by Neptune
Wed Dec 21, 2005 6:41 pm
Forum: Help: General
Topic: how to create red line in graph
Replies: 4
Views: 3922

rrdtool requires ":" to be escaped

rrdtool -v RRDtool 1.2.6 I've found these similar errors in the latest version of Cacti when using rrdtool 1.2.6. To fix, there is a missing str_replace in lib/rrd.php: diff lib/rrd.php.orig lib/rrd.php 692c692 < $graph_legend .= "COMMENT:\"From " . date($graph_date, $graph_data_array...
by Neptune
Sun Oct 10, 2004 2:48 pm
Forum: Feature Requests
Topic: Summation of non-bandwidth data - code included
Replies: 4
Views: 5867

Thanks, I think some more situations will emerge where it could be useful. Probably COUNTERS/GAUGES where you want to know "how many total ticks this period"

(Money saved this year, inches of rain this month, etc)

Anyway, thanks for adding it :-)
by Neptune
Sun Oct 10, 2004 12:30 pm
Forum: Feature Requests
Topic: Summation of non-bandwidth data - code included
Replies: 4
Views: 5867

The real world example I'm using it for is 5 minute samples of Gigabytes dowloaded in the past window (as calculated from usage records in a MySQL database). So at 5 minutes - say 1000 bytes, 1000 total 10 minutes - say 2000 bytes, 3000 total 15 minutes - 1000 bytes, 4000 total 20 minutes - 3000 byt...