All Graphs Empty

All my graphs seem to be empty on my install. Think I followed all the directions properly. All other functions seem to be working. I can even see live stats on the graph at the bottom, but the graph doesn’t chart. Any ideas what to look at?

./validate.php located at Graphs Blank - LibreNMS

Also, output of “show rrd command” shows OK at the bottom. Not sure where to look next as I don’t see any errors in the log. The two devices that show up as taking too long to poll are something I need fixed, but all other devices are polling with no issues.

Validate actually points you some things.

Do you have any poller.php process(es) running? (ps ax | grep poller)

If not, do you have librenms cron properly configured?

If yes, try running ./poller.php -d -h device1 changing device1 with a correct device id or hostname

All librenms commands must be run as librenms user!

Thanks for the suggestions. I do have the cron setup properly and it runs every 5 minutes. See below outputs:

system log
Jun 22 13:45:01 server.somedomain.com CROND[12311]: (librenms) CMD ( /opt/librenms/check-services.php >> /dev/null 2>&1)
Jun 22 13:45:01 server.somedomain.com CROND[12312]: (librenms) CMD ( /opt/librenms/poll-billing.php >> /dev/null 2>&1)
Jun 22 13:45:01 server.somedomain.com CROND[12314]: (librenms) CMD ( /opt/librenms/cronic /opt/librenms/poller-wrapper.py 40)
Jun 22 13:45:01 server.somedomain.com CROND[12313]: (librenms) CMD ( /opt/librenms/alerts.php >> /dev/null 2>&1)
Jun 22 13:45:01 server.somedomain.com CROND[12317]: (librenms) CMD ( /opt/librenms/discovery.php -h new >> /dev/null 2>&1)

librenms.log
/opt/librenms/poller.php 7 2019-06-22 13:45:04 - 1 devices polled in 1.755 secs
/opt/librenms/poller.php 17 2019-06-22 13:45:06 - 1 devices polled in 3.496 secs
/opt/librenms/poller.php 16 2019-06-22 13:45:06 - 1 devices polled in 3.882 secs
/opt/librenms/poller.php 18 2019-06-22 13:45:06 - 1 devices polled in 3.870 secs
/opt/librenms/poller.php 9 2019-06-22 13:45:07 - 1 devices polled in 4.563 secs
/opt/librenms/poller.php 12 2019-06-22 13:45:09 - 1 devices polled in 6.750 secs
/opt/librenms/poller.php 1 2019-06-22 13:45:11 - 1 devices polled in 8.295 secs
/opt/librenms/poller.php 10 2019-06-22 13:45:12 - 1 devices polled in 9.362 secs
/opt/librenms/poller.php 2 2019-06-22 13:45:13 - 1 devices polled in 10.38 secs
/opt/librenms/poller.php 11 2019-06-22 13:45:14 - 1 devices polled in 11.62 secs
/opt/librenms/discovery.php new 2019-06-22 13:45:15 - 0 devices discovered in 13.12 secs
/opt/librenms/poller.php 5 2019-06-22 13:45:16 - 1 devices polled in 13.29 secs
/opt/librenms/poller.php 19 2019-06-22 13:45:16 - 1 devices polled in 13.25 secs
/opt/librenms/poller.php 13 2019-06-22 13:45:18 - 1 devices polled in 15.16 secs
/opt/librenms/poller.php 14 2019-06-22 13:45:19 - 1 devices polled in 16.96 secs
/opt/librenms/poller.php 6 2019-06-22 13:45:28 - 1 devices polled in 25.73 secs

bash-4.2$
bash-4.2$
bash-4.2$ whoami
librenms
bash-4.2$ ./poller.php -d -h server.somedomain.com

See full output here:
https://p.libren.ms/view/c1c81e88

Hey All, any help would be appreciated. Any documentation that can point me into what could be wrong as well as I’m not seeing any errors.

If you add localhost as a device and wait 20 minutes, do you see graphs for that?

Did you fix all the errors in your validate?

the device i listed in the previous response is the localhost and it responds properly according to the output, but it doesn’t graph.

The errors in the validate are for two hosts that take a while to respond. I can remove them from the system entirely if you think they are breaking the ability to graph for the entire system?

For your localhost Ports and CPU / MEM are you still getting stats at the bottom of the graph, like you are for the other devices?

Do you have RRDcached installed? , if yes did you try stopping the service and disabling in config.php?

Yes, I’ve just disabled RRDcache and stopped the service as suggested. I have the same issue to a T. So I will update if this fixes things. Thanks Chas.

Yes, @Chas, i did this and graphing appeared to pick up on the localhost immediately. This could just be that it was a while of polling after reinstalling rrdcache, but now its disabled. It does not appear that other devices picked up to graphing so quickly either, but yes now after 20 or so minutes other devices are graphing now. I wanted to use rrdcached though. I wonder if this will be okay after a reboot and the service is restarted.

I did not reboot, but i restarted rrdcached, and lit the module back up and its still polling, i’ll report back if this doesn’t survive a reboot.