Install successful, but "Error drawing graph" on all graphs

I can’t see any errors in logs, and it seems to be able to discover hosts, but just not graph things. Am I missing a lib, or a path wrong or some such?

version: 9bcc31c - Tue Aug 09 2016 14:19:06 GMT-0700
DB Schema#118
Apache2.4.10 (Debian)

I think it was a polling issue, managed to get it fixed by screwing with the cron jobs, so make sure your cron setup is working if you see this error.

How to solve this issue.this is also my problem.


Are you seeing that for all graphs?

Can you post output of /opt/librenms/validate.php

also post output of “show rrd command” when you go onto a broken graph

Yes! all graphs.

Here is my /validate.php


Component Version
LibreNMS 1.50-15-gc305d2b
DB Schema 2019_02_10_220000_add_dates_to_fdb (132)
PHP 7.2.16
MySQL 5.5.60-MariaDB
RRDTool 1.4.8


[OK] Composer Version: 1.8.4
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

Here the rrd output.

RRDTool Command

rrdtool graph /tmp/O4BRNdBaEMhniN4F --alt-autoscale-max --rigid -E --start 1554251700 --end 1554338100 --width 1075 --height 300 -c BACK#EEEEEE00 -c SHADEA#EEEEEE00 -c SHADEB#EEEEEE00 -c FONT#000000 -c CANVAS#FFFFFF00 -c GRID#a5a5a5 -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e -R normal --font LEGEND:8:DejaVuSansMono --font AXIS:7:DejaVuSansMono --font-render-mode normal DEF:outoctets=/opt/librenms/rrd/ DEF:inoctets=/opt/librenms/rrd/ DEF:outoctets_max=/opt/librenms/rrd/ DEF:inoctets_max=/opt/librenms/rrd/ CDEF:octets=inoctets,outoctets,+ CDEF:doutoctets=outoctets,-1,* CDEF:outbits=outoctets,8,* CDEF:outbits_max=outoctets_max,8,* CDEF:doutoctets_max=outoctets_max,-1,* CDEF:doutbits=doutoctets,8,* CDEF:doutbits_max=doutoctets_max,8,* CDEF:inbits=inoctets,8,* CDEF:inbits_max=inoctets_max,8,* VDEF:totin=inoctets,TOTAL VDEF:totout=outoctets,TOTAL VDEF:tot=octets,TOTAL CDEF:dpercentile_outn=doutbits,-1,* VDEF:dpercentile_outnp=dpercentile_outn,95,PERCENT CDEF:dpercentile_outnpn=doutbits,doutbits,-,dpercentile_outnp,-1,*,+ VDEF:dpercentile_out=dpercentile_outnpn,FIRST VDEF:percentile_in=inbits,95,PERCENT VDEF:percentile_out=outbits,95,PERCENT COMMENT:‘bps Now Ave Max 95th %\n’ AREA:inbits_max#D7FFC7: AREA:inbits#90B040: LINE:inbits#608720:‘In ’ GPRINT:inbits:LAST:%6.2lf%s GPRINT:inbits:AVERAGE:%6.2lf%s GPRINT:inbits_max:MAX:%6.2lf%s GPRINT:percentile_in:%6.2lf%s\n AREA:doutbits_max#E0E0FF: AREA:doutbits#8080C0: LINE:doutbits#606090:‘Out’ GPRINT:outbits:LAST:%6.2lf%s GPRINT:outbits:AVERAGE:%6.2lf%s GPRINT:outbits_max:MAX:%6.2lf%s GPRINT:percentile_out:%6.2lf%s\n GPRINT:tot:‘Total %6.2lf%sB’ GPRINT:totin:’(In %6.2lf%sB’ GPRINT:totout:‘Out %6.2lf%sB)\l’ LINE1:percentile_in#aa0000 LINE1:dpercentile_out#aa0000

RRDTool Output

OK u:0.08 s:0.01 r:0.08