Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank תקן עבור Munin MySQL ניטור תוסף גרף לא מראה או ריק
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
- Determine where is mysqladmin program located with the one of the following command: לקבוע היכן הוא ממוקם mysqladmin עם תוכנית אחת של הפקודה הבאה:
which mysqladmin אשר mysqladmin
type mysqladmin mysqladmin סוג
locate mysqladmin לאתר mysqladminIf should return a path to mysqladmin which looks similar or the same to /usr/bin/mysqladmin. אם צריך לחזור נתיב mysqladmin אשר דומה או זהה ל / usr / bin / mysqladmin.
- 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.cnfEnsure 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.
- Then restart Munin service: ואז להפעיל מחדש את שירות Munin:
/etc/init.d/munin-node restart / etc / init.d munin-הצומת מחדש
- 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. בכל הזדמנות אפשרית.
Related Articles מאמרים קשורים
- Fix Munin Exim Mail Throughput Graph Not Updating Problem תקן Munin Exim דואר תפוקה הגרפים אינו מעדכן בעיה
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 3 התקנת שרת אינטרנט ב FreeBSD 6.0 עם Apache 2.2, MySQL 5.0 ו-PHP 5 - חלק 3
- Change and Reset MySQL root Password שינוי סיסמה איפוס שורש MySQL
- Reset the Root Password of MySQL Server איפוס סיסמה השורש של MySQL Server
- Apache Status (whm-server-status) in cPanel WebHost Manager Returns Blank Page סטטוס אפאצ 'י (WHM-Server-מעמד) ב cPanel החזרות מנהל למארח דף ריק
- Check and Optimize MySQL Database Automatically with Crontab/Cron בדוק ייעל MySQL Database אוטומטית עם crontab / Cron
- Permanently Disable AdSense-Deluxe WordPress Plugin Reward Plugin Author Option לצמיתות השבת של AdSense-Deluxe WordPress Plugin תגמול אפשרות Plugin מחבר
- Using phpMyAdmin for Effective MySQL Management in Windows XP באמצעות phpMyAdmin MySQL עבור ניהול אפקטיבי ב-Windows XP
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 4 התקנת שרת אינטרנט ב FreeBSD 6.0 עם Apache 2.2, MySQL 5.0 ו-PHP 5 - חלק 4
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 5 התקנת שרת אינטרנט ב FreeBSD 6.0 עם Apache 2.2, MySQL 5.0 ו-PHP 5 - חלק 5










































September 16th, 2009 09:31 16 ספטמבר 2009 09:31
works perfect. עובד מושלם. thanks for your time posting this! תודה על הזמן שלך פרסום זה!
July 9th, 2009 14:54 9 יולי 2009 14:54
Didnt work for me .. עבודה didn't לי .. still no data showing עדיין לא מראה נתונים
November 5th, 2008 20:32 5 נובמבר 2008 20:32
hi all, play with mysql monitoring tool. היי כולם, לשחק עם כלי ניטור MySQL. then look what i have found monyog. ואז תראה מה מצאתי monyog. simply rocks!!! פשוט סלעים!
January 25th, 2008 08:40 25 ינואר 2008 08:40
sweetness. מתיקות.
now if you could only post the same for apache עכשיו אם אתה יכול רק לכתוב אותו על אפאצ 'י
thx lots, המון thx,
tomek. טומק.
October 10th, 2007 22:18 10 אוקטובר 2007 22:18
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. היה לי את אותה בעיה במחשב שלך ואת הליך עבד.
September 25th, 2007 01:30 25 ספטמבר 2007 01:30
Why not try it out and let us know if it works? למה לא לנסות אותו ולהודיע לנו אם זה עובד?
September 24th, 2007 23:23 24 ספטמבר 2007 23:23
thank you for this kind article. תודה לך על מאמר כזה.
YET, /root/.my.cnf is only a shortcut. ובכל זאת, / root / .my.cnf הוא רק קיצור דרך.
am lost here ? אני אבוד כאן?
August 29th, 2007 02:32 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 צור משתמש MySQL עם סיסמה כי הוא לא העניק זכות DB הוא בטוח יותר מאשר כל נקודה אותו ישירות אל השורש / / .my.cnf