Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank Fix pre Munin Monitorovanie MySQL Plugin Graf nezobrazujú alebo 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 je monitorovací nástroj pre prieskum a monitorovanie výkonnosti počítačov, sietí SAN, aplikácie, databázy, počasie merania a ďalších parametrov. Munin remembers and records information it captured and presents them in graphs through a web interface. Munin pamätá a evidenciu informácií, ktoré zachytil a uvádza ich do grafov cez webové rozhranie. 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, prostredníctvom webhost Riaditeľ (WHM) pridala Munin Service Monitor, ako ľahko nainštalovať plugin pre monitorovanie webhostingu a skontrolovať kapacitu dostupných zdrojov.
Easily install, Ľahko inštalovať, 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. Verzia 1.24 funguje okamžite, akonáhle správca nainštaluje ju na server pomocou cPanel / WHM a začať kontrolovať a dobyť využívanie rôznych zdrojov 'čítanie, vrátane MySQL uzly, ako je MySQL priepustnosť, MySQL otázky, MySQL Pomalý Otázky a MySQL vlákna. However, if you restart the server, Munin will fail to monitor MySQL nodes. Avšak, po reštarte servera, Munin nedokážu sledovať MySQL uzlov. No information is capture, and the graphs is no longer updated with statistics and appears blank. Žiadne informácie zachytiť a grafov je už aktualizované štatistiky a zdá prázdna. Sometimes, the MySQL graphs blank symptom may happen even when web server is not rebooted. Niekedy, MySQL grafy prázdne príznakov môže dôjsť, aj keď webový server, nie je reštartuje.
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. Chyba je spôsobená chybou v knižnici Perlu Munin použitie, ktorá spôsobí premenná $ PATH, aby bol stratený, a potom spôsobí plugin nemôže nájsť mysqladmin program, ktorý potrebuje získať čísla obývajú v grafoch. 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. Odinštalovať a znova nainštalovať Munin servisný monitor si môže opäť funguje, ale trvalejšie riešenie je napevno cestu program, ktorý problém vyrieši. Here the guide on how to specify the path to mysqladmin to Munin. Tu návod, ako zadať cestu k mysqladmin k Munin.
Fix for Munin installed by cPanel/WHM Fix pre Munin nainštalovaný cPanel / WHM
- Determine where is mysqladmin program located with the one of the following command: Zistite, kde je umiestnený program mysqladmin s jedným z nasledujúci príkaz:
which mysqladmin ktoré mysqladmin
type mysqladmin Typ mysqladmin
locate mysqladmin vyhľadať mysqladminIf should return a path to mysqladmin which looks similar or the same to /usr/bin/mysqladmin. Ak by mal vrátiť cestu k mysqladmin, ktorý sa podobá rovnakým alebo do / usr / bin / mysqladmin.
- Edit the /etc/munin/plugin-conf.d/cpanel.conf Munin configuration file, and modify the [mysql*] to look like below: Upravte / etc / Munin / plugin-conf.d / cpanel.conf Munin konfiguračného súboru, a upravovať [mysql *] vyzerať nasledovne:
[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. Zabezpečiť env.mysqladmin hodnota je cesta späť po kroku vyššie. Also ensure that /root/.my.cnf contains correct root password to the MySQL databases. Tiež zabezpečiť, aby / root /. My.cnf obsahuje správne root heslo na MySQL databáz.
- Then restart Munin service: Reštartujte Munin služby:
/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. Počkajte, kým pre MySQL štatistiky, ktoré majú byť zhromažďované, grafy a skontrolovať znova.
Fix for Host or Server without cPanel Control Panel Fix pre hostiteľa alebo servera bez cPanel Ovládací 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 Stačí pridať "env.mysqladmin / usr / bin / mysqladmin" (zabezpečí, že je správna cesta v závislosti na vašom systéme) do súboru / etc / Munin / plugin-conf.d / Munin-uzol súboru bude stačiť, v závislosti na Munin FAQ Munin FAQ . .
IMPORTANT : The page is machine translated and provided "as is" without warranty. Upozornenie: stránka je stroje preložené a za predpokladu, "ako je" bez záruky. Machine translation may be difficult to understand. Strojový preklad môže byť ťažké pochopiť. Please refer to Nájdete na original English article originál Anglicky artikl whenever possible. ak je to možné.
Related Articles Súvisiace články
- Fix Munin Exim Mail Throughput Graph Not Updating Problem Fix Munin Exim Mail Priepustnosť Graf neaktualizujú Problem
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 3 Inštalácia webového servera vo FreeBSD 6.0 s Rýchlo 2.2, MySQL 5.0 a PHP 5 - 3. časť
- Change and Reset MySQL root Password Zmien a Reset MySQL kmeň slová Heslo
- Reset the Root Password of MySQL Server Root Password Reset MySQL server
- Apache Status (whm-server-status) in cPanel WebHost Manager Returns Blank Page Apache Status (WHM-server-status) do cPanel webhost Vracia Manager prázdna strana
- Check and Optimize MySQL Database Automatically with Crontab/Cron Skontrolovať a Optimalizácia MySQL databázu automaticky s crontab / Cron
- Permanently Disable AdSense-Deluxe WordPress Plugin Reward Plugin Author Option Permanentný Oslabit AdSense-oklamat WordPress Čep Odmena Čep Autor Variant
- Using phpMyAdmin for Effective MySQL Management in Windows XP Použitie MySQL phpMyAdmin pre efektívne riadenie v systéme Windows XP
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 4 Inštalácia webového servera vo FreeBSD 6.0 s Rýchlo 2.2, MySQL 5.0 a PHP 5 - 4. časť
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 5 Inštalácia webového servera vo FreeBSD 6.0 s Rýchlo 2.2, MySQL 5.0 a PHP 5 - 5. časť










































July 9th, 2009 14:54 9. júla 2009 14:54
Didnt work for me .. Didnt work for me .. still no data showing Stále žiadne údaje o tom,
November 5th, 2008 20:32 5. novembra 2008 20:32
hi all, play with mysql monitoring tool. ahoj všetci, hrať sa s mysql monitorovací nástroj. then look what i have found monyog. potom sa pozrite, čo som našiel monyog. simply rocks!!! simply rocks!
January 25th, 2008 08:40 25.ledna 2008 08:40
sweetness. sladkosť.
now if you could only post the same for apache Teraz, keby ste len po rovnakej pre apache
thx lots, thx partií,
tomek. Tomek.
October 10th, 2007 22:18 10.Októbra 2007 22:18
It works fine in my environment without cPanel Control Panel. To funguje v mojom prostredí bez cPanel Ovládací panel. I had the same problem on a machine and your procedure worked. Mal som rovnaký problém na stroji a váš postup funguje.
September 25th, 2007 01:30 25.září 2007 01:30
Why not try it out and let us know if it works? Prečo to neskúsiť, a dajte nám vedieť, či to funguje?
September 24th, 2007 23:23 24.Septembra 2007 23:23
thank you for this kind article. Ďakujem vám za tento druh výrobku.
YET, /root/.my.cnf is only a shortcut. Napriek tomu, / root /. My.cnf je len skratkou.
am lost here ? stratil som tu?
August 29th, 2007 02:32 29.srpen 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 Vytvorte MySQL používateľ s heslom, ktoré nie je poskytovaná oprávnenie na všetky NR je bezpečnejšie ako bod priamo do / root /. My.cnf