Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank Виправлення для Munin MySQL Моніторинг Plugin графіку не показані або заглушки

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 собою інструмент контролю використовуються для обстеження і контролю за роботою комп'ютерів, мереж, мереж зберігання даних, програм, баз даних, погодою вимірювання та інші параметри. Munin remembers and records information it captured and presents them in graphs through a web interface. Munin запам'ятовує і записує інформацію, яку він захопив і представляє їх у вигляді графіків за допомогою веб-інтерфейсу. 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, через Хостинг Manager (WHM) додав Munin служби монітора, так як легко встановлений плагін для моніторингу веб-хостингу і перевірити потенціал наявних ресурсів.

Easily install, Легко встановити, 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 робіт відразу ж після вебмайстер встановлює її на сервер через Cpanel / WHM, і почати перевірку і захоплення різних ресурсів 'Використання читанні, в тому числі MySQL вузлами, такими як MySQL пропускної здатності, MySQL запитів, MySQL Низька Запити та MySQL потоками. However, if you restart the server, Munin will fail to monitor MySQL nodes. Однак, якщо після перезавантаження сервера, Munin не зможе контролювати MySQL вузли. No information is capture, and the graphs is no longer updated with statistics and appears blank. Немає інформації є захоплення і графіки більше не оновлюється статистика і з'являється порожній. Sometimes, the MySQL graphs blank symptom may happen even when web server is not rebooted. Іноді, MySQL порожні графи симптом може відбутися навіть тоді, коли веб-сервер не перезавантажується.

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. Помилка викликана помилкою в бібліотеці Perl Munin використовує яка викликає змінну $ PATH, щоб бути втрачені, а потім викликає доданок не може знайти mysqladmin програми, які він повинен отримати номери для заповнення на графіках. 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. Видаліть і перевстановіть Munin Service Monitor може зробити це знову працює, однак, більш постійного рішення жорстко шлях до програми, яка вирішить цю проблему. Here the guide on how to specify the path to mysqladmin to Munin. Ось керівництво про те, як вказати шлях до mysqladmin для Munin.

Fix for Munin installed by cPanel/WHM Виправлення для Munin встановлена Cpanel / WHM

  1. Determine where is mysqladmin program located with the one of the following command: Визначити, де mysqladmin програми, розташованої в одній з наступних команд:

    which mysqladmin який mysqladmin
    type mysqladmin Тип mysqladmin
    locate mysqladmin знайдіть mysqladmin

    If should return a path to mysqladmin which looks similar or the same to /usr/bin/mysqladmin. Якщо повинні повернутися шляху до mysqladmin, яка виглядає аналогічною або ж в / USR / BIN / mysqladmin.

  2. Edit the /etc/munin/plugin-conf.d/cpanel.conf Munin configuration file, and modify the [mysql*] to look like below: Змінити / ETC / Munin / Plugin-conf.d / cpanel.conf Munin файлу конфігурації, а також змінювати [MYSQL *], щоб подивитися, як нижче:


    [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. Забезпечити env.mysqladmin значення шляху повернення за кроком вище. Also ensure that /root/.my.cnf contains correct root password to the MySQL databases. Також переконайтесь, що / кореневої /. My.cnf містить правильний пароль кореня до баз даних MySQL.

  3. Then restart Munin service: Потім перезавантажте Munin служби:

    /etc/init.d/munin-node restart / І т.д. / init.d / Munin-сайті перезавантаження

  4. Wait a while for MySQL statistics to be gathered, and check the graphs again. Почекайте, а для MySQL статистику зібрати, перевірити і графіків знову.

Fix for Host or Server without cPanel Control Panel Виправлення для хоста або сервера без панелі управління CPanel

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 Просто додайте "env.mysqladmin / USR / BIN / mysqladmin" (Переконайтеся, що шлях правильний, відповідно до вашої системі) в / ETC / Munin / Plugin-conf.d / Munin-вузол файлу приведуть до бажаного результату, відповідно до Munin FAQ Munin Питання та відповіді . .

IMPORTANT : The page is machine translated and provided "as is" without warranty. ВАЖЛИВО: Сторінка машина переведена і надаються "як є" без гарантії. Machine translation may be difficult to understand. Машинний переклад може бути важким для розуміння. Please refer to Будь ласка, зверніться до original English article оригінальний англійська статтю whenever possible. коли це можливо.


8 Responses to “Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank” 8 Відповіді на "Виправлення для Munin MySQL Моніторинг Plugin графіку не показані або Blank"

  1. Mr PHP Г-н PHP
    September 16th, 2009 09:31 16 Вересня 2009 09:31
    8 8

    works perfect. працює ідеально. thanks for your time posting this! Спасибо за ваш час проводки це!

  2. Sahel Сахель
    July 9th, 2009 14:54 9 липня 2009 14:54
    7 7

    Didnt work for me .. Didn't роботи для мене .. still no data showing Досі немає даних, що свідчать

  3. Marco Марка
    November 5th, 2008 20:32 5 листопада 2008 20:32
    6 6

    hi all, play with mysql monitoring tool. Привіт всім, грати з MySQL інструментом моніторингу. then look what i have found monyog. потім подивитися, що я знайшов monyog. simply rocks!!! просто порід!

  4. tomek Tomek
    January 25th, 2008 08:40 25 січня 2008 08:40
    5 5

    sweetness. солодощі.

    now if you could only post the same for apache Тепер, якщо б ви тільки могли пост однакові для Apache ;)

    thx lots, Thx ділянки,

    tomek. Томек.

  5. Pierre Labrie П'єр Labrie
    October 10th, 2007 22:18 10 жовтня 2007 22:18
    4 4

    It works fine in my environment without cPanel Control Panel. Він відмінно працює в своєму середовищі без CPanel Control Panel. I had the same problem on a machine and your procedure worked. Я була така ж проблема на машині, і ваша процедура працювала.

  6. admin Admin
    September 25th, 2007 01:30 25 Вересня 2007 01:30
    3 3

    Why not try it out and let us know if it works? Чому б не спробувати його і дайте нам знати, якщо він працює?

  7. mahmoud Махмуд
    September 24th, 2007 23:23 24 Вересня 2007 23:23
    2 2

    thank you for this kind article. Дякую вам за таку статтю.

    YET, /root/.my.cnf is only a shortcut. Тим не менш, / кореневої /. My.cnf тільки ярлик.

    am lost here ? Я загинув тут?

  8. tri ms Три мс
    August 29th, 2007 02:32 29 серпня 2007 02:32
    1 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 Створити користувача MySQL за допомогою пароля, який не надається привілей для будь-якого БД безпечніше, ніж у точці його безпосередньо до / кореневої /. My.cnf

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> Ви можете використовувати ці теги: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <справі DateTime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Підписатися на коментарі функція була відключена. To receive notification of latest comments posted, subscribe to Щоб отримувати повідомлення про останні коментарях, підписатися My Digital Life Comments RSS feed Моя Цифрова життя Коментарі RSS Feed or або register to receive Увійдіть, щоб отримувати new comments in daily email digest. нові коментарі в щоденній електронній пошті.
Custom Search

New Articles Нові статті

Incoming Search Terms for the Article Вхідні терміни пошуку для статті

munin mysql Munin MySQL - -- munin mysql plugin Munin MySQL плагіна - -- mysql munin MySQL Munin - -- munin plugin mysql Munin Plugin MySQL - -- cPanel Munin MySQL Cpanel Munin MySQL - -- munin mysql not working Munin MySQL не працює - -- munin Could not draw graph Munin не вмів малювати граф - -- env.mysqlopts env.mysqlopts - -- munin-node mysql Munin-сайті MySQL - -- cpanel munin CPanel Munin - -- munin mysql password Munin MySQL пароль - -- munin mysql blank Munin MySQL порожнім - -- munin mysql stats Munin MySQL Stats - -- munin mysql queries Munin MySQL запитів - -- munin mysql config Munin MySQL конфігурації - -- munin monitor mysql Munin MySQL контроль - -- munin mysql Munin MySQL - -- munin no graph Munin не граф - -- munin could not connect to mysql Munin не зміг підключитися до MySQL - -- munin mysql slow queries Munin MySQL повільних запитів - -- munin apache Munin Apache - -- munin mysqlopts Munin mysqlopts - -- munin disable plugin Munin відключити плагін - -- configure munin mysql MySQL налаштувати Munin - -- munin weather plugin Munin плагіна погода - -- fix munin mysql виправити Munin MySQL - -- MUNIN MySQL throughput Munin MySQL пропускну - -- mysql not showing in munin MySQL не показувати в Munin - -- all всі - -- munin mysql status Munin MySQL статус - -- munin monitoring mysql Munin MySQL моніторингу - -- munin no (could not connect to mysql) Munin ні (не зміг підключитися до MySQL) - -- no (could not connect to mysql) munin ні (не зміг підключитися до MySQL) Munin - -- munin graphs empty Munin порожніми графами - -- munin no mysql Munin НЕ MySQL - -- munin plugins mysql Munin плагіни MySQL - -- munin mysql_queries password Пароль Munin mysql_queries - -- munin Could not draw graph Munin не вмів малювати граф - -- munin mysql user Munin користувачів MySQL - -- munin fix mysql Munin MySQL виправити - -- munin mysql plugins Munin MySQL плагіни - -- munin [mysql*] Munin [MySQL *] - -- munin no graphs Munin немає графи - -- munin mysql-queries password Munin MySQL-запит пароля - -- munin mysql configuration Munin конфігурації MySQL - -- munin apache blank Munin порожнім Apache - -- config munin mysql Munin конфігурації MySQL - -- munin mysql monitoring Munin MySQL моніторингу - -- munin mysql not showing up Munin MySQL не видно - -- mysql plugin for munin MySQL плагін для Munin - --