https://github.com/007revad/synology_cpu_temperature
Get Synology NAS CPU temperature via SSH
https://github.com/007revad/synology_cpu_temperature
diskstation rackstation synology synology-nas
Last synced: 5 months ago
JSON representation
Get Synology NAS CPU temperature via SSH
- Host: GitHub
- URL: https://github.com/007revad/synology_cpu_temperature
- Owner: 007revad
- License: mit
- Created: 2024-05-10T11:31:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-22T20:06:50.000Z (7 months ago)
- Last Synced: 2025-05-04T17:47:24.912Z (5 months ago)
- Topics: diskstation, rackstation, synology, synology-nas
- Language: Shell
- Homepage:
- Size: 265 KB
- Stars: 22
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.txt
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Synology CPU temperature
![]()
![]()
[](https://www.paypal.com/paypalme/007revad)
[](https://github.com/sponsors/007revad)
[](https://user-badge.committers.top/australia/007revad)### Description
Get Synology NAS CPU temperature via SSH
- In DSM 7 the CPU temperature is shown as "Thermal status" in "Control Panel > Info".
- Active Insight, and DSM 6, refer to CPU temperature as "System temperature".Works for Intel, AMD and Marvell CPUs in DSM 7 and DSM 6. Also works for Synology models with more than 1 CPU.
- v2.2.5 and later may work for Realtek, Annapurna, STM, Mindspeed and Freescale CPUs.
- To report any problems [create an issue](https://github.com/007revad/Synology_CPU_temperature/issues) and I'll add support for your CPU.If you schedule the script in Task Scheduler you should enable logging and set the log_directory in the included syno_cpu_temp.conf
### Download the script
1. Download the latest version _Source code (zip)_ from https://github.com/007revad/Synology_CPU_temperature/releases
2. Save the download zip file to a folder on the Synology.
3. Unzip the zip file.### How to run the script via SSH
#### You can run the script via SSH
[How to enable SSH and login to DSM via SSH](https://kb.synology.com/en-global/DSM/tutorial/How_to_login_to_DSM_with_root_permission_via_SSH_Telnet)
```YAML
/volume1/scripts/syno_cpu_temp.sh
```**Note:** Replace /volume1/scripts/ with the path to where the script is located.
#### Or you can schedule the script in Synology's Task Scheduler
1. See How to schedule a script in Synology Task Scheduler
2. Enable log and set log_directory in the included syno_cpu_temp.conf
- syno_cpu_temp.conf needs to be in the same folder as syno_cpu_temp.sh### Enabling logging
To enable logging edit the included syno_cpu_temp.conf
```YAML
Log=yes
Log_Directory="/volume1/backups/diskstation/logs"
```**Note:** Replace /volume1/backups/diskstation/logs with the path to where you want the log saved.
### Troubleshooting
If the script won't run check the following:
1. If the path to the script contains any spaces you need to enclose the path/scriptname in double quotes:
```YAML
"/volume1/my scripts/syno_cpu_temp.sh"
```
2. Make sure you unpacked the zip or rar file that you downloaded and are trying to run the syno_cpu_temp.sh file.
3. Set the syno_cpu_temp.sh file as executable:
```YAML
sudo chmod +x "/volume1/scripts/syno_cpu_temp.sh"
```-----
### ScreenshotsAMD Ryzen CPU
Intel 4 core CPU
Intel 2 core CPU
AMD Ryzen CPU log
Intel 4 core CPU log
Intel 2 core CPU log