Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank Munin MySQLの監視のためのプラグインを修正しない、または空白のグラフ表示
Munin is a monitoring tool used to survey and monitor the performance of computers, networks, SANs, applications, databases, weather measurements and other parameters. Muninの監視ツールを調査し、コンピュータ、ネットワーク、 SANを、アプリケーション、データベース、天気予報の測定およびその他のパラメータのパフォーマンスモニタを使用している。 Munin remembers and records information it captured and presents them in graphs through a web interface. Muninを記憶してキャプチャとグラフで、 Webインターフェイスを介してのプレゼント情報が記録されます。 cPanel, through WebHost Manager (WHM) has added the Munin Service Monitor as easily installed plugin to monitor the web host and check the capacity of resources available. cPanel 、ウェブホストマネージャ( WHM )を通じて簡単にインストールされてプラグインとしては、 Webホストを監視し、リソースを利用できるの容量をチェックしてMuninサービスのモニタを追加した。
Easily install,簡単にインストールする Munin version 1.24 works immediately once webmaster installs it on the server through cPanel/WHM, and start checking and capturing various resources’ usage reading, including MySQL nodes such as MySQL throughputs, MySQL queries, MySQL Slow Queries, and MySQL threads.バージョン1.24の作品すぐに一度ウェブマスターcPanelを介してサーバーにインストール/ WHM 、スループットをチェックするとMySQLは、 MySQLのクエリなどのMySQLのノードを含む様々なリソースの使用状況を読むと、キャプチャを開始すると、 MySQLのスロークエリ、およびMySQLのスレッド。 However, if you restart the server, Munin will fail to monitor MySQL nodes.ただし、サーバーを再起動すると、 Munin MySQLのノードの監視に失敗します。 No information is capture, and the graphs is no longer updated with statistics and appears blank.ない情報、およびグラフをキャプチャしておりませんの統計情報が更新されると、空白が表示されます。 Sometimes, the MySQL graphs blank symptom may happen even when web server is not rebooted.場合によっては、 MySQLのグラフが空白の症状のWebサーバーを再起動されていない場合でも起こる可能性があります。
The error is due to a bug in a Perl library Munin uses which causes $PATH variable to be lost, and then causes the plugin cannot find the mysqladmin program which it needs to retrieve the numbers to populate in the graphs.このエラーMunin $ PATH変数が失われる原因を使用しているPerlのライブラリのバグになっているとし、それをグラフにするためには、番号を取得するために必要なmysqladminプログラムを見つけることができません、プラグインの原因となる。 Uninstall and reinstall Munin Service Monitor may make it works again, however, a more permanent solution is to hardcode the path of the program, which will fix the problem.をアンインストールして再インストールMuninサービスモニタが再び動作することができるが、より恒久的な解決は、問題を修正するプログラムのパスをハードコードすることです。 Here the guide on how to specify the path to mysqladmin to Munin. Muninする方法についてはmysqladminへのパスを指定するためにここでは、ガイドです。
Fix for Munin installed by cPanel/WHM 修正プログラムがインストールされてMunin cPanel / WHM
- Determine where is mysqladmin program located with the one of the following command:決定は、 mysqladminプログラムは、以下のコマンドの1つに位置しています:
which mysqladminこれはmysqladmin
type mysqladminタイプはmysqladmin
locate mysqladminはmysqladminを見つけるIf should return a path to mysqladmin which looks similar or the same to /usr/bin/mysqladmin.または同じような場合は、 / mysqladminは/ usr / binに見えるはmysqladminへのパスを返す必要があります。
- Edit the /etc/munin/plugin-conf.d/cpanel.conf Munin configuration file, and modify the [mysql*] to look like below:は、 / etc / munin /プラグイン防止する/ cpanel.conf Muninの設定ファイルを編集し、 [ * mysqlの]以下のように変更:
=
[mysql*]
user root
group wheel
env.mysqladmin /usr/bin/mysqladmin
env.mysqlopts –defaults-extra-file=/root/.my.cnf
[mysql*]
user root
group wheel
env.mysqladmin /usr/bin/mysqladmin
env.mysqlopts –defaults-extra-file=/root/.my.cnfEnsure the env.mysqladmin value is path returned by step above. env.mysqladmin値ですパスは、上記の手順によって返されることを確認します。 Also ensure that /root/.my.cnf contains correct root password to the MySQL databases.また、 /ルート/ .my.cnfは、 MySQLデータベースへの正しいrootのパスワードが含まれています。
- Then restart Munin service:次にMuninサービスを再起動:
/etc/init.d/munin-node restartは/ etc / init.d / muninノードを再起動
- Wait a while for MySQL statistics to be gathered, and check the graphs again. MySQLの統計情報を収集するために、しばらく待ってから、もう一度グラフを確認してください。
Fix for Host or Server without cPanel Control Panel 修正プログラムをホストまたはサーバーをcPanelコントロールパネルなし
Simply add the “env.mysqladmin /usr/bin/mysqladmin” (ensure that the path is correct according to your system) to the /etc/munin/plugin-conf.d/munin-node file will do the trick, according to単にを/ usr / bin / mysqladminは" " env.mysqladminを追加する(つまりあなたのシステムによると、パスが正しいこと)は、 / etc / munin /防止するプラグイン/ muninノードのファイルは、トリックを行いますによると、確保する Munin FAQ Muninよくあるご質問 . 。
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要 :これはマシンとして"保証なしにされている"提供されているページを翻訳しています。 Machine translation may be difficult to understand.機械翻訳を理解するのが難しい場合があります。 Please refer toを参照してください original English articleオリジナルの英語の記事 whenever possible.可能な場合。
Share and contribute or get technical support and help at共有と貢献や技術サポートと支援を得る My Digital Life Forums 私のデジタルライフフォーラム . 。
Related Articles関連記事
- Fix Munin Exim Mail Throughput Graph Not Updating Problem修正Munin Eximの元のメールのスループットグラフを更新しない問題
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 3をインストールするWebサーバーはFreeBSD 6.0でApacheの2.2と、 MySQL 5.0およびPHP 5 -パート3
- Seasonality for Mac OS Reviews季節のMac OSレビューのための
- Must Have WordPress Pluginsする必要がありますが、ワードプレスのプラグイン
- Reset the Root Password of MySQL Server MySQLサーバのrootのパスワードをリセット
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 4 WebサーバーをインストールするWindows XPでのApache2 、 PHP5のとMySQL4 -パート4
- Change and Reset MySQL root Password MySQLのrootのパスワードを変更するとリセット
- 3 Column Relaxation WordPress Theme comments-paged.php for Paged-Comments WordPress Plugin 3列リラクゼーションワードプレステーマのコメントを、ページのpaged.php -コメントワードプレスプラグイン
- Change or Set MySQL Long Query Time Value for log-slow-queries変更または時刻値を設定するMySQLの長いクエリのログに遅いためのクエリ
- MySQL Database Performance Tuning Best Practices Video Tutorial MySQLデータベースのパフォーマンスチューニングのベストプラクティスのビデオチュートリアル

































