科学の箱

科学・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

Printer MIBのメモ

エラーコードの取得 # snmpwalk -v1  -c public nn.nn.nn.nn .1.3.6.1.2.1.25.3.5 HOST-RESOURCES-MIB::hrPrinterSta …

no image

vagrant 1.6.4でsshインタフェースにprivate_networkを指定するとエラーになる

vagrantではprivate networkを指定して、sshからアクセスできる。 vagrant1.6.4 Windows版ではprivate networkを指定するとなぜかエラーがでる。 c …

no image

midiで利用できるinstrumentsの一覧表

1 : Piano 1 2 : Piano 2 3 : Piano 3 4 : Honky-tonk 5 : E.Piano 1 6 : E.Piano 2 7 : Harpsichord 8 : C …

no image

Outlookのデスクトップ通知の場所を変更する

整理ハックでIME言語バーを画面の上に置くというアイデアがあった。自分はslickrunというコマンドツールを使っているがこれと、IMEを画面に上に置いたらずいぶんすっきりした。今まではタスクバーの邪 …

no image

SQL Serverでreportingの開発をする方法

SQL Server 2014とSSRSをインストールしてからアプリケーションを起動したところ下記のエラーが出た。   必要なモジュールはすべてインストールしているので特に問題はなさそう。イ …

2014年2月
月 火 水 木 金 土 日
« 1月   3月 »
 12
3456789
10111213141516
17181920212223
2425262728  

side bar top



アーカイブ

カテゴリー