科学の箱

科学・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 rmを取り消す方法

git rmで間違えて複数のファイルを消去してしまった時の対応方法 git reset HEAD . git checkout . Related posts:chefでssh公開鍵でログインできるよ …

no image

syslogでERS4548のメッセージをキャプチャする。

ERS4548とRiverbed Steelhead間でリンクのフラッピングが発生する。切り替えに200秒以上かかるとIPフォンのウォッチドッグがサーバー不達と判断してPABXサーバーからログオフして …

no image

gitでsshをテストする

ssh -T git@github.com -i .\.ssh\id_rsa_user01 Related posts:gem ssl errorPCMについて知っておくべき最低限のことDellラップ …

no image

PowershellでWindowsイベントを操作する

PowershellはWindows7およびWindows2008R2には標準で実装されている。これを利用してCUIベースでのイベントログの操作が可能になる。 イベントのログ形式は2つに分かれる。Wi …

no image

CognosでMy Folderの内容について一覧を取得する

CognosはすべてのデータをContents Managerと呼ばれるデータベースに保持している。このデータからMy Folderの中身を取得できる。 ただしデータ保持方法が特殊であるために,SQL …

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

side bar top



アーカイブ

カテゴリー