August 29th, 2007 02:32 2007年8月29日02:32
Create a MySQL user with a password that is NOT granted privilege to any DB is safer than point it directly to /root/.my.cnf DBには何の権限が付与されているパスワードを使用してMySQLユーザの作成/ rootでより安全に直接ポイント/ .my.cnfです
September 24th, 2007 23:23 9月24日、 2007 23:23
thank you for this kind article.このような資料をいただき、ありがとうございます。
YET, /root/.my.cnf is only a shortcut.しかし、 /ルート/ .my.cnfだけのショートカットです。
am lost here ?ここに失われたのですか?
September 25th, 2007 01:30 9月25日2007 01:30
Why not try it out and let us know if it works?これが成功すればなぜそれをしようとお知らせを知っているか?
October 10th, 2007 22:18 10月、第10回2007 22:18
It works fine in my environment without cPanel Control Panel.私の環境では立派なcPanelコントロールパネルなしで動作します。 I had the same problem on a machine and your procedure worked.私はマシン上で、同じ問題を抱えていたあなたの手順を働いた。
January 25th, 2008 08:40 1月25日、 2008年08:40
sweetness.甘さ。
now if you could only post the same for apache今しかない場合は、 Apacheで同じポスト可能性がある
thx lots, 『 THX多く、
tomek.トメク。