scripts/monitor/snmp-cpu-temp
2015-12-14 22:17:43 +01:00

9 lines
125 B
Bash
Executable File

#!/bin/sh
if [ "$1" = "-g" ]
then
echo .1.3.6.1.2.1.25.1.8
echo gauge
cat /sys/class/thermal/thermal_zone0/temp
fi
exit 0