Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank Fix for Munin MySQL Monitoring Plugin Grafik Tidak Menampilkan atau Blank

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 adalah sebuah alat pemantauan yang digunakan untuk survei dan memantau kinerja komputer, jaringan, SAN, aplikasi, database, cuaca pengukuran dan parameter lain. Munin remembers and records information it captured and presents them in graphs through a web interface. Munin ingat dan mencatat informasi itu ditangkap dan menyajikan mereka dalam grafik melalui antarmuka 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, melalui webhost Manager (WHM) telah menambahkan Layanan Munin Monitor dengan mudah diinstal plugin untuk memonitor web host dan memeriksa kapasitas sumber daya yang tersedia.

Easily install, Dengan mudah menginstal, Munin 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 versi webmaster bekerja segera setelah menginstalnya di server melalui cPanel / WHM, dan mulai memeriksa dan menyimak berbagai sumber daya 'penggunaan membaca, termasuk node MySQL seperti MySQL throughputs, MySQL queries, MySQL Slow Query, dan MySQL benang. However, if you restart the server, Munin will fail to monitor MySQL nodes. Namun, jika Anda me-restart server, Munin akan gagal untuk memonitor MySQL node. No information is capture, and the graphs is no longer updated with statistics and appears blank. Tidak ada informasi yang menangkap, dan grafik tidak lagi diperbarui dengan statistik dan tampak kosong. Sometimes, the MySQL graphs blank symptom may happen even when web server is not rebooted. Kadang-kadang, grafik MySQL gejala kosong mungkin terjadi bahkan ketika web server tidak reboot.

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. Kesalahan ini disebabkan oleh bug di sebuah perpustakaan Perl Munin menggunakan yang menyebabkan $ PATH variabel yang akan hilang, dan kemudian menyebabkan plugin tidak dapat menemukan program yang mysqladmin perlu mengambil angka-angka untuk mengisi dalam grafik. 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. Uninstall dan menginstal ulang Layanan Munin Monitor mungkin akan bekerja lagi, bagaimanapun, solusi yang lebih permanen adalah dengan jalan hardcode program, yang akan memperbaiki masalah. Here the guide on how to specify the path to mysqladmin to Munin. Sini panduan tentang cara untuk menentukan path ke mysqladmin untuk Munin.

Fix for Munin installed by cPanel/WHM Fix for Munin diinstal oleh cPanel / WHM

  1. Determine where is mysqladmin program located with the one of the following command: Tentukan di mana program mysqladmin terletak dengan salah satu dari perintah berikut:

    which mysqladmin yang mysqladmin
    type mysqladmin ketik mysqladmin
    locate mysqladmin menemukan mysqladmin

    If should return a path to mysqladmin which looks similar or the same to /usr/bin/mysqladmin. Jika harus kembali jalan ke mysqladmin yang terlihat mirip atau sama ke / usr / bin / mysqladmin.

  2. Edit the /etc/munin/plugin-conf.d/cpanel.conf Munin configuration file, and modify the [mysql*] to look like below: Edit / etc / Munin / plugin-conf.d / cpanel.conf Munin file konfigurasi, dan memodifikasi [mysql *] agar terlihat seperti di bawah ini:


    [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. Pastikan nilai env.mysqladmin jalan dikembalikan oleh langkah di atas. Also ensure that /root/.my.cnf contains correct root password to the MySQL databases. Juga memastikan bahwa / root / .my.cnf berisi password root benar ke database MySQL.

  3. Then restart Munin service: Kemudian restart layanan Munin:

    /etc/init.d/munin-node restart / etc / init.d / Munin-node restart

  4. Wait a while for MySQL statistics to be gathered, and check the graphs again. Tunggu beberapa saat untuk MySQL statistik yang akan dikumpulkan, dan periksa grafik lagi.

Fix for Host or Server without cPanel Control Panel Fix untuk Host atau Server tanpa cPanel Control Panel

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 Cukup tambahkan "env.mysqladmin / usr / bin / mysqladmin" (memastikan bahwa jalan yang benar sesuai sistem anda) ke / etc / Munin / plugin-conf.d / Munin-node file akan melakukan trik, menurut Munin FAQ Munin FAQ . .

IMPORTANT : The page is machine translated and provided "as is" without warranty. PENTING: Halaman ini adalah mesin diterjemahkan dan diberikan "sebagaimana adanya" tanpa jaminan. Machine translation may be difficult to understand. Terjemahan mesin mungkin sulit untuk mengerti. Please refer to Silakan merujuk ke original English article artikel asli bahasa Inggris whenever possible. bila memungkinkan.


7 Responses to “Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank” 7 Responses to "Fix for Munin MySQL Monitoring Plugin Grafik Tidak Menampilkan atau Blank"

  1. Sahel Sahel
    July 9th, 2009 14:54 9 Juli 2009 14:54
    7 7

    Didnt work for me .. Didnt work for me .. still no data showing masih tidak ada data yang menunjukkan

  2. Marco Marco
    November 5th, 2008 20:32 November 5, 2008 20:32
    6 6

    hi all, play with mysql monitoring tool. hi semua, bermain dengan alat pemantauan mysql. then look what i have found monyog. kemudian lihat apa yang saya telah menemukan monyog. simply rocks!!! hanya batu!

  3. tomek tomek
    January 25th, 2008 08:40 25 Januari 2008 08:40
    5 5

    sweetness. manis.

    now if you could only post the same for apache sekarang jika Anda hanya bisa memposting sama untuk apache ;)

    thx lots, thx banyak,

    tomek. tomek.

  4. Pierre Labrie Pierre Labrie
    October 10th, 2007 22:18 10 Oktober 2007 22:18
    4 4

    It works fine in my environment without cPanel Control Panel. It works fine di lingkungan saya tanpa cPanel Control Panel. I had the same problem on a machine and your procedure worked. Saya memiliki masalah yang sama pada mesin dan prosedur Anda bekerja.

  5. admin admin
    September 25th, 2007 01:30 25 September 2007 01:30
    3 3

    Why not try it out and let us know if it works? Mengapa tidak mencobanya dan biarkan kami tahu jika bekerja?

  6. mahmoud Mahmoud
    September 24th, 2007 23:23 24 September 2007 23:23
    2 2

    thank you for this kind article. terima kasih untuk artikel semacam ini.

    YET, /root/.my.cnf is only a shortcut. TETAPI, / root / .my.cnf hanya jalan pintas.

    am lost here ? Aku hilang di sini?

  7. tri ms tri ms
    August 29th, 2007 02:32 29 Agustus 2007 02:32
    1 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 Buat user MySQL dengan password yang TIDAK diberikan hak istimewa untuk setiap DB lebih aman daripada titik secara langsung ke / root / .my.cnf

Leave a Reply 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> Anda dapat menggunakan tag ini: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Berlangganan ke fitur komentar telah dinonaktifkan. To receive notification of latest comments posted, subscribe to Untuk menerima pemberitahuan dari komentar terbaru diposting, untuk berlangganan My Digital Life Comments RSS feed My Digital Life Komentar RSS feed or atau register to receive mendaftar untuk menerima new comments in daily email digest. komentar baru di email digest harian.
Custom Search

New Articles Artikel Baru

Incoming Search Terms for the Article Cari Syarat masuk untuk Artikel

munin mysql Munin mysql - -- munin mysql plugin Munin mysql plugin - -- mysql munin mysql Munin - -- munin plugin mysql mysql plugin Munin - -- munin Could not draw graph Munin Tidak dapat menggambar grafik - -- cPanel Munin MySQL cPanel Munin MySQL - -- env.mysqlopts env.mysqlopts - -- cpanel munin cpanel Munin - -- munin mysql config Munin mysql config - -- munin mysql password Munin mysql password - -- munin monitor mysql Munin monitor mysql - -- munin mysql blank mysql Munin kosong - -- munin-node mysql Munin-node mysql - -- munin no graph tidak Munin grafik - -- munin mysql Munin mysql - -- munin apache Munin apache - -- munin mysql stats mysql Munin stats - -- munin mysql slow queries Munin mysql query lambat - -- munin mysql not working mysql Munin tidak bekerja - -- fix munin mysql Munin memperbaiki mysql - -- MUNIN MySQL throughput Munin MySQL throughput - -- mysql not showing in munin mysql tidak terlihat pada Munin - -- all semua - -- munin mysqlopts Munin mysqlopts - -- munin no (could not connect to mysql) Munin tidak ada (tidak bisa koneksi ke mysql) - -- munin disable plugin Munin menonaktifkan plugin - -- no (could not connect to mysql) munin tidak ada (tidak bisa koneksi ke mysql) Munin - -- munin mysql_queries password mysql_queries Munin sandi - -- munin Could not draw graph Munin Tidak dapat menggambar grafik - -- munin could not connect to mysql Munin tidak bisa koneksi ke mysql - -- munin mysql queries Munin mysql queries - -- munin no graphs tidak Munin grafik - -- munin mysql-queries password mysql-query Munin sandi - -- munin mysql configuration Munin konfigurasi mysql - -- munin apache blank Munin apache kosong - -- munin weather plugin cuaca Munin plugin - -- config munin mysql Munin config mysql - -- munin mysql monitoring mysql Munin pemantauan - -- mysql plugin for munin mysql plugin untuk Munin - -- munin + mysql Munin + mysql - -- freebsd munin mysql freebsd Munin mysql - -- munin mysql graph mysql Munin grafik - -- Detail panel is not showing the correct detail Detail panel tidak menunjukkan detail yang benar - -- munin mysql update Munin mysql update - -- munin not showing mysql Munin tidak ditampilkan mysql - -- cpanel munin config Munin cpanel config - -- munin and mysql Munin dan mysql - -- munin mysqladmin Munin mysqladmin - -- munin mysql conf mysql Munin conf - -- munin remove plugin Munin menghapus plugin - --