NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
glem
May 22, 2013Aspirant
Easy fix fan/temp OS6 issues on x86 legacy #no support
>> EDIT - 2014-04-12 << Before to hack your system, update first to 6.1.7. Built-in fancontrol support is there! 6.1.7 has been released: http://www.readynas.com/forum/viewtopic.php?f=1&t=76000 ...
Iridabike
Jul 01, 2013Aspirant
You should see some data in the graph although I suspect it will not be a two straight lines at 25 and 50 as readynasd is also writing to the file every minute with some false temperatures.
If you are now seeing some data in the graph then the problem may be your script. Try running your script from the command line a few times and check that it logs something.
When you have it logging something by itself you will need to fix the problem readynasd corrupting your data. I have patched the readynasd elf to update a copy of the file rather than corrupt the data. To do this you need a hex editor to mod readynasd. Look for this text in the file:
/usr/bin/rrdtool update /run/readynasd/stats/temperature_int_deg.rrd N:%lld:%lld
.
and change it to something like:
/usr/bin/rrdtool update /run/readynasd/stats/temperature_int_deg.bak N:%lld:%lld
Note there are similar lines in the file but only one matches exactly
At startup I use another script to copy the .rrd to .bak just to give readynasd something to write to. It needs to be done at every startup as the files in this folder are deleted.
You may want to backup your readynasd first just incase something goes wrong. Also please be aware this could mess things up if you get things wrong so please only do this if you are confident and are happy to take the risk.
If you are now seeing some data in the graph then the problem may be your script. Try running your script from the command line a few times and check that it logs something.
When you have it logging something by itself you will need to fix the problem readynasd corrupting your data. I have patched the readynasd elf to update a copy of the file rather than corrupt the data. To do this you need a hex editor to mod readynasd. Look for this text in the file:
/usr/bin/rrdtool update /run/readynasd/stats/temperature_int_deg.rrd N:%lld:%lld
.
and change it to something like:
/usr/bin/rrdtool update /run/readynasd/stats/temperature_int_deg.bak N:%lld:%lld
Note there are similar lines in the file but only one matches exactly
At startup I use another script to copy the .rrd to .bak just to give readynasd something to write to. It needs to be done at every startup as the files in this folder are deleted.
You may want to backup your readynasd first just incase something goes wrong. Also please be aware this could mess things up if you get things wrong so please only do this if you are confident and are happy to take the risk.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!