Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank תקן עבור Munin MySQL ניטור תוסף גרף לא מראה או ריק

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 כגון throughputs 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 סימפטום ריק עשוי לקרות גם כאשר שרת אינטרנט הוא לא 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. השגיאה היא בגלל באג בספריית פרל 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 שירות צג עלולה להפוך את זה עובד שוב, עם זאת, פתרון קבוע יותר היא hardcode את הנתיב של התוכנית, אשר פותר את הבעיה. 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. גם להבטיח / root / .my.cnf מכיל שורש הסיסמה הנכונה מסדי הנתונים MySQL.

  3. Then restart Munin service: ואז להפעיל מחדש את שירות Munin:

    /etc/init.d/munin-node restart / etc / 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 תגובות ל "Fix for MySQL Munin ניטור תוסף גרף לא מראה או ריק"

  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 טומק
    January 25th, 2008 08:40 25 ינואר 2008 08:40
    5 5

    sweetness. מתיקות.

    now if you could only post the same for apache עכשיו אם אתה יכול רק לכתוב אותו על אפאצ 'י ;)

    thx lots, המון thx,

    tomek. טומק.

  5. Pierre Labrie פייר לאברי
    October 10th, 2007 22:18 10 אוקטובר 2007 22:18
    4 4

    It works fine in my environment without cPanel Control Panel. It works fine בסביבה שלי בלי לוח הבקרה cPanel. 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. ובכל זאת, / root / .my.cnf הוא רק קיצור דרך.

    am lost here ? אני אבוד כאן?

  8. tri ms MS Tri
    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 עם סיסמה כי הוא לא העניק זכות DB הוא בטוח יותר מאשר כל נקודה אותו ישירות אל השורש / / .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> <del 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 MySQL munin - -- munin mysql plugin תוסף MySQL munin - -- mysql munin munin MySQL - -- munin plugin mysql munin תוסף MySQL - -- cPanel Munin MySQL MySQL Munin cPanel - -- munin mysql not working MySQL munin לא עובד - -- munin Could not draw graph munin לא יכול לצייר גרף - -- env.mysqlopts env.mysqlopts - -- munin-node mysql munin-MySQL הצומת - -- cpanel munin munin cPanel - -- munin mysql password הסיסמה MySQL munin - -- munin mysql blank ריק MySQL munin - -- munin mysql stats נתונים סטטיסטיים MySQL munin - -- munin mysql queries שאילתות MySQL munin - -- munin mysql config config MySQL munin - -- munin monitor mysql MySQL לפקח munin - -- munin mysql MySQL munin - -- munin no graph munin לא הגרף - -- munin could not connect to mysql munin לא יכול להתחבר MySQL - -- munin mysql slow queries שאילתות munin MySQL איטי - -- munin apache Apache munin - -- munin mysqlopts mysqlopts munin - -- munin disable plugin תוסף להשבית munin - -- configure munin mysql MySQL munin להגדיר - -- munin weather plugin תוסף מזג האוויר munin - -- fix munin mysql לתקן MySQL munin - -- MUNIN MySQL throughput MUNIN התפוקה MySQL - -- mysql not showing in munin MySQL לא מציגה ב munin - -- all הכל - -- munin mysql status מצב MySQL munin - -- munin monitoring mysql MySQL ניטור munin - -- 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 Plugins munin MySQL - -- munin mysql_queries password mysql_queries munin הסיסמה - -- munin Could not draw graph munin לא יכול לצייר גרף - -- munin mysql user משתמש MySQL munin - -- munin fix mysql MySQL לתקן munin - -- munin mysql plugins Plugins MySQL munin - -- munin [mysql*] munin [MySQL *] - -- munin no graphs munin אין גרפים - -- munin mysql-queries password munin-MySQL שאילתות הסיסמה - -- munin mysql configuration תצורה MySQL munin - -- munin apache blank ריק Apache munin - -- config munin mysql config MySQL munin - -- munin mysql monitoring ניטור MySQL munin - -- munin mysql not showing up MySQL munin לא להופיע - -- mysql plugin for munin תוסף MySQL עבור munin - --