Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank Fix for Munin MySQL Monitoring Plugin Grafik Tidak Menampilkan atau Blank
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
- 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 mysqladminIf 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.
- 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.cnfEnsure 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.
- Then restart Munin service: Kemudian restart layanan Munin:
/etc/init.d/munin-node restart / etc / init.d / Munin-node restart
- 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.
Related Articles Artikel Terkait
- Fix Munin Exim Mail Throughput Graph Not Updating Problem Fix Munin Exim Mail Throughput Grafik Tidak Memperbarui Soal
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 3 Instalasi Web Server di FreeBSD 6.0 dengan Apache 2.2, MySQL 5.0 dan PHP 5 - Bagian 3
- Change and Reset MySQL root Password Perubahan dan Reset MySQL root Password
- Reset the Root Password of MySQL Server Me-reset Password Root MySQL Server
- Apache Status (whm-server-status) in cPanel WebHost Manager Returns Blank Page Apache Status (WHM-server-status) di cPanel webhost Manager Pengembalian Blank Page
- Check and Optimize MySQL Database Automatically with Crontab/Cron Periksa dan Optimalkan MySQL Database Secara Otomatis dengan Crontab / Cron
- Permanently Disable AdSense-Deluxe WordPress Plugin Reward Plugin Author Option Nonaktifkan secara permanen AdSense-Deluxe Reward Wordpress Plugin Plugin Author Option
- Using phpMyAdmin for Effective MySQL Management in Windows XP Menggunakan phpMyAdmin for Effective MySQL Management pada Windows XP
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 4 Instalasi Web Server di FreeBSD 6.0 dengan Apache 2.2, MySQL 5.0 dan PHP 5 - Bagian 4
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 5 Instalasi Web Server di FreeBSD 6.0 dengan Apache 2.2, MySQL 5.0 dan PHP 5 - Bagian 5










































July 9th, 2009 14:54 9 Juli 2009 14:54
Didnt work for me .. Didnt work for me .. still no data showing masih tidak ada data yang menunjukkan
November 5th, 2008 20:32 November 5, 2008 20:32
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!
January 25th, 2008 08:40 25 Januari 2008 08:40
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.
October 10th, 2007 22:18 10 Oktober 2007 22:18
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.
September 25th, 2007 01:30 25 September 2007 01:30
Why not try it out and let us know if it works? Mengapa tidak mencobanya dan biarkan kami tahu jika bekerja?
September 24th, 2007 23:23 24 September 2007 23:23
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?
August 29th, 2007 02:32 29 Agustus 2007 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 Buat user MySQL dengan password yang TIDAK diberikan hak istimewa untuk setiap DB lebih aman daripada titik secara langsung ke / root / .my.cnf