snmp scripts

This commit is contained in:
2015-12-14 22:17:43 +01:00
parent 782ea08f44
commit 0db0978c37
2 changed files with 24 additions and 0 deletions

8
monitor/snmp-cpu-temp Executable file
View File

@ -0,0 +1,8 @@
#!/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