ZabbixでRaspberry Pi 3のCPU温度を監視
環境
- Raspberry pi 3
- Zabbix 3.4
zabbix_agentd.conf の編集
以下を追加
zabbix_agentd.conf
UserParameter=system.cpu.temperature,cat /sys/class/thermal/thermal_zone0/temp
Zabbix agent を再起動
Zabbixアイテム追加
アイテム
| 項目 | Value |
|---|---|
| 名前 | CPU temperature |
| タイプ | Zabbixエージェント |
| キー | system.cpu.temperature |
| ホストインターフェース | 任意 |
| データ型 | 数値(浮動少数) |
| 単位 | ℃(任意 図ではC) |
| 更新間隔 | 1m (任意) |
保存前処理
| 名前 | パラメータ |
|---|---|
| 乗数 | 0.001 |
結果
1日取ってみましたがいい具合です
環境:ヒートシンクのみ


