Maverickcdn
Senior Member
Hello all
Since there seems to be wildly varying idle temps for the 86U specifically depending on firmware, thought Id help out with the monitoring. And something for those who just cant get enough stats in their logs.
Should be compatible with RT-AC86U, RT-AX86U, RT-AX88U (only tested on 86U as of posting)
This is alpha as its only developer (me) tested, if feedback is bug free and positive Ill look at adding more compatible models
To download, scripts must be enabled, from an SSH terminal, copy/paste
To start polling the CPU Temperature and begin logging
To manually log currently polled temps
Default install will logonce per day every 4 hours with 15s 5s CPU temperature polling. Edit the variables within tempmon.sh to suit your desires. (edit. 4 times per/day is less spammy than hourly but better averages than 1 day logging)
Polling monitor does not survive reboots, if you wish to have script run on reboot, call this script with the start polling command from a services-start script
All time High/Low CPU temps do not survive reboots, they're meant to reflect uptime high/low
Try not to set low poll rates (eg 2sec) with long log periods (eg days) polled temps are saved to /tmp (ram) and unsure how long it would take to run the logging
This is my first public script, please be gentle. Ha
Please comment if you find it useful, and Ill do my best to add features if warranted, and adjust based on input
And for those wondering, yes my wicens (wan ip change) script is still coming... this is my trial run with git
Github
Happy routing.
V1.01 March 21 - 2021.... added more logging output, monitor uptime, running sh tempmon.sh will now show all saved values instead of having to force logging. Included avg of all recorded averages
(use nano and edit these lines in the file for log_interval log_interval_unit and poll_freq)
And yes those temps are my 86U (thermal compound is breaking in now)
New output for 1.01
Since there seems to be wildly varying idle temps for the 86U specifically depending on firmware, thought Id help out with the monitoring. And something for those who just cant get enough stats in their logs.
Should be compatible with RT-AC86U, RT-AX86U, RT-AX88U (only tested on 86U as of posting)
This is alpha as its only developer (me) tested, if feedback is bug free and positive Ill look at adding more compatible models
To download, scripts must be enabled, from an SSH terminal, copy/paste
Code:
curl --retry 3 "https://raw.githubusercontent.com/maverickcdn/tempmon/master/tempmon.sh" -o "/jffs/scripts/tempmon.sh" && chmod a+rx "/jffs/scripts/tempmon.sh"
To start polling the CPU Temperature and begin logging
Code:
sh /jffs/scripts/tempmon.sh
Code:
sh /jffs/scripts/tempmon.sh logging
Default install will log
Polling monitor does not survive reboots, if you wish to have script run on reboot, call this script with the start polling command from a services-start script
All time High/Low CPU temps do not survive reboots, they're meant to reflect uptime high/low
Try not to set low poll rates (eg 2sec) with long log periods (eg days) polled temps are saved to /tmp (ram) and unsure how long it would take to run the logging
This is my first public script, please be gentle. Ha
Please comment if you find it useful, and Ill do my best to add features if warranted, and adjust based on input
And for those wondering, yes my wicens (wan ip change) script is still coming... this is my trial run with git
Github
Happy routing.
V1.01 March 21 - 2021.... added more logging output, monitor uptime, running sh tempmon.sh will now show all saved values instead of having to force logging. Included avg of all recorded averages
(use nano and edit these lines in the file for log_interval log_interval_unit and poll_freq)
And yes those temps are my 86U (thermal compound is breaking in now)
New output for 1.01
Last edited: