A hardware monitor daemon sample that monitors temperature.
* The following information is for building and installing from source.
Please refer to the following contents when you install separately.
$ cd (cothermald directory)
$ make
→ ./cothermald, ./cothermald.o
$ make install
$ make service_start
$ make service_stop
$ make uninstall
note
cohwmond.config
# cohwmond settings # limited 128/line # ----- ----- ----- ----- ----- # temperature thresholds # Set a two-step upper limit. (th1 < th2) # range [0 - 120] # 0 : disable # 1-120 : enable # ----- ----- ----- ----- ----- # CPUTEMP_th1=80 # CPUTEMP_th2=85 # MBTEMP_th1=70 # MBTEMP_th2=75 # ----- ----- ----- ----- ----- #interval 2000 - 60000(msec.) # ----- ----- ----- ----- ----- Interval=2000 # ----- ----- ----- ----- ----- # syslog priority # set 0 ... emerg # 1 ... alart # 2 ... crit # 3 ... err # 4 ... warn # 5 ... notice # 6 ... info # 7 ... debug # ----- ----- ----- ----- ----- log_cputemp_th1=7 log_cputemp_th2=7 log_mbtemp_th1=7 log_mbtemp_th2=7 # ----- ----- ----- ----- ----- # alarm action # # ex.) # CPUTEMP_th1_Alarm=/usr/sbin/shutdown -h +10 "CPU temperature threshold 1 alarm!" # # ----- ----- ----- ----- ----- CPUTEMP_th1_Alarm= CPUTEMP_th2_Alarm= MBTEMP_th1_Alarm= MBTEMP_th2_Alarm=