Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank Sửa chữa cho Munin MySQL Giám sát Plugin đồ thị Không Hiển thị hoặc 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 là một công cụ giám sát được sử dụng để điều tra và giám sát hiệu suất của máy tính, mạng, SAN, ứng dụng, cơ sở dữ liệu, đo thời tiết và các thông số khác. Munin remembers and records information it captured and presents them in graphs through a web interface. Munin nhớ và ghi thông tin nó bị bắt và trình bày chúng trong các đồ thị thông qua một giao diện web. 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, thông qua WebHost Manager (WHM) đã thêm các dịch vụ Munin Màn hình như là plugin dễ dàng cài đặt để giám sát các máy chủ web và kiểm tra năng lực của các nguồn lực sẵn có.

Easily install, Dễ dàng cài đặt, 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 phiên bản tác phẩm ngay lập tức một khi webmaster cài đặt nó trên máy chủ thông qua cPanel / WHM, và bắt đầu kiểm tra và bắt đọc cách sử dụng các nguồn lực khác nhau, bao gồm các nút MySQL như throughputs MySQL, MySQL truy vấn, MySQL Slow Queries, và MySQL đề. However, if you restart the server, Munin will fail to monitor MySQL nodes. Tuy nhiên, nếu bạn khởi động lại máy chủ, Munin sẽ không theo dõi các nút MySQL. No information is capture, and the graphs is no longer updated with statistics and appears blank. Không có thông tin là nắm bắt, và các đồ thị không còn được cập nhật với số liệu thống kê và xuất hiện trống. Sometimes, the MySQL graphs blank symptom may happen even when web server is not rebooted. Đôi khi, các đồ thị MySQL trống triệu chứng có thể xảy ra ngay cả khi máy chủ web không phải là khởi động lại.

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. Các lỗi là do một lỗi trong một thư viện Perl Munin sử dụng gây biến $ PATH sẽ bị mất, và sau đó gây ra các plugin không thể tìm thấy các chương trình mysqladmin mà nó cần để lấy số điện thoại để cư trong các đồ thị. 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. Gỡ bỏ và cài đặt lại Munin Dịch vụ Màn hình có thể làm cho nó hoạt động trở lại, tuy nhiên, một giải pháp lâu dài hơn là để hardcode đường dẫn của chương trình, sẽ sửa chữa vấn đề. Here the guide on how to specify the path to mysqladmin to Munin. Dưới đây là hướng dẫn về cách xác định đường dẫn đến mysqladmin để Munin.

Fix for Munin installed by cPanel/WHM Sửa chữa cho Munin cài đặt bởi cPanel / WHM

  1. Determine where is mysqladmin program located with the one of the following command: Xác định nơi mysqladmin là chương trình nằm với một trong các lệnh sau đây:

    which mysqladmin mà mysqladmin
    type mysqladmin Loại mysqladmin
    locate mysqladmin xác định vị trí mysqladmin

    If should return a path to mysqladmin which looks similar or the same to /usr/bin/mysqladmin. Nếu phải trả lại một đường dẫn đến mysqladmin trông tương tự hoặc giống nhau đến / usr / bin / mysqladmin.

  2. Edit the /etc/munin/plugin-conf.d/cpanel.conf Munin configuration file, and modify the [mysql*] to look like below: Hiệu chỉnh / etc / Munin / plugin-conf.d / cpanel.conf tập tin cấu hình Munin, và sửa đổi [mysql *] trông giống như dưới đây:


    [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. Đảm bảo giá trị env.mysqladmin là con đường trở lại bước ở trên. Also ensure that /root/.my.cnf contains correct root password to the MySQL databases. Cũng đảm bảo rằng / root / .my.cnf có chứa mật khẩu chủ đúng vào cơ sở dữ liệu MySQL.

  3. Then restart Munin service: Sau đó khởi động lại Munin dịch vụ:

    /etc/init.d/munin-node restart / etc / init.d / Munin nút khởi động lại

  4. Wait a while for MySQL statistics to be gathered, and check the graphs again. Đợi một lúc cho các thống kê MySQL để được thu thập và kiểm tra các đồ thị lại.

Fix for Host or Server without cPanel Control Panel Sửa chữa cho chủ nhà hoặc máy chủ mà không có cPanel Control Panel

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 Đơn giản chỉ cần thêm env.mysqladmin "/ usr / bin / mysqladmin" (đảm bảo rằng các con đường là chính xác theo hệ thống của bạn) cho / etc / Munin / plugin-conf.d / Munin nút tập tin sẽ làm như lừa, theo Munin FAQ Munin Hỏi đáp . .

IMPORTANT : The page is machine translated and provided "as is" without warranty. Quan trọng: Sửa là máy dịch và cung cấp "như là" không có bảo hành. Machine translation may be difficult to understand. Máy dịch thuật có thể khó hiểu. Please refer to Vui lòng tham khảo original English article bản gốc tiếng Anh bài viết whenever possible. bất cứ khi nào có thể.


7 Responses to “Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank” 7 hồi đáp tới "Fix for Munin MySQL Giám sát Plugin đồ thị Không Hiển thị hoặc Blank"

  1. Sahel Sahel
    July 9th, 2009 14:54 09 Tháng Bảy 2009 14:54
    7 7

    Didnt work for me .. Didnt làm việc cho tôi .. still no data showing vẫn không có dữ liệu hiển thị

  2. Marco Marco
    November 5th, 2008 20:32 Ngày 05 tháng 11 năm 2008 20:32
    6 6

    hi all, play with mysql monitoring tool. hi tất cả, chơi với công cụ giám sát mysql. then look what i have found monyog. sau đó xem xét những gì tôi đã tìm thấy monyog. simply rocks!!! chỉ đơn giản là đá!

  3. tomek Tomek
    January 25th, 2008 08:40 25 tháng 1 2008 08:40
    5 5

    sweetness. ngọt.

    now if you could only post the same for apache bây giờ nếu bạn chỉ có thể đăng bài giống nhau cho apache ;)

    thx lots, thx rất nhiều,

    tomek. Tomek.

  4. Pierre Labrie Pierre Labrie
    October 10th, 2007 22:18 Ngày 10 tháng 10 năm 2007 22:18
    4 4

    It works fine in my environment without cPanel Control Panel. Nó hoạt động tốt trong môi trường của tôi mà không cPanel Control Panel. I had the same problem on a machine and your procedure worked. Tôi đã cùng một vấn đề trên máy của bạn và thủ tục làm việc.

  5. admin admin
    September 25th, 2007 01:30 Ngày 25 tháng chín 2007 01:30
    3 3

    Why not try it out and let us know if it works? Tại sao không thử nó ra và cho chúng tôi biết nếu nó hoạt động?

  6. mahmoud Mahmoud
    September 24th, 2007 23:23 24 Tháng Chín 2007 23:23
    2 2

    thank you for this kind article. cảm ơn bạn cho bài viết này loại.

    YET, /root/.my.cnf is only a shortcut. YET, / root / .my.cnf chỉ là một phím tắt.

    am lost here ? sáng bị mất ở đây?

  7. tri ms tri ms
    August 29th, 2007 02:32 Ngày 29 tháng 8 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 Tạo một người dùng MySQL với một mật khẩu mà là KHÔNG đặc quyền cấp cho DB nào là an toàn hơn điểm hơn nó trực tiếp vào / root / .my.cnf

