CPU Usage Report Graph not updating

Status
Not open for further replies.

Alpinesun

Cadet
Joined
Mar 5, 2018
Messages
5
Hi all,

I updated some hardware today in my NAS (New Mobo/CPU/Network adapter) and after the reboot some of my reporting graphs stopped working. After some reading on the forums I went to System>System Datasets and disabled both Syslog and reporting database. I rebooted the box, re-enabled them and everyone came back apart from the CPU Usage graph. Does anyone have any ideas why this has happened and how to correct it?

Using version FreeNAS-11.1-U2

Regards and thanks,

Col
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
I have never had reliable graphing in FreeNAS. try the following:

/usr/local/etc/rc.d/collectd stop && rm -rf /var/db/collectd/rrd/localhost/* && rm /data/rrd_dir.tar.bz2 && /usr/local/etc/rc.d/collectd start && python /root/graph.py

/usr/local/etc/rc.d/collectd stop
stops the collectd damon

rm -rf /var/db/collectd/rrd/localhost/*
deletes the stale RRD logs

rm /data/rrd_dir.tar.bz2
deletes old logs

/usr/local/etc/rc.d/collectd start && python /root/graph.py
restarts logging (collectd) and the graphing script

Note this is from an older version of freenas but should still apply.
 

Alpinesun

Cadet
Joined
Mar 5, 2018
Messages
5
I have never had reliable graphing in FreeNAS. try the following:

/usr/local/etc/rc.d/collectd stop && rm -rf /var/db/collectd/rrd/localhost/* && rm /data/rrd_dir.tar.bz2 && /usr/local/etc/rc.d/collectd start && python /root/graph.py

/usr/local/etc/rc.d/collectd stop
stops the collectd damon

rm -rf /var/db/collectd/rrd/localhost/*
deletes the stale RRD logs

rm /data/rrd_dir.tar.bz2
deletes old logs

/usr/local/etc/rc.d/collectd start && python /root/graph.py
restarts logging (collectd) and the graphing script

Note this is from an older version of freenas but should still apply.
Thanks for the quick reply :)

So strangely went to bed and woke up this morning and all is well. No idea what changed but the graph is now updating :-/
 
Status
Not open for further replies.
Top