Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank Noteikt, Munin MySQL Monitoring Plugin Graph nerāda vai 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 ir kontroles līdzeklis, ko izmanto, lai novērotu un uzraudzītu sniegumu no datoriem, tīkliem, sans, lietojumprogrammām, datu bāzēm, laika mērījumi un citi parametri. Munin remembers and records information it captured and presents them in graphs through a web interface. Munin atceras un uzskaites informāciju, kas uztverts un iesniedz tos grafikus caur web interfeisu. 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, izmantojot WebHost vadītājs (WHM) ir pievienojis Munin Service Monitor tik viegli uzstādīt spraudni, lai uzraudzītu Web Host un pārbaudīt jaudu pieejamajiem resursiem.
Easily install, Viegli uzstādīt, 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 darbu tiklīdz webmaster instalē to uz serveri, izmantojot cPanel / WHM un sākt pārbaudi un ieguvei un dažādu resursu "izmantošana lasījuma, tostarp MySQL mezglus, piemēram, MySQL throughputs, MySQL queries, MySQL Slow vaicājumi un MySQL pavedieni. However, if you restart the server, Munin will fail to monitor MySQL nodes. Tomēr, ja jūs restart serveri, Munin nespēs kontrolēt MySQL mezgliem. No information is capture, and the graphs is no longer updated with statistics and appears blank. Nav informācijas uztveršanu, un grafikus vairs nav atjaunināts ar statistiku un šķiet tukša. Sometimes, the MySQL graphs blank symptom may happen even when web server is not rebooted. Dažreiz, MySQL grafikus tukšs simptoms var notikt pat tad, ja web serveris nav rebooted.
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. Kļūda ir saistīta ar kļūdu, kas Perl bibliotēka Munin veidiem, kas rada $ PATH mainīgais pazuduši, un tad izraisa spraudnis nevar atrast mysqladmin programmu, kas tai vajadzīga, lai ielādētu numurus aizpildīt ar diagrammas. 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. Atinstalēt un pārinstalēt Munin Service Monitor var darīt tas darbojas atkal, tomēr pastāvīgu risinājumu, lai hardcode ceļu programmu, kas noteiks problēmu. Here the guide on how to specify the path to mysqladmin to Munin. Šeit rokasgrāmata par to, kā norādīt ceļu uz mysqladmin uz Munin.
Fix for Munin installed by cPanel/WHM Noteikt, Munin uzstāda cPanel / WHM
- Determine where is mysqladmin program located with the one of the following command: Noteikt, kur ir mysqladmin programma atrodas ar vienu šādu komandu:
which mysqladmin kas mysqladmin
type mysqladmin tips mysqladmin
locate mysqladmin atrast mysqladminIf should return a path to mysqladmin which looks similar or the same to /usr/bin/mysqladmin. Ja būtu atgriešanās ceļš uz mysqladmin, kas izskatās līdzīgas vai pats uz / usr / bin / mysqladmin.
- Edit the /etc/munin/plugin-conf.d/cpanel.conf Munin configuration file, and modify the [mysql*] to look like below: Rediģēt / etc / munin / spraudnis-conf.d / cpanel.conf Munin konfigurācijas failu un modificēt [mysql *], kas izskatās šādi:
[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. Nodrošināt env.mysqladmin vērtība ir ceļš atpakaļ pa solim iepriekš. Also ensure that /root/.my.cnf contains correct root password to the MySQL databases. Arī nodrošina, ka / root / .my.cnf satur pareizo root parole MySQL datu bāzēm.
- Then restart Munin service: Pēc tam restartējiet Munin pakalpojumu:
/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. Pagaidiet kamēr MySQL statistiku, kas apkopota, un pārbauda grafiku vēlreiz.
Fix for Host or Server without cPanel Control Panel Noteikt, Host vai serveris bez 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 Vienkārši pievienot "env.mysqladmin / usr / bin / mysqladmin" (nodrošina to, ka ceļš ir pareizs atbilstoši jūsu sistēma) uz / etc / munin / spraudnis-conf.d / munin-node fails darīs triks, saskaņā ar Munin FAQ Munin FAQ . .
IMPORTANT : The page is machine translated and provided "as is" without warranty. SVARĪGI: lapa mašīna iztulkot un pasniegts tàds, "kàds tas ir" bez garantijas. Machine translation may be difficult to understand. Mašīntulkošanas var būt grūti saprast. Please refer to Lūdzu, skatiet original English article oriģināls angļu rakstu whenever possible. kad vien iespējams.
Related Articles Saistītie raksti
- Fix Munin Exim Mail Throughput Graph Not Updating Problem Fix Munin Exim Mail Caurlaide Graph Nav atjaunināšana Problem
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 3 Instalēšana Web Server 6.0 FreeBSD ar 2.2 Apache, MySQL 5.0 un PHP 5 - Part 3
- Change and Reset MySQL root Password Pārmaiņas un Reset MySQL root paroli
- Reset the Root Password of MySQL Server Reset root parole MySQL Server
- Apache Status (whm-server-status) in cPanel WebHost Manager Returns Blank Page Apache statuss (WHM-server-status) cPanel WebHost Manager Atgriež tukšu lapu
- Check and Optimize MySQL Database Automatically with Crontab/Cron Pārbaude un pilnveidošana MySQL Database automātiski ar Crontabula / Cron
- Permanently Disable AdSense-Deluxe WordPress Plugin Reward Plugin Author Option Pastāvīgi Atslēgt AdSense-Deluxe WordPress Plugin Reward Plugin Author variants
- Using phpMyAdmin for Effective MySQL Management in Windows XP Izmantojot phpMyAdmin efektīvas MySQL Windows Management XP
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 4 Instalēšana Web Server 6.0 FreeBSD ar 2.2 Apache, MySQL 5.0 un PHP 5 - Part 4
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 5 Instalēšana Web Server 6.0 FreeBSD ar 2.2 Apache, MySQL 5.0 un PHP 5 - Part 5










































July 9th, 2009 14:54 9 jūlijs 2009 14:54
Didnt work for me .. Didn't darbs mani .. still no data showing joprojām nav dati, kas rāda
November 5th, 2008 20:32 5 novembris 2008 20:32
hi all, play with mysql monitoring tool. hi all, spēlē ar mysql uzraudzības instrumentu. then look what i have found monyog. tad meklēt to, kas man ir atraduši monyog. simply rocks!!! vienkārši ieži!
January 25th, 2008 08:40 Janvāris 25, 2008 08:40
sweetness. sweetness.
now if you could only post the same for apache Tagad, ja jūs varētu tikai post pati apache
thx lots, thx partijām,
tomek. Tomek.
October 10th, 2007 22:18 10 oktobris 2007 22:18
It works fine in my environment without cPanel Control Panel. It works fine savā vidē bez cPanel Control Panel. I had the same problem on a machine and your procedure worked. Man bija tāda pati problēma uz mašīnu un jūsu procedūra strādāja.
September 25th, 2007 01:30 25 septembris 2007 01:30
Why not try it out and let us know if it works? Kāpēc ne izmēģināt un dariet mums zināmu, ja tas darbojas?
September 24th, 2007 23:23 24 septembris 2007 23:23
thank you for this kind article. Paldies par šāda veida rakstu.
YET, /root/.my.cnf is only a shortcut. Tomēr / root / .my.cnf ir tikai saīsne.
am lost here ? esmu zaudējis šeit?
August 29th, 2007 02:32 Augusts 29, 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 Izveidot MySQL lietotāju ar paroli, kas nepiešķir privilēģijas nevienai DB ir drošāka nekā punkts tieši uz / root / .my.cnf