Got a Cacti instance (CactiEZ with cacti 088a) where I successfully graph with number of bespoke data template and corresponding graph template.
Theres one specific however case where the RRAs are simply not written out. The OID is correct. with Realtime It graphs correctly but when looking at the graph anywhere else on Cacti (tree/graph management/editing a host/debug mode on the graph) RRDTool "says" ERROR: opening [..] No such file or directory
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-60 \
--title='HOSTDESCRIPT - Volts' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='Volts' \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/www/html/rra/correctfilename.rrd":'lib_100_v':LAST \
--watermark "bla" \
LINE1:a#4444FFFF:"" \
GPRINT:a:LAST:"Last\:%8.2lf%s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:a:MIN:"Min\:%8.2lf%s" \
GPRINT:a:MAX:"Max\:%8.2lf%s\n"
So: Why fail on only one template (which works btw on an older 087c cacti but I've checked and eyeballed the template for 3 days!). Why would Realtime plugin graph it perfectly?
More importantly - whats the difference between the way normal graphing and polling use of templates and how Realtime uses templates? As I think the difference would point to the cause of the issue.