Broken rrdtool command view

====================================

Component Version
LibreNMS 1.61-46-g299ae36
DB Schema 2020_02_10_223323_create_alert_location_map_table (159)
PHP 7.2.28-3+ubuntu16.04.1+deb.sury.org+1
MySQL 10.0.38-MariaDB-0ubuntu0.16.04.1
RRDTool 1.5.5
SNMP NET-SNMP 5.7.3
====================================

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

Just went to one of my graph and clicked on Show rrd command.
Instead of seeing the command line, and I’m sure I did it in the past, I get and empty page and several errors are logged in the Chrome console (same with Edge and FF btw).
This is the page


and the missing pieces

The full link of one of those missing entries is:
https://XYZ/graphs/to=1584618600/type=device_processor/from=1584532200/legend=no/lazy_w=845/device=836/showcommand=yes/js/RrdGraphJS/q-5.0.2.min.js

The other parts of the web interface have no problem and even this page is fine if I just want to see the graphs instead of the command.
I assume some daily update broke something in generating the page resource links.

(I needed the command because I want to see the trend of some graphs that are not related to port traffic, which I know I can obtain by setting the end date in the future. Would be useful to extend it to storage graphs too)

Solved as of
LibreNMS | 1.61-77-g676a120
Can be closed

How would one upgrade to 1.61-77-g676a120 via docker? I only see “latest” which is 1.61. I’m assuming my issue will be fixed as well when I’m able to upgrade when the latest version gets updated.

RRDTool Output

ERROR: can not parse an empty rpn expression

and in the logs (lots of these):

rrdcached_1 | rrdcreate request for /data/db/router/poller-perf.rrd
rrdcached_1 | handle_request_update: stat (/data/db/router/poller-perf.rrd) failed.

Check https://docs.librenms.org/General/Releases/

I just installed 1.62.2 from Docker and still getting this:

rrdcached_1  | rrdcreate request for /data/db/router/port-id10.rrd
rrdcached_1  | handle_request_update: stat (/data/db/router/port-id10.rrd) failed.
rrdcached_1  | rrdcreate request for /data/db/router/port-id11.rrd
rrdcached_1  | handle_request_update: stat (/data/db/router/port-id11.rrd) failed.
rrdcached_1  | rrdcreate request for /data/db/router/port-id12.rrd
rrdcached_1  | handle_request_update: stat (/data/db/router/port-id12.rrd) failed.
rrdcached_1  | rrdcreate request for /data/db/router/port-id13.rrd
rrdcached_1  | handle_request_update: stat (/data/db/router/port-id13.rrd) failed.
rrdcached_1  | rrdcreate request for /data/db/router/poller-perf-ports.rrd
rrdcached_1  | handle_request_update: stat (/data/db/router/poller-perf-ports.rrd) failed.
rrdcached_1  | rrdcreate request for /data/db/router/poller-perf-customoid.rrd
rrdcached_1  | handle_request_update: stat (/data/db/router/poller-perf-customoid.rrd) failed.
rrdcached_1  | rrdcreate request for /data/db/router/poller-perf-bgp-peers.rrd
rrdcached_1  | handle_request_update: stat (/data/db/router/poller-perf-bgp-peers.rrd) failed.
rrdcached_1  | rrdcreate request for /data/db/router/ucd_diskio-mtdblock2.rrd
rrdcached_1  | handle_request_update: stat (/data/db/router/ucd_diskio-mtdblock2.rrd) failed.
rrdcached_1  | rrdcreate request for /data/db/router/ucd_diskio-sda.rrd
rrdcached_1  | handle_request_update: stat (/data/db/router/ucd_diskio-sda.rrd) failed.
rrdcached_1  | rrdcreate request for /data/db/router/ucd_diskio-sda2.rrd
rrdcached_1  | handle_request_update: stat (/data/db/router/ucd_diskio-sda2.rrd) failed.
rrdcached_1  | rrdcreate request for /data/db/router/poller-perf-ucd-diskio.rrd
rrdcached_1  | handle_request_update: stat (/data/db/router/poller-perf-ucd-diskio.rrd) failed.
rrdcached_1  | rrdcreate request for /data/db/router/poller-perf-wireless.rrd
rrdcached_1  | handle_request_update: stat (/data/db/router/poller-perf-wireless.rrd) failed.
rrdcached_1  | rrdcreate request for /data/db/router/poller-perf-ospf.rrd
rrdcached_1  | handle_request_update: stat (/data/db/router/poller-perf-ospf.rrd) failed.
rrdcached_1  | rrdcreate request for /data/db/router/poller-perf-entity-physical.rrd
rrdcached_1  | handle_request_update: stat (/data/db/router/poller-perf-entity-physical.rrd) failed.
rrdcached_1  | rrdcreate request for /data/db/router/poller-perf-applications.rrd
rrdcached_1  | handle_request_update: stat (/data/db/router/poller-perf-applications.rrd) failed.
rrdcached_1  | rrdcreate request for /data/db/router/poller-perf-stp.rrd
rrdcached_1  | handle_request_update: stat (/data/db/router/poller-perf-stp.rrd) failed.
rrdcached_1  | rrdcreate request for /data/db/router/poller-perf-ntp.rrd
rrdcached_1  | handle_request_update: stat (/data/db/router/poller-perf-ntp.rrd) failed.
rrdcached_1  | rrdcreate request for /data/db/router/poller-perf-mpls.rrd
rrdcached_1  | handle_request_update: stat (/data/db/router/poller-perf-mpls.rrd) failed.
rrdcached_1  | rrdcreate request for /data/db/router/ping-perf.rrd
rrdcached_1  | handle_request_update: stat (/data/db/router/ping-perf.rrd) failed.
rrdcached_1  | rrdcreate request for /data/db/router/poller-perf.rrd
rrdcached_1  | handle_request_update: stat (/data/db/router/poller-perf.rrd) failed.

