ハードウェアモニターデーモンサンプル

温度とFAN回転数を監視するハードウェアモニターデーモンのサンプルです。
* 下記、記載のインストール手順などは、ソースからのビルドインストール時のものです。

インストール

個別にインストール処理を行う場合は下記の内容を参考に行ってください。

アンインストール

その他

note

cohwmond.config 初期値

■ 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

  # ----- ----- ----- ----- -----
  # fan-rpm thresholds
  # Set a two-step lower limit. (th1 > th2)
  # range [0 - 10000]
  #   0       : disable
  #   1-10000 : enable
  # ----- ----- ----- ----- -----

  # SYSFAN_th1=700
  # SYSFAN_th2=600
  # SYSFAN2_th1=700
  # SYSFAN2_th2=600
  # CPUFAN_th1=700
  # CPUFAN_th2=600

  # ----- ----- ----- ----- -----
  #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
  log_sysfan_th1=7
  log_sysfan_th2=7
  log_sysfan2_th1=7
  log_sysfan2_th2=7
  log_cpufan_th1=7
  log_cpufan_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=
  SYSFAN_th1_Alarm=
  SYSFAN_th2_Alarm=
  SYSFAN2_th1_Alarm=
  SYSFAN2_th2_Alarm=
  CPUFAN_th1_Alarm=
  CPUFAN_th2_Alarm=