CentOS7にmuninをインストールしてみました。

(1)muninとmunin-nodeをインストール
   #  yum --enablerepo=epel -y install munin munin-node

(2)muniサーバの設定
  #vi /etc/munin/munin.conf
  98行目を自ホストに変更

  #vi /etc/httpd/conf.d/muni.conf

  16行目以降に追加(アクセス制限)
  -------
  Order Deny,Allow
  Deny from all
  Allow from 127.0.0.1 10.0.0.0/24
  -----

  httpサーバの起動
  #  systemctl restart httpd

  アクセスパスワード設定
  #  htpasswd -c /etc/munin/munin-htpasswd cent

(3)munin-nodeの設定
  #vi /etc/munin/munin-node.conf
  host_nameの設定

  #sysytemctl start munn-node



コメント

人気の投稿