• November 01, 2024, 05:20:39 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: HowTo log system data like temperature by script?  (Read 3383 times)

opus42

  • Level 1 Member
  • *
  • Posts: 5
HowTo log system data like temperature by script?
« 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?
Logged

ivan

  • Level 8 Member
  • ***
  • Posts: 1480
Re: HowTo log system data like temperature by script?
« Reply #1 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).
Logged

opus42

  • Level 1 Member
  • *
  • Posts: 5
Re: HowTo log system data like temperature by script?
« Reply #2 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!

« Last Edit: September 20, 2016, 10:41:29 AM by opus42 »
Logged

Fabiano Pinheiro

  • Level 2 Member
  • **
  • Posts: 35
Re: HowTo log system data like temperature by script?
« Reply #3 on: October 26, 2016, 11:57:54 AM »

look for the sensorlog
http://dlink.vtverdohleb.org.ua/Add-On/index.php
Logged

opus42

  • Level 1 Member
  • *
  • Posts: 5
Re: HowTo log system data like temperature by script?
« Reply #4 on: October 26, 2016, 01:00:20 PM »

Thanks for the hint, will look into that, or better those two addons.
Logged