Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank Pataisos Munin MySQL stebėjimo Plugin grafikas nerodomi arba tuščia
Munin is a monitoring tool used to survey and monitor the performance of computers, networks, SANs, applications, databases, weather measurements and other parameters. Munin yra kontrolės priemonė, naudojama tyrimas ir prižiūrėti kompiuterių tinklus, sans, programos, duomenų bazės, oro matavimus ir kitus parametrus rezultatų. Munin remembers and records information it captured and presents them in graphs through a web interface. Munin įsimena ir įrašo informaciją, kurią ji užėmė ir pristato juos į grafikus per web sąsają. 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, per Serverio Manager (WHM) pridėjo Munin Paslaugos monitorius lengvai įdiegti įskiepiai stebėti tinklo serverį ir patikrinti turimų išteklių pajėgumai.
Easily install, Lengvai įdiegti 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. versija 1,24 darbus iš karto, kai administratorius įdiegia ją per cPanel serveris / WHM, ir pradeda tikrinti ir fiksuoti įvairių išteklių naudojimas svarstymą, įskaitant MySQL mazgai, tokiomis kaip MySQL pralaidumą, MySQL užklausos, MySQL Mažoji užklausas ir MySQL temas. However, if you restart the server, Munin will fail to monitor MySQL nodes. Tačiau, jei iš naujo paleisti serverį, Munin nepadės stebėti MySQL mazgai. No information is capture, and the graphs is no longer updated with statistics and appears blank. Nėra informacijos surinkimo ir grafikų nėra atnaujinama statistika ir atrodo tuščia. Sometimes, the MySQL graphs blank symptom may happen even when web server is not rebooted. Kartais, MySQL grafikai tuščias simptomas gali atsitikti, net jei interneto serveryje nėra paleistas.
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. Klaida yra dėl to, į Perl biblioteka Munin naudojimo atvejais, kurie sukelia $ PATH kintamasis bus pamestas klaidą, o po to sukelia įjungti negalima rasti mysqladmin programa, kurią ji turi priimti į gyventojų skaičių ir 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. Pašalinti ir iš naujo Munin Service monitorius gali padaryti tai veikia Tačiau, vėlgi, daugiau nuolatinių sprendimas yra hardcode programos, kuri bus išspręsti problemą keliu. Here the guide on how to specify the path to mysqladmin to Munin. Čia kaip nurodyti kelią iki mysqladmin į Munin vadovas.
Fix for Munin installed by cPanel/WHM Pataisos Munin įdiegta cPanel / WHM
- Determine where is mysqladmin program located with the one of the following command: Nustatyti, kur yra įsikūrusi mysqladmin programa su šią komandą, vieną:
which mysqladmin kuris mysqladmin
type mysqladmin tipo mysqladmin
locate mysqladmin rasti mysqladminIf should return a path to mysqladmin which looks similar or the same to /usr/bin/mysqladmin. Jei reikia grįžti kelią mysqladmin kuris yra panašus arba pats į / usr / bin / mysqladmin.
- Edit the /etc/munin/plugin-conf.d/cpanel.conf Munin configuration file, and modify the [mysql*] to look like below: Redaguoti / etc / munin / plugin-conf.d / cpanel.conf Munin konfigūracijos failą ir pakeisti [mysql *] atrodys žemiau:
[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. Užtikrinti env.mysqladmin vertė yra kelias sugrįžo po žingsnio anksčiau. Also ensure that /root/.my.cnf contains correct root password to the MySQL databases. Pat užtikrina, kad / root / .my.cnf yra teisingas root slaptažodis į MySQL duomenų bazė.
- Then restart Munin service: Paleiskite Munin paslaugos:
/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. Palaukite, o MySQL statistiniai duomenys turi būti surinkti ir patikrinti grafikai kartą.
Fix for Host or Server without cPanel Control Panel Pataisos priimančiosios arba serverio be 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 Tiesiog pridėkite "env.mysqladmin / usr / bin / mysqladmin" (užtikrinti, kad maršrutas yra teisingas pagal savo sistema) su / etc / munin / plugin-conf.d / munin-node failas darys apgauti, atsižvelgiant į Munin FAQ Munin DUK . .
IMPORTANT : The page is machine translated and provided "as is" without warranty. DĖMESIO: Šis puslapis yra mašina išvertė ir pateikiama "kaip yra" be garantijų. Machine translation may be difficult to understand. Automatinis vertimas gali būti sunku suprasti. Please refer to Remkitės original English article originalas anglų straipsnis whenever possible. jei įmanoma.
Related Articles Susiję straipsniai
- Fix Munin Exim Mail Throughput Graph Not Updating Problem Fix Munin Exim Mail throughput grafikas atnaujinama ne problema
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 3 Diegimas web serveris FreeBSD 6,0 su Apache 2.2, MySQL 5.0, PHP 5 - 3 dalis
- Change and Reset MySQL root Password Kaitos ir naujo MySQL root Password
- Reset the Root Password of MySQL Server Atstatyti slaptažodį root MySQL Server
- Apache Status (whm-server-status) in cPanel WebHost Manager Returns Blank Page Apache statusas (WHM-server-status) Cpanel Serverio vadybininkas grąžinimai Blank Page
- Check and Optimize MySQL Database Automatically with Crontab/Cron Patikrinti ir optimizuoti MySQL duomenų bazė automatiškai crontab / cron
- Permanently Disable AdSense-Deluxe WordPress Plugin Reward Plugin Author Option Visam laikui išjungti AdSense-Deluxe WordPress Plugin apdovanoti Įskiepis Autorius variantas
- Using phpMyAdmin for Effective MySQL Management in Windows XP Naudojant phpMyAdmin Veiksmingos MySQL Management "Windows XP"
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 4 Diegimas web serveris FreeBSD 6,0 su Apache 2.2, MySQL 5.0, PHP 5 - 4 dalis
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 5 Diegimas web serveris FreeBSD 6,0 su Apache 2.2, MySQL 5.0, PHP 5 - 5 dalis










































July 9th, 2009 14:54 9 liepa 2009 14:54
Didnt work for me .. Didnt darbo man .. still no data showing Dar nėra duomenų, rodančių,
November 5th, 2008 20:32 5 lapkritis 2008 20:32
hi all, play with mysql monitoring tool. Hi all, žaisti su MySQL stebėsenos priemonė. then look what i have found monyog. pažiūrėkite, ką aš rasiu monyog. simply rocks!!! tiesiog rocks!
January 25th, 2008 08:40 25 sausis 2008 08:40
sweetness. saldumas.
now if you could only post the same for apache Dabar, jei galima tik po Apache pats
thx lots, thx partijų,
tomek. Tomas.
October 10th, 2007 22:18 10 spalis 2007 22:18
It works fine in my environment without cPanel Control Panel. It works fine mano aplinkoje be cPanel valdymo skyde. I had the same problem on a machine and your procedure worked. Turėjau tą pačią problemą dėl mašinų ir dirbo savo procedūrą.
September 25th, 2007 01:30 25 rugsėjis 2007 01:30
Why not try it out and let us know if it works? Kodėl ne jį išbandyti ir pranešti mums, jei tai veikia?
September 24th, 2007 23:23 24 rugsėjis 2007 23:23
thank you for this kind article. Dėkojame už tokio pobūdžio straipsnį.
YET, /root/.my.cnf is only a shortcut. Tačiau, / root / .my.cnf tik nuorodą.
am lost here ? esu prarastas čia?
August 29th, 2007 02:32 29 rugpjūtis 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 Sukurti MySQL vartotojo slaptažodį, nebus suteikta privilegija, bet DB yra saugesnis nei taško ją tiesiai į / root / .my.cnf