科学の箱

科学・IT・登山の話題

IT

muninのインストールと初期設定

投稿日:

インストール

yum経由でインストールする。epelを有効にしておく。

yum --enablerepo=epel install munin

ノードもインストールしておく。

yum --enablerepo=epel install munin-node

下記のconflictエラーが出る場合がある。

Transaction Check Error:
  file /usr/share/man/man3/XML::SAX::Base.3pm.gz conflicts between attempted installs of perl-XML-SAX-0.96-7.el6.noarch and perl-XML-SAX-Base-1.04-1.el6.rf.noarch
  file /usr/share/man/man3/XML::SAX::Exception.3pm.gz conflicts between attempted installs of perl-XML-SAX-0.96-7.el6.noarch and perl-XML-SAX-Base-1.04-1.el6.rf.noarch

先にモジュールをインストールしておく。

yum install perl-XML-SAX-0.96-7.el6.noarch

munin-nodeを自動起動する。

# /sbin/chkconfig munin-node on

munin-nodeを起動する。

# /sbin/service munin-node start

muninのBasic認証を設定する

htpasswd -c /etc/munin/munin-htpasswd munin
New password:
Re-type new password:
Adding password for user munin

httpdを再起動する

/etc/init.d/httpd restart

5分ほど待つか、下記のコマンドを実行する

sudo -u munin /usr/bin/munin-cron

muninにアクセスする。

http://IP Address/munin

メタ情報

inarticle



メタ情報

inarticle



-IT
-

執筆者:


comment

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

関連記事

no image

gitの使い方

git init git add \*.java git status -s or git status git commit -m “initial commit” git …

no image

Terminal Server License Managerを使っているときのトラブル対応

ライセンスにトラブルが起きたときの対応手順 Licensing Diagnosis: Problems and Resolutions W2k8 R2: Administrator on RDSH g …

no image

chefをWindowsにインストールしてVagrantでHello Worldを実行するまでの手順

Chef ChefをWindowsへインストールするときの手順はこちらで公開されている。今回のインストールはこのページを参考にして進めてみた。 こちらからChefのインストーラをダウンロードする。20 …

no image

VMWare ESXiで管理インタフェースに接続できない時の対応

esxi起動時に管理インタフェースにうまく接続できなかった。 コンソールをみるとステータス画面が表示されているのでesxiは正しく起動されている。vsphere clientから接続をすると、接続エラ …

no image

muninによるWindowsの監視

muninでWindowsの監視をする。方法としては2通りあり、SNMPかWindows用のプラグインを利用する。 今回はWindows用のプラグインであるmunin-node-win32を使ってみる …

2014年2月
« 1月   3月 »
 12
3456789
10111213141516
17181920212223
2425262728  

side bar top



アーカイブ

カテゴリー