Pages

2014年4月5日土曜日

[FreeBSD]10.0設置までの道のり3[munin]

外部の神様がサーバーを監視してくださっているので、今回のサーバーも仲間に入れてもらい、一緒に監視してもらおうと思っています。

そのための準備を。

とりあえずmunin仲間に入れてもらうために、munin-nodeをインストールします。

# pkg install munin-node


(中略 ※必要なモジュールが多数インストールされる)

done.

Cannot 'start' munin_node. Set munin_node_enable to YES in /etc/rc.conf or use 'onestart' instead of 'start'.
 done
********************************************************************
Unless this file already existed, a sample configuration file
has been placed in /usr/local/etc/munin/munin-node.conf.

Please edit it according to your needs.

********************************************************************

The Munin client will *not* be started automatically. To allow it
to start, put this line in /etc/rc.conf:

munin_node_enable="YES"

Then, it will be started on the next boot. If this line is already
present, the client will be started now.  Otherwise, edit
/etc/rc.conf and execute this command:

    /usr/local/etc/rc.d/munin-node start
********************************************************************

For a list of plugins that will probably work run
/usr/local/sbin/munin-node-configure --suggest

If this is a fresh install run
/usr/local/sbin/munin-node-configure --shell | sh -x
to install the plugins automatically

特に問題なく終了。

0 件のコメント: