Collectd Plugin:DF - No Graphs Populate for DF ONLY

Currently i have collectd running with multiple plugins, without issue. The only issue i have is with DF, as it will not populate a graph inthe web portal. It creates files, it gather data per the set interval, but the graph never shows. Any help on this would be greatly appreciated.

Troubleshooting so far:
https://collectd.org/wiki/index.php/Troubleshooting#Graphs_are_empty [did not resolve/ No issues found following this]

Someoutput from the troubleshooting:
root@turris:/mnt/md0/Logs/rrd/turris/df# ls -l
-rw-r–r-- 1 root root 19812 Mar 2 14:06 df-dev.rrd
-rw-r–r-- 1 root root 19812 Mar 2 14:06 df-mnt-md0.rrd
-rw-r–r-- 1 root root 19812 Mar 2 14:06 df-root.rrd
-rw-r–r-- 1 root root 19812 Mar 2 14:06 df-tmp.rrd
root@turris:/mnt/md0/Logs/rrd/turris/df# ls -l
-rw-r–r-- 1 root root 19812 Mar 2 14:07 df-dev.rrd
-rw-r–r-- 1 root root 19812 Mar 2 14:07 df-mnt-md0.rrd
-rw-r–r-- 1 root root 19812 Mar 2 14:07 df-root.rrd
-rw-r–r-- 1 root root 19812 Mar 2 14:07 df-tmp.rrd
root@turris:/mnt/md0/Logs/rrd/turris/df# while sleep 10; do rrdtool info df-mnt-
md0.rrd | grep last_update; done
last_update = 1520017636
last_update = 1520017636
last_update = 1520017636

Anyone have any suggestions??

No suggestions just confirming: same here.

I had to change /usr/lib/lua/luci/statistics/rrdtool/definitions/df.lua.

It’s been mentioned it’s fixed, but I’m not entirely convinced.

You can grab my modified version from here.

It could be that’s not your problem, but if the rest of collectd is working, this might be the fix

thank you, sir. it’s working like a charm. now what? are you raising a PR to openwrt to fix this? just curious. or maybe this only affects turris routers?

I have done that, or at least I thought I did. I was assured all the collectd issues were fixed and none of the updates for a while have touched my collectd files so I thought it had been taken care of.

I could follow up on that, but I keep waiting for 4.0 and new versions of software. I may try 4.0 when it achieves beta, but until all the hardware is working, I’m planning on staying away.

I suppose the main problem is that Turris is stuck with ancient version (4.10.8) of collectd (https://github.com/CZ-NIC/turris-os-packages/blob/test/utils/collectd/Makefile) which does not collect reserved bytes stats by default - unlike recent 5.8.1 in openwrt (https://github.com/openwrt/packages/blob/3be5d4d840edc2dafb532304e2bb3b0671892b92/utils/collectd/Makefile).

Wonder what’s the reason for collectd being that outdated…