D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-320L => Topic started by: opus42 on September 15, 2016, 12:49:35 AM

Title: HowTo log system data like temperature by script?
Post by: opus42 on September 15, 2016, 12:49:35 AM
Hi,
I'd like to log System data (like temperature, fan Speed, cpu usage..), does anybody have a solution for that?
Title: Re: HowTo log system data like temperature by script?
Post by: ivan on September 17, 2016, 02:47:48 AM
How good is your linux/arm low lever programming?

As far as I know no one has produced an addon to do that.  Some of the information is available but may not be as useful as you think (actual fan speed is not recorded only the fact that the voltage to the fan has changed to give the high, med, low speeds for example).
Title: Re: HowTo log system data like temperature by script?
Post by: opus42 on September 19, 2016, 11:07:30 PM
My main interest is the temperature, that one is already shown on the page after logging in.
I'm having problems setting up the cURL commands to Login. 

[Edit]
If past the login, a call to "http://myNAS_IP/cgi-bin/status_mgr.cgi?cmd=cgi_get_temperature" will return the needed XML data. However, I can't the login!

Title: Re: HowTo log system data like temperature by script?
Post by: Fabiano Pinheiro on October 26, 2016, 11:57:54 AM
look for the sensorlog
http://dlink.vtverdohleb.org.ua/Add-On/index.php
Title: Re: HowTo log system data like temperature by script?
Post by: opus42 on October 26, 2016, 01:00:20 PM
Thanks for the hint, will look into that, or better those two addons.