RRDSummary not working after upgrade to 23.05
-
RRDSummary all counters are zero after upgrading to 23.05.
-
Same here.
-
The 'epoch+XXXXXXXs' format is being rejected by rrdtool. This looks like a bug in rrdtool 1.80. I tested the same syntax on other platforms and see the same error.
In the interim, you can address the issue with the following patch:
--- status_rrd_summary.php.org 2023-05-23 11:00:34.000000000 -0700 +++ status_rrd_summary.php 2023-05-25 11:47:12.375263000 -0700 @@ -90,7 +90,7 @@ if ($start > $last || $end < $first) continue; if ($start < $first) $start = $first; if ($end > $last) $end = $last; - $data = fetch_rrd_summary($rrd, "epoch+{$start}s", "epoch+{$end}s", $units, 24*60*60); + $data = fetch_rrd_summary($rrd, "{$start}", "{$end}", $units, 24*60*60); ?> <tr> <td><?=date("Y-m-d", $start); ?> to <?=date("Y-m-d", $end); ?></td>
-
-
I confirm the RRD_Summary 2.1 update fixes the issue. Thanks!!