Created
December 12, 2016 14:35
-
-
Save 0tofu/423d4db3a66268493d77e1e50c8ef506 to your computer and use it in GitHub Desktop.
RT-AC68U temp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[plugin.metrics.system] | |
command = ''' | |
echo -e "system.tempertures.cpu\t$(cat /proc/dmu/temperature | sed -e 's/[^0-9]//g')\t$(date -u +%s)\n\ | |
system.tempertures.2_4GHz\t$(wl -i eth1 phy_tempsense | awk '{print $1 / 2 + 20}')\t$(date -u +%s)\n\ | |
system.tempertures.5GHz\t$(wl -i eth2 phy_tempsense | awk '{print $1 / 2 + 20}')\t$(date -u +%s)" | |
''' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment