LoginSignup
31
29

More than 5 years have passed since last update.

メモ:Raspberry PiにシステムモニタツールMonitorixをインストールして温度とか監視する

Last updated at Posted at 2015-07-13

夏になったので、システムモニタツール Monitorix を入れてRaspberry Piの温度とかを監視してみる。

参考:Monitorixで簡単モニタリング

Raspbianを使っているので、インストール手順はDebianのものを参考に、手動で.debを入れる方法を選択した。

% sudo apt-get update
% sudo apt-get install rrdtool perl libwww-perl libmailtools-perl libmime-lite-perl librrds-perl libdbi-perl libxml-simple-perl libhttp-server-simple-perl libconfig-general-perl libio-socket-ssl-perl
% sudo dpkg -i monitorix*.deb
% sudo apt-get -f install

Raspberry Piの各ペリフェラルコアクロック、電圧、温度表示をサポートしているので、/etc/monitorix/monitorix.confを書き換えて有効にする。

/etc/monitorix/monitorix.conf
# Graphs (de)activation
# -----------------------------------------------------------------------------
<graph_enable>
        (中略)
        raspberrypi     = y
        (中略)
</graph_enable>

書き換えた後、

% sudo service monitorix restart

して、様子見。

Raspberry Pi sensor statistics

動き出した。59度…わりと熱いんだな…。

一日放置した結果.jpeg

一日放置した結果。エアコンをつけた時間帯でわかりやすい変化。

31
29
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
31
29