Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank Munin MySQLの監視のためのプラグインを修正しない、または空白のグラフ表示

Munin 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

  1. 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へのパスを返す必要があります。

  2. 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.cnf

    Ensure 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のパスワードが含まれています。

  3. Then restart Munin service:次にMuninサービスを再起動:

    /etc/init.d/munin-node restartは/ etc / init.d / muninノードを再起動

  4. 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 私のデジタルライフフォーラム .



5 Responses to “Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank” Munin MySQLの監視プラグインのグラフ"を修正するための5つの応答しない、または"空白の表示

  1. tri msトリミシシッピ
    August 29th, 2007 02:32 2007年8月29日02:32
    1

    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です

  2. mahmoudマフムード
    September 24th, 2007 23:23 9月24日、 2007 23:23
    2

    thank you for this kind article.このような資料をいただき、ありがとうございます。

    YET, /root/.my.cnf is only a shortcut.しかし、 /ルート/ .my.cnfだけのショートカットです。

    am lost here ?ここに失われたのですか?

  3. admin管理
    September 25th, 2007 01:30 9月25日2007 01:30
    3

    Why not try it out and let us know if it works?これが成功すればなぜそれをしようとお知らせを知っているか?

  4. Pierre Labrieピエールラブリエ
    October 10th, 2007 22:18 10月、第10回2007 22:18
    4

    It works fine in my environment without cPanel Control Panel.私の環境では立派なcPanelコントロールパネルなしで動作します。 I had the same problem on a machine and your procedure worked.私はマシン上で、同じ問題を抱えていたあなたの手順を働いた。

  5. tomekトメク
    January 25th, 2008 08:40 1月25日、 2008年08:40
    5

    sweetness.甘さ。

    now if you could only post the same for apache今しかない場合は、 Apacheで同じポスト可能性がある ; )

    thx lots, 『 THX多く、

    tomek.トメク。

Leave a Replyは、返信のままに

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> これらのタグ :の<a href=""使用することができますtitle=""> <abbr title=""> <acronym title=""> <b>ダウンロード<blockquote cite=""> <cite>の<code> <デル日時= " " >の<em> <i> <q cite=""> <strike> <strong>

Subscribe without commentingチャンネル登録コメントなし


Custom Search

New Articles新しい記事

Incoming Search Terms for the Article着信は、文書の検索利用規約

munin mysql munin mysqlの - - munin mysql plugin munin mysqlのプラグイン - - munin plugins muninのプラグイン - - mysql munin mysqlのmunin - - whm mysql munin blank whmのmysql munin空白 - - munin mysql plugin configuration munin mysqlのプラグインの設定 - - munin config mysql munin mysqlの設定 - - freebsd munin FreeBSDのmunin - - munin mysql slow queries munin mysqlの遅いクエリ - - munin mysql problems munin mysqlの問題 - - munin-node configuration mysql path muninノード構成mysqlのパス - - munin mysql database mysqlデータベースmunin - - munin plugins install muninのプラグインをインストールする - - munin mysqlopts munin mysqlopts - - env.mysqladmin in /etc/munin/plugin-conf.d/munin-node/ etc / munin /プラグイン防止するにenv.mysqladmin / muninノード - - munin not showing stats muninの統計情報が表示されない - - munin mysql config munin MySQLの設定 - - munin plugins for mysql muninのプラグインのためのmysql - - munin mysql plugin download munin mysqlのプラグインをダウンロード - - munin not show any change in mysql munin内の任意の変更が表示されないのmysql - - munin page blank 空白のページmunin - - munin plugin mysql muninプラグインのmysql - - mysqladmin not showing mysqladminは表示されない - - cpanel munin mysql fix cpanel munin mysqlの修正 - - munin mysql works local 作品ローカルのmysql munin - - munin empty graphs munin空のグラフ - - mysql monitoring MySQLの監視 - - saying no audio device installed when i plugin my monitor オーディオデバイスはプラグインをインストールしたときに私は自分のモニター - - env.mysqladmin in env.mysqladmin in /etc/munin/plugin-conf.d/munin-node/ etc / munin /プラグインenv.mysqladmin防止するのにenv.mysqladmin / muninノード - - graphs for mysqlグラフのmysql - - munin no graph グラフは munin - - munin empty graph munin空のグラフ - - munin plugin not show muninプラグインが表示されない - - munin email address muninメールアドレス - - whm munin mysql whm munin mysqlの - - munin graphs not working グラフmunin動作していない - - munin whm munin whm - - mysql tools to monitor slow queries windows mysqlのクエリウィンドウを監視するツールを遅らせる - - /etc/munin/plugin-conf.d/munin-node は/ etc / munin /プラグイン防止する/ muninノード - - In my email is not showing graphs 自分のメールでグラフ表示されていません - - munin-node mysql muninノードのmysql - - munin configure mysql_queries munin構成mysql_queries - - mysql graph monitor user account mysqlのグラフを監視するユーザーアカウント - - mysql monitoring tools MySQLの監視ツール - - mysql admin group wheel MySQLの管理者グループの輪 - - perl env.mysqlopts perlのenv.mysqlopts - - $ENV{mysqlopts} $ ENVバックカラー( mysqlopts ) - - munin plugin muninプラグイン - - blank graphs 空白のグラフ - - install munin mysql munin MySQLのインストール - -