Graphs/RRDs are updating and can be previewed, but if you click on a graph, the per-RRA images are all broken.
Graph debug shows the following error:
Code: Select all
RRDTool Says:
ERROR: cannot compile regular expression: Error while compiling regular expression ^(?:[^%]+|%%)*%[+- 0#]?[0-9]*([.][0-9]+)?l[eEfF](?:[^%]+|%%)*%s(?:[^%]+|%%)*$ at char 18: range out of order in character class (^(?:[^%]+|%%)*%[+- 0#]?[0-9]*([.][0-9]+)?l[eEfF](?:[^%]+|%%)*%s(?:[^%]+|%%)*$)
EDIT:
RRDtool is version 1.4.8 but appears to have been compiled yesterday, so I'm wondering if an update to RRDtool has caused this behaviour?
Code: Select all
rrdtool --help
RRDtool 1.4.8 Copyright 1997-2013 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Mar 1 2020 13:50:40
It looks like RRDtool was updated:
Code: Select all
cat /var/log/apt/history.log
Start-Date: 2020-03-02 06:33:54
Commandline: /usr/bin/unattended-upgrade
Upgrade: librrd4:amd64 (1.4.8-1.2, 1.4.8-1.2+deb8u1), librrdp-perl:amd64 (1.4.8-1.2, 1.4.8-1.2+deb8u1), rrdtool:amd64 (1.4.8-1.2, 1.4.8-1.2+deb8u1), librrds-perl:amd64 (1.4.8-1.2, 1.4.8-1.2+deb8u1)
End-Date: 2020-03-02 06:34:30
This appears to be being caused by GPRINT in some fashion - RRDtool executes successfully on the CLI using the "RRDtool command" output from Cacti's graph debug for an example graph, but only if the GPRINT lines are omitted. If they are included, the same error is displayed.