|
|
@ -1,7 +1,9 @@ |
|
|
|
# You can configure here the sensors |
|
|
|
# You can configure here the sensors |
|
|
|
# Format is <sensors_name>=<command>!<high threshold>!<low threshold> |
|
|
|
# Format is <sensors_name>=<command>!<high threshold>!<low threshold>!<sensor type> |
|
|
|
# An alert is triggerd if the temperature is above the high threshold |
|
|
|
# An alert is triggerd if the temperature is above the high threshold |
|
|
|
# The alert is cleared if the temperature is less than low threshold |
|
|
|
# The alert is cleared if the temperature is less than low threshold |
|
|
|
|
|
|
|
# the last field (sensor type) is optional and defaults to temp |
|
|
|
|
|
|
|
# It's used if you want to monitor other sensors, like fan, or power |
|
|
|
# Example: |
|
|
|
# Example: |
|
|
|
# |
|
|
|
# |
|
|
|
# |
|
|
|
# |
|
|
@ -9,6 +11,9 @@ |
|
|
|
# cpu0 = /usr/bin/ipmitool sdr get 'P1 Therm Margin' | grep 'Sensor Reading' | cut -d':' -f 2 | awk '{print$1}'!-30!-39 |
|
|
|
# cpu0 = /usr/bin/ipmitool sdr get 'P1 Therm Margin' | grep 'Sensor Reading' | cut -d':' -f 2 | awk '{print$1}'!-30!-39 |
|
|
|
# mb = /usr/bin/ipmitool sdr get 'Baseboard Temp' | grep 'Sensor Reading' | cut -d':' -f 2 | awk '{print$1}'!50!45 |
|
|
|
# mb = /usr/bin/ipmitool sdr get 'Baseboard Temp' | grep 'Sensor Reading' | cut -d':' -f 2 | awk '{print$1}'!50!45 |
|
|
|
# |
|
|
|
# |
|
|
|
|
|
|
|
# fan1 = fan1a=/usr/bin/ipmitool sdr get 'Fan1A RPM' | grep 'Sensor Reading' | cut -d':' -f 2 | awk '{print$1}'!0!0!fan |
|
|
|
|
|
|
|
# pwr1=/usr/bin/ipmitool sdr get 'Pwr Consumption' | grep 'Sensor Reading' | cut -d':' -f 2 | awk '{print$1}'!0!0!power |
|
|
|
|
|
|
|
# |
|
|
|
## Examples with smartctl |
|
|
|
## Examples with smartctl |
|
|
|
# sda = /usr/sbin/smartctl -a /dev/sda | grep Temperature_Celsius | awk '{print $10}'!45!40 |
|
|
|
# sda = /usr/sbin/smartctl -a /dev/sda | grep Temperature_Celsius | awk '{print $10}'!45!40 |
|
|
|
# sdb = /usr/sbin/smartctl -a /dev/sdb | grep Temperature_Celsius | awk '{print $10}'!45!50 |
|
|
|
# sdb = /usr/sbin/smartctl -a /dev/sdb | grep Temperature_Celsius | awk '{print $10}'!45!50 |
|
|
|