Graphs are empty

this is rrd from the host

rrdtool graph - -l 0 -u 100 -E --start 1619974200 --end 1620060600 --width 2304 --height 644 -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 DEF:availability=Ubuntu/availability-86400.rrd:availability:AVERAGE AREA:availability#8B8BEB44: COMMENT:‘Availability(%) Now Ave Max\n’ LINE1.25:availability#000000:'1 day ’ GPRINT:availability:LAST:%6.3lf%s GPRINT:availability:AVERAGE:%6.3lf%s GPRINT:availability:MAX:%6.3lf%s\n COMMENT:\n --daemon unix:/run/rrdcached.sock

The one with the hostname “APC 1500” will never show graphs because of the space. Current code cannot handle that.

I will change that one
thank you

I really can’t figure out why your other graphs are blank.

If you run git checkout HEAD~1 as the librenms user (in /opt/librenms) do the graphs work then. (this rewinds git one commit)

You are in ‘detached HEAD’ state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

git switch -c

Or undo this operation with:

git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 21b0e2034 Show OS definition in lnms config:get (#12819)

Output is the expected output. The graphs?

Still not working

Odd, it is unrelated to the graphing change that was just made then.

You can run git checkout master and ./validate.php to put it back and check things are still ok.

Try systemctl restart rrdcached as root or sudo and see if that helps.

yeah that didn’t work

image

Try unsetting rrdcached config setting and see if it works (this assumes you only have one LibreNMS server).

you know it is funny on the widgets on the dash board, it apprears that the data is still populating but the graphs aren’t populating because the top cpu devices do move around

I was able to get graphs going again it was an issue with mariadb
the graphs now are not populating much

@brent_worrey what was the root couse, what was the problem with mariadb

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.