RRDTool Command

rrdtool graph /tmp/EvsPoYBUJtVMLFD5 -g --alt-autoscale-max --rigid -E --start 1586546100 --end 1586632500 --width 1108 --height 300 -c BACK#EEEEEE00 -c SHADEA#EEEEEE00 -c SHADEB#EEEEEE00 -c CANVAS#FFFFFF00 -c GRID#a5a5a5 -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e -R normal -c FONT#000000 --font LEGEND:8:DejaVuSansMono --font AXIS:7:DejaVuSansMono --font-render-mode normal COMMENT:’ Now Avg Max’ COMMENT:’ Total’ COMMENT:‘\n’ CDEF:inB= CDEF:outB= CDEF:octets=inB,outB,+ CDEF:doutB=outB,-1,* CDEF:inbits=inB,8,* CDEF:outbits=outB,8,* CDEF:bits=inbits,outbits,+ CDEF:doutbits=doutB,8,* VDEF:percentile_in=inbits,95,PERCENT VDEF:percentile_out=outbits,95,PERCENT 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:totin=inB,TOTAL VDEF:avein=inbits,AVERAGE VDEF:totout=outB,TOTAL VDEF:aveout=outbits,AVERAGE VDEF:tot=octets,TOTAL COMMENT:’ \n’ HRULE:999999999999999#FFFFFF:‘Total In ’ GPRINT:inbits:LAST:%6.2lf%s GPRINT:inbits:AVERAGE:%6.2lf%s GPRINT:inbits:MAX:%6.2lf%s GPRINT:totin:%6.2lf%sB COMMENT:’\n’ HRULE:999999999999990#FFFFFF:’ Out’ GPRINT:outbits:LAST:%6.2lf%s GPRINT:outbits:AVERAGE:%6.2lf%s GPRINT:outbits:MAX:%6.2lf%s GPRINT:totout:%6.2lf%sB COMMENT:‘\n’ HRULE:999999999999990#FFFFFF:’ Agg’ GPRINT:bits:LAST:%6.2lf%s GPRINT:bits:AVERAGE:%6.2lf%s GPRINT:bits:MAX:%6.2lf%s GPRINT:tot:%6.2lf%sB COMMENT:‘\n’ HRULE:0#999999 --daemon rrdcached:42217
RRDTool Output

ERROR: can not parse an empty rpn expression