Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank ±×·¡ÇÁ°¡ Ç¥½ÃµÇÁö ¾Ê´Â Ç÷¯±× Á¢¼Ó mysql ¸ð´ÏÅ͸µ¿¡ ´ëÇÑ ¼öÁ¤ ÇÁ·Î±×·¥ ¶Ç´Â °ø¹é munin

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 ¸ð´ÏÅ͸µ µµ±¸´Â ¼³¹® Á¶»ç ¹× ¸ð´ÏÅÍÀÇ ¼º´ÉÀ» »ç¿ëÇÏ¿© ÄÄÇ»ÅÍ, ³×Æ®¿öÅ©, sans, ÀÀ¿ë ÇÁ·Î±×·¥, µ¥ÀÌÅͺ£À̽º, ±â»ó ÃøÁ¤ ¹× ´Ù¸¥ ¸Å°³ º¯¼ö¸¦ÇÕ´Ï´Ù. 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À» ÅëÇØ À¥ È£½ºÆ® °ü¸®ÀÚ (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. ±×·¯³ª, ´Ù½Ã ½ÃÀÛÇÏ¸é ¼­¹ö¿¡ mysql 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. °æ¿ì¿¡ µû¶ó ±×·¡ÇÁ¸¦ 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. ÀÌ ¿À·ù´Â ÆÞ ¶óÀ̺귯¸®¿¡¼­ ¹ö±×·Î ÀÎÇØ 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 ¼­ºñ½º¸¦ Á¦°ÅÇÏ°í ´Ù½Ã ¼³Ä¡¸¦ ´Ù½Ã ÀÛµ¿ ¸ð´ÏÅ͸¦ Á¦ÃâÇÒ ¼öÀÖ½À´Ï´Ù ±×·¯³ª, Á» ´õ ¿µ±¸ÀûÀÎ ÇØ°á ¹æ¹ýÀº ÇØ´ç ÇÁ·Î±×·¥ÀÇ °æ·Î¸¦ ÇϵåÀÌÀÌ ¹®Á¦¸¦ ÇØ°áÇÕ´Ï´Ù. 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 / ºó / mysqladminÇÕ´Ï´Ù.

  2. 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 *]À» ¾Æ·¡Ã³·³ :


    [mysql*] [mysql *]
    user root »ç¿ëÀÚ ·çÆ®
    group wheel ±×·ì¿¡ ¹ÙÄû
    env.mysqladmin /usr/bin/mysqladmin env.mysqladmin / usr / ºó / mysqladmin
    env.mysqlopts –defaults-extra-file=/root/.my.cnf env.mysqlopts - ±âº»°ª - ¿¢½ºÆ®¶ó - ÆÄÀÏ = / ·çÆ® / .my.cnf

    Ensure the env.mysqladmin value is path returned by step above. the 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 / ºó / 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 ³» µðÁöÅÐ ¶óÀÌÇÁ °ø°³ Åä·Ð . ÇÕ´Ï´Ù.



5 Responses to ¡°Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank¡± 5 ¹ÝÀÀÀ» "±×·¡ÇÁ°¡ Ç¥½ÃµÇÁö ¾Ê´Â Ç÷¯±× Á¢¼Ó¿¡ ´ëÇÑ ¼öÁ¤ ÇÁ·Î±×·¥ munin mysql ¸ð´ÏÅ͸µ ¶Ç´Â °ø¹é"

  1. tri ms Æ®¶óÀÌ ¹Ì½Ã½ÃÇÇ
    August 29th, 2007 02:32 2007³â 8¿ù 29ÀÏ 02:32
    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

  2. mahmoud ¸¶È幫µå ¾ÆÈå ¸¶µð
    September 24th, 2007 23:23 2007³â 9¿ù 24ÀÏ 23:23
    2

    thank you for this kind article. ÀÌ·± Á¾·ù ±â¼ú ÀÚ·á Áּż­ °¨»çÇÕ´Ï´Ù.

    YET, /root/.my.cnf is only a shortcut. ±×·¯³ª, / ·çÆ® / .my.cnfÀº Áö¸§±æÀ»ÇÕ´Ï´Ù.

    am lost here ? ¿ÀÀü ÀÒÀº ÀÖ³ª¿ä?

  3. admin °ü¸®ÀÚ
    September 25th, 2007 01:30 2007³â 9¿ù 25ÀÏ 01:30
    3

    Why not try it out and let us know if it works? ±×¸®°í ¿Ö ÀúÈñ¿¡°Ô ¾Ë·ÁÁֽʽÿÀ ½ÃµµÇغ¸½Ê½Ã¿À ¼º°øÇϸé?

  4. Pierre Labrie ÇÇ¿¡¸£ labrie
    October 10th, 2007 22:18 2007³â 10¿ù 10ÀÏ 22:18
    4

    It works fine in my environment without cPanel Control Panel. ³» ȯ°æ¿¡¼­ Á¦´ë·Î ÀÛµ¿ÇÏÁö ¾Ê°í ±×°Í cpanel Á¦¾îÆÇÀ»ÇÕ´Ï´Ù. I had the same problem on a machine and your procedure worked. ³ª´Â ´ç½ÅÀÇ ÀýÂ÷¸¦ ±â°è¿Í °°Àº ¹®Á¦¿¡ ±Ù¹«ÇÕ´Ï´Ù.

  5. tomek
    January 25th, 2008 08:40 2008³â 1¿ù 25ÀÏ 08:40
    5

    sweetness. ´Ü¸À.

    now if you could only post the same for apache Áö±Ý °Ô½ÃÇÒ ¼öÀÖ´Ù¸é µ¿ÀÏÇÑ¿¡°Ô ¾ÆÆÄÄ¡¿¡ ´ëÇØ¼­¸¸ ;)

    thx lots, ¿øÇÑ´Ù Á¦ºñ,

    tomek. tomekÇÕ´Ï´Ù.

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=""> <acronym title=""> <abbr title=""> <blockquote cite=""> <b> <cite> <code> <µ¨ ³¯Â¥ = ""> <em> <i> <strike> '<q cite="">

