ユーザ用ツール

サイト用ツール


サイドバー

Index

はじめてのおつかい






DokuWiki整形記法


PlayGround



serverapps:monitor:munin:muninnode

munin-node

インストール

# pkg install munin-node

設定

/usr/local/etc/munin/munin-node.conf で以下の様にmunin masterからのアクセス可否を設定する

allow ^127\.0\.0\.1$
or
cidr_allow 192.168.1.0/24

/etc/rc.conf

munin_node_enable="YES"

起動

# service munin-node start

監視設定

監視するリソースの設定は、/usr/local/share/munin/pluginsのシンボリックリンクを/usr/local/etc/munin/pluginsに作れば良い。
通常はmunin-node-configure を利用する

設定できるプラグインのリストを表示

# munin-node-configure --suggest

プラグインを有効にするshellコマンドを表示

# munin-node-configure --shell

一気に有効にしちゃう

# /usr/local/sbin/munin-node-configure --shell | sh -x

プラグインを追加したら再起動

# service munin-node restart
serverapps/monitor/munin/muninnode.txt · 最終更新: 2022/05/14 13:03 by hayashi