Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank Določi za spremljanje Munin mysql plugin graf ne prikazuje ali prazno

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 je orodje za spremljanje, ki se uporabljajo za pregled in spremljanje učinkovitosti računalnikov, omrežij, sans-teh, aplikacij, baz podatkov, vremenskih meritvah in druge parametre. Munin remembers and records information it captured and presents them in graphs through a web interface. Munin spomni in evidenc podatkov, ki jih fotografirate in jih predstavlja v grafe prek spletnega vmesnika. 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, z webhost Manager (WHM) je dodal Munin Service Monitor tako preprosto nameščen plugin za spremljanje spletni strežnik in preveri zmogljivost razpoložljivih sredstev.

Easily install, Lahko namestite, 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 različica dela takoj, ko webmaster jo namesti na strežnik preko cPanel / WHM, in začeti preverjanje in zajemanje različnih virov "uporabo obravnave, vključno z MySQL vozlišč, kot so MySQL throughputs, MySQL poizvedbah, MySQL Slow Poizvedbe in MySQL navoje. However, if you restart the server, Munin will fail to monitor MySQL nodes. Vendar, če ste ponovno zaženete strežnik, Munin ne bo spremljala MySQL vozlišč. No information is capture, and the graphs is no longer updated with statistics and appears blank. Št informacije za zajemanje in grafov ni več posodobitev s statistiko in zdi prazno. Sometimes, the MySQL graphs blank symptom may happen even when web server is not rebooted. Včasih, MySQL grafov prazno simptom se lahko zgodi tudi, ko spletni strežnik ni ponovnega zagona.

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. Se napaka zaradi napake v Perl library Munin uporabah, ki jih povzroča $ PATH spremenljivka, ki se izgubila, in nato povzroči plugin ne more najti mysqladmin programa, ki jo potrebuje za nalaganje številke za Naseljavati v grafi. 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. Odstranite in znova Munin Service Monitor lahko gradenj je spet, pa bolj trajna rešitev je hardcode pot do programa, ki bo odpravite težavo. Here the guide on how to specify the path to mysqladmin to Munin. Tukaj je priročnik o tem, kako opredeliti pot do mysqladmin za Munin.