Subscribe without commenting ³íÆò¾øÀÌ ±¸µ¶ ½Åû
À̸ÞÀÏ


Custom Search

New Articles »õ·Î¿î ±â»ç

Incoming Search Terms for the Article ÀÌ ¹®¼­¿¡ ´ëÇÑ °Ë»ö¾î¸¦ ¼ö½Å

munin mysql munin mysql - - munin mysql plugin munin mysql Ç÷¯±× Á¢¼Ó½Ä - - munin mysql password mysql ºñ¹Ð ¹øÈ£¸¦ munin - - MySQL Munin mysql munin - - munin no graph ±×·¡ÇÁ munin ¾Æ´Ï¿À - - cpanel munin plugin munin Ç÷¯±× Á¢¼Ó½Ä cpanel - - mysql graphs mysql ±×·¡ÇÁ - - munin plugin mysql munin Ç÷¯±× Á¢¼Ó mysql - - munin mysql graphs ±×·¡ÇÁ¸¦ munin mysql - - munin mysqlopts munin mysqlopts - - munin mysql user mysql »ç¿ëÀÚ munin - - munin monitor mysql munin ¸ð´ÏÅÍ mysql - - munin mysql munin mysql - - munin freebsd munin freebsd - - munin mysql config munin mysql ¼³Á¤ - - website monitoring plugin for whm À¥ »çÀÌÆ®¿¡ ´ëÇÑ ¸ð´ÏÅ͸µ Ç÷¯±× Á¢¼Ó whm - - munin plugins munin Ç÷¯±× Á¢¼Ó½Ä - - munin not creating graphs munin¾ø½À´Ï´Ù ±×·¡ÇÁ¸¦ »ý¼º - - munin no graphs ±×·¡ÇÁ¸¦ munin ¾Æ´Ï¿À - - munin blank graphs ºó ±×·¡ÇÁ¸¦ munin - - cpanel munin cpanel munin - - munin blank munin ºó - - munin mysql queries mysql Äõ¸®¸¦ munin - - troubleshoot munin plugin munin Ç÷¯±× Á¢¼Ó ¹®Á¦¸¦ ÇØ°á - - munin munin - - munin mysql configuration munin mysql ±¸¼º - - munin plugin install Ç÷¯±×ÀÎÀ» ¼³Ä¡ munin - - munin freebsd apache ¾ÆÆÄÄ¡ munin freebsd - - munin empty graph munin ºó ±×·¡ÇÁ - - munin empty munin ºó - - munin mysql monitoring munin mysql ¸ð´ÏÅ͸µ - - munin mysql stats munin mysql Åë°è - - cpanel mysql munin cpanel mysql munin - - munin mysql problem mysql ¹®Á¦¸¦ munin - - munin mysqladmin mysqladmin munin - - munin mysql slow query ´À¸° Äõ¸®¸¦ mysql munin - - munin mysql not updating munin mysqlÀ» ¾÷µ¥ÀÌ Æ® ¾ø´Ù - - munin apache graphs ¾ÆÆÄÄ¡ ±×·¡ÇÁ¸¦ munin - - munin mysql plugin password mysql Ç÷¯±× Á¢¼Ó ºñ¹Ð ¹øÈ£¸¦ munin - - mysql monitoring mysql ¸ð´ÏÅ͸µ - - munin mysql query mysql Äõ¸®¸¦ munin - - munin mysql conf munin mysql ±¸¼º - - how to add a graph in munin munin¸¦ Ãß°¡ÇÏ´Â ¹æ¹ýÀ» º¸¿©ÁÖ´Â ±×·¡ÇÁ¿¡¼­ - - mysqlopts munin mysqlopts munin - - restart munin munin¸¦ ´Ù½Ã ½ÃÀÛ - - munin cpanel not updating graphs ±×·¡ÇÁ¸¦ ¾÷µ¥ÀÌ Æ®ÇÏ´Â munin ¾ø´Ù cpanel - - munin mysql blank ºó munin mysql - - freebsd munin mysql munin freebsd mysql - - CPANEL munin slow query graph ´À¸° Äõ¸®¸¦ ±×·¡ÇÁ cpanel munin - - برنامج Munin munin برنامج - -