BandwithD resets stats data after restart/reboot
This was a funny one:
I have installed the Bandwithd monitoring software on a machine. I noticed that the monitoring data kept being erased between start/stop or reboot. There actually are two configuration settings which are false by default that allows BandwidthD to keep it’s data across restart’s (or system reboots) and those are
(in /etc/bandwidthd.conf)
#Log data to cdf file htdocs/log.cdf
output_cdf true
#Read back the cdf file on startup
recover_cdf true
(they are false by default, you need to set them true like above)