Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank فيكس ل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 ، من خلال مدير WebHost (WHM) واضاف Munin دائرة رصد بسهولة تركيب البرنامج المساعد لرصد استضافة المواقع على الشبكة ، وفحص قدرة الموارد المتاحة.
Easily install, بسهولة تثبيت ، 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 ، وبدء فحص والاستيلاء على موارد مختلفة 'استخدام القراءة ، بما فيها ماي. س. ك العقد مثل ماي. س. ك throughputs ، ماي. س. ك الاستفسارات ، ماي. س. ك بطيئة الاستفسارات ، وخيوط ماي. س. ك. However, if you restart the server, Munin will fail to monitor MySQL nodes. ولكن ، إذا قمت إعادة تشغيل الخادم ، Munin سوف تفشل لرصد ماي. س. ك العقد. 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. في بعض الأحيان ، ماي. س. ك رسوم بيانية فارغة من أعراض يمكن أن يحدث حتى عندما يكون خادم الويب لا أعيد تشغيل.
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 بيرل الذي يستخدم لأسباب دولار باث متغير ليكون فقدت ، وبعد ذلك يسبب البرنامج المساعد لا يمكن أن تجد 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 / بن / mysqladmin.
- Edit the /etc/munin/plugin-conf.d/cpanel.conf Munin configuration file, and modify the [mysql*] to look like below: تحرير / الخ / munin / البرنامج المساعد - conf.d / cpanel.conf Munin ملفات ، وتعديل [ماي. س. ك *] لتبدو مثل أدناه :
[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. أيضا أن تكفل / الجذر /.my.cnf يتضمن تصحيح الجذر كلمة السر لقواعد بيانات ماي. س. ك.
- Then restart Munin service: ثم استئناف Munin الخدمة :
/etc/init.d/munin-node restart / الخ / init.d / munin - العقدة استئناف
- Wait a while for MySQL statistics to be gathered, and check the graphs again. الانتظار بعض الوقت لماي. س. ك لجمع الإحصاءات ، ومراجعة الرسوم البيانية مرة أخرى.
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 / بن / mysqladmin" (ضمان أن يكون هو الطريق الصحيح وفقا لجهازك) الى / الخ / munin / البرنامج المساعد - conf.d / munin - العقدة ملف تفعل خدعة ، وفقا لل Munin FAQ Munin أسئلة وأجوبة .
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. هام : هذه هي آلة الصفحة المترجمة التي تقدم "كما هي" دون ضمان. Machine translation may be difficult to understand. الترجمة الآلية قد يكون من الصعب فهم. Please refer to يرجى الرجوع إلى original English article المادة الانكليزية الأصلية whenever possible. كلما كان ذلك ممكنا.
Share and contribute or get technical support and help at وحصة المساهمة أو الحصول على الدعم التقني والمساعدة في My Digital Life Forums بلادي الرقمي الحياة المنتديات .
Related Articles المواد ذات الصلة
- Fix Munin Exim Mail Throughput Graph Not Updating Problem فيكس Munin إكسيم البريد التي مرت في الرسم البياني ليست مشكلة تحديث
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 3 تركيب ملقم الويب في فري بي 6.0 مع اباتشي 2.2 ، 5.0 وماي. س. ك PHP 5 -- الجزء 3
- Reset the Root Password of MySQL Server إعادة تعيين كلمة المرور من الجذر ماي. س. ك الخادم
- Change and Reset MySQL root Password التغيير وإعادة ضبط كلمة السر ماي. س. ك الجذر
- Apache Status (whm-server-status) in cPanel WebHost Manager Returns Blank Page مركز اباتشي (whm - خادم الوضع) في cPanel WebHost مدير العودة بياض الصفحة
- Check and Optimize MySQL Database Automatically with Crontab/Cron فحص والأمثل ماي. س. ك قاعدة البيانات تلقائيا مع Crontab / كرون
- Permanently Disable AdSense-Deluxe WordPress Plugin Reward Plugin Author Option تعطيل دائم AdSense - ديلوكس ووردبرس] البرنامج المساعد مكافأة البرنامج المساعد المؤلف الخيار
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 4 تركيب ملقم الويب في فري بي 6.0 مع اباتشي 2.2 ، 5.0 وماي. س. ك PHP 5 -- الجزء 4
- Using phpMyAdmin for Effective MySQL Management in Windows XP باستخدام phpMyAdmin لإدارة ماي. س. ك الفعال في ويندوز إكس بي
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 5 تركيب ملقم الويب في فري بي 6.0 مع اباتشي 2.2 ، 5.0 وماي. س. ك PHP 5 -- الجزء 5

































August 29th, 2007 02:32 أغسطس 29th ، 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 خلق ماي. س. ك المستخدم مع كلمة السر التي لا تمنح امتيازا لأية الديسيبل هو أكثر أمانا من النقطة مباشرة ل/ الجذر /.my.cnf
September 24th, 2007 23:23 سبتمبر 24th ، 2007 23:23
thank you for this kind article. أشكركم على هذا النوع من المادة.
YET, /root/.my.cnf is only a shortcut. ومع ذلك ، / الجذر /.my.cnf ليست سوى الاختصار.
am lost here ? الساعة خسر هنا؟
September 25th, 2007 01:30 سبتمبر 25th ، 2007 01:30
Why not try it out and let us know if it works? لماذا لا تحاول بها ودعونا نعلم ما اذا كان يعمل؟
October 10th, 2007 22:18 أكتوبر 10th ، 2007 22:18
It works fine in my environment without cPanel Control Panel. وهو يعمل غرامة البيئة في بلدي دون cPanel لوحة التحكم. I had the same problem on a machine and your procedure worked. عانيت من نفس المشكلة على جهاز ويعمل الإجراء الخاص بك.
January 25th, 2008 08:40 كانون الثاني / يناير 25th ، 2008 08:40
sweetness. حلاوة.
now if you could only post the same for apache الآن إذا كنت لا يمكن إلا أن وظيفة لنفسه اباتشي
thx lots, thx الكثير ،
tomek.