Fix for Munin installed by cPanel/WHM Popravi Munin namesti cPanel / WHM

  1. Determine where is mysqladmin program located with the one of the following command: Določiti, kje se nahaja mysqladmin programa z eno izmed naslednji ukaz:

    which mysqladmin ki mysqladmin
    type mysqladmin Vrsta mysqladmin
    locate mysqladmin poiščite mysqladmin

    If should return a path to mysqladmin which looks similar or the same to /usr/bin/mysqladmin. Vrne, če naj pot do mysqladmin ki izgleda podobno ali enako / usr / bin / mysqladmin.

  2. Edit the /etc/munin/plugin-conf.d/cpanel.conf Munin configuration file, and modify the [mysql*] to look like below: Uredite / etc / munin / plugin-conf.d / cpanel.conf Munin konfiguracijske datoteke in spremenite [mysql *], da bi izgledal spodaj:


    [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. Zagotoviti env.mysqladmin vrednost je pot, ki jih vrne korak zgoraj. Also ensure that /root/.my.cnf contains correct root password to the MySQL databases. Prav tako zagotovijo, da se / root / .my.cnf vsebuje pravilne root geslo za MySQL podatkovnih baz.

  3. Then restart Munin service: Znova zaženite Munin storitev:

    /etc/init.d/munin-node restart / etc / init.d / munin-vozlišču znova zaženite

  4. Wait a while for MySQL statistics to be gathered, and check the graphs again. Počakajte nekaj časa za MySQL statistike, ki jih je treba zbrati, preveriti in grafi znova.

Fix for Host or Server without cPanel Control Panel Določi za gostitelja ali strežnika brez cPanel Nadzorna plošča

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 Preprosto dodajte "env.mysqladmin / usr / bin / mysqladmin" (zagotovi, da je pravilna pot glede na vašem sistemu), da se v / etc / munin / plugin-conf.d / munin-vozlišče datoteka bo naredil trik, v skladu s Munin FAQ Munin Pogosta vprašanja .

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. POMEMBNO: To je stroj prevede stran, ki je ponujena "kot je" brez garancije. Machine translation may be difficult to understand. Strojno prevajanje je lahko težko razumljiva. Please refer to Prosimo, glejte original English article Originalno angleško članek whenever possible. kadar je to mogoče.

Share and contribute or get technical support and help at Deliti in prispevati ali dobiti tehnično podporo in pomoč pri My Digital Life Forums Moje digitalno življenje Forumi .



6 Responses to “Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank” 6 Responses to "Fix za Munin MySQL Spremljanje Plugin Graf Ni Prikazovanje ali Prazno"

  1. tri ms tri ms
    August 29th, 2007 02:32 29. avgust 2007 02:32
    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 Ustvarite MySQL uporabnika z geslom, ki se NE odobri privilegij za vse PP je varnejša kot točka je neposredno / root / .my.cnf

  2. mahmoud
    September 24th, 2007 23:23 24 september 2007 23:23
    2

    thank you for this kind article. hvala za to vrsto izdelka.

    YET, /root/.my.cnf is only a shortcut. Vendar pa / root / .my.cnf je le bližnjico.

    am lost here ? sem izgubil tukaj?

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

    Why not try it out and let us know if it works? Zakaj ne poskusite in nam povejte, če deluje?

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

    It works fine in my environment without cPanel Control Panel. Deluje v redu v mojem okolju brez cPanel nadzorni plošči. I had the same problem on a machine and your procedure worked. Sem imel isti problem na stroj in vaš postopek delal.

  5. tomek Tomek
    January 25th, 2008 08:40 25. januar 2008 08:40
    5

    sweetness. sladkosti.

    now if you could only post the same for apache Sedaj, če bi lahko samo po enaki za apache ;)

    thx lots, THX sklopov,

    tomek. Tomek.

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

    hi all, play with mysql monitoring tool. zdravo vsi, ki igrajo z mysql spremljanje orodje. then look what i have found monyog. potem pa poglej kaj sem našel monyog. simply rocks!!! preprosto rocks!

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> Lahko uporabite te oznake: <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. Naročite se na komentarje funkcija je bila onemogočena. To receive notification of latest comments posted, subscribe to Če želite prejemati obvestila o najnovejših komentarji, se morate naročiti na My Digital Life Comments RSS feed Moje digitalno življenje razložiti RSS feed or ali register to receive Registrirajte se za prejemanje new comments in daily email digest. novi komentarji v e-poštno sporočilo na dan Digest.
Custom Search

New Articles Novi členi

Incoming Search Terms for the Article Dohodna Iskanje Pogoji za člen

munin mysql munin mysql - -- munin mysql plugin munin mysql plugin - -- munin plugin mysql munin plugin mysql - -- munin WHM munin WHM - -- munin windows server graphs not displaying munin Windows Server grafov, ki nima prikazanega - -- munin mysql config munin mysql config - -- munin mysql user munin mysql uporabnika - -- cpanel+Manage Plugin cpanel + Upravljanje Plugin - -- graph not showing in munin cpanel graf ne prikazuje v munin cpanel - -- MONyog rapidshare.com/files MONyog rapidshare.com / files - -- monitor mysql munin spremljanje mysql munin - -- munin plugin do not graph munin plugin ne graf - -- munin-node plugin not in list on node munin-plugin vozlišče ni v seznamu na vozlišču - -- munin mysql throughput mysql pretok munin - -- munin remove plugin munin odstranitev vtičnika - -- munin cpanel munin cpanel - -- munin cpanel whm munin cpanel WHM - -- mysql graphing mysql grafe - -- configure munin for mysql konfigurirati munin za mysql - -- configure munin mysql konfigurirati munin mysql - -- french not showing in mysql francoščina ne prikazuje v mysql - -- munin mysql plugin not working munin mysql plugin ne deluje - -- munin mysql my.cnf munin mysql my.cnf - -- munin mysql env munin mysql env - -- munin new node no graph munin nova vozlišča ne graf - -- munin + mysql + usage munin + mysql + uporaba - -- munin mysql password munin mysql geslo - -- mysql munin plugins mysql munin plugins - -- whm how to restart mysql with parameters WHM kako znova zagnati mysql s parametri - -- fix munin mysql določi munin mysql - -- mysql usage graph mysql uporaba graf - --