snmp scripts
This commit is contained in:
8
monitor/snmp-cpu-temp
Executable file
8
monitor/snmp-cpu-temp
Executable 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
|
Reference in New Issue
Block a user