Create a gist now

Instantly share code, notes, and snippets.

RT-AC68U temp
[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