Leave a Reply Để lại một trả lời

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> Bạn có thể sử dụng các thẻ: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q <strike> <strong>

Subscribe to comments feature has been disabled. Thuê bao với ý kiến đều đã bị vô hiệu hoá. To receive notification of latest comments posted, subscribe to Để nhận được thông báo mới nhất đăng ý kiến, đăng ký với My Digital Life Comments RSS feed My Digital Life kiến RSS feed or hoặc register to receive đăng ký để nhận được new comments in daily email digest. Các ý kiến mới trong email tiêu hàng ngày.
Custom Search

New Articles Bài viết mới

Incoming Search Terms for the Article Tìm đến các Điều khoản Điều

munin mysql Munin mysql - -- munin mysql plugin Munin mysql plugin - -- mysql munin mysql Munin - -- munin plugin mysql Munin plugin mysql - -- munin Could not draw graph Munin Không thể vẽ đồ thị - -- cPanel Munin MySQL cPanel Munin MySQL - -- env.mysqlopts env.mysqlopts - -- cpanel munin cPanel Munin - -- munin mysql config Munin mysql config - -- munin mysql password Munin mysql mật khẩu - -- munin monitor mysql Munin giám sát mysql - -- munin mysql blank Munin mysql trống - -- munin-node mysql Munin nút mysql - -- munin no graph Munin không có đồ thị - -- munin mysql Munin mysql - -- munin apache Munin apache - -- munin mysql stats Munin mysql kê - -- munin mysql slow queries Munin mysql chậm truy vấn - -- munin mysql not working Munin mysql không làm việc - -- fix munin mysql sửa chữa mysql Munin - -- MUNIN MySQL throughput Munin MySQL thông - -- mysql not showing in munin mysql không hiển thị trong Munin - -- all tất cả - -- munin mysqlopts Munin mysqlopts - -- munin no (could not connect to mysql) Munin không (không thể kết nối đến mysql) - -- munin disable plugin Munin vô hiệu hóa plugin - -- no (could not connect to mysql) munin không có (không thể kết nối đến mysql) Munin - -- munin mysql_queries password Munin mysql_queries mật khẩu - -- munin Could not draw graph Munin Không thể vẽ đồ thị - -- munin could not connect to mysql Munin không thể kết nối với mysql - -- munin mysql queries Munin mysql truy vấn - -- munin no graphs Munin không có đồ thị - -- munin mysql-queries password Munin mysql-truy vấn mật khẩu - -- munin mysql configuration Munin mysql cấu hình - -- munin apache blank Munin apache trống - -- munin weather plugin Munin thời tiết plugin - -- config munin mysql config mysql Munin - -- munin mysql monitoring Munin mysql giám sát - -- mysql plugin for munin mysql plugin cho Munin - -- munin + mysql Munin + mysql - -- freebsd munin mysql freebsd Munin mysql - -- munin mysql graph Munin mysql đồ thị - -- Detail panel is not showing the correct detail Xem chi tiết bảng không hiển thị những chi tiết chính xác - -- munin mysql update Munin mysql cập nhật - -- munin not showing mysql Munin không hiển thị mysql - -- cpanel munin config cPanel Munin config - -- munin and mysql Munin và mysql - -- munin mysqladmin Munin mysqladmin - -- munin mysql conf Munin mysql conf - -- munin remove plugin Munin gỡ bỏ plugin - --