Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank Fix para Munin MySQL acompanhamento plugin gráfico ou em branco não mostrando

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 é uma ferramenta usada para controlar e monitorar o desempenho vistoria de computadores, redes, SANs, aplicações, bases de dados, medições meteorológicas e outros parâmetros. Munin remembers and records information it captured and presents them in graphs through a web interface. Munin lembra registros e informações que capturou e apresenta-las em gráficos através de uma interface 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, através do WebHost Manager (WHM), acrescentou o Munin Serviço Monitor tão facilmente instalado plugin para acompanhar o acolhimento web e verificar a capacidade dos recursos disponíveis.

Easily install, Fácil de instalar, 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. Versão 1,24 obras imediatamente depois webmaster instala-lo no servidor através do cPanel / WHM, e começar a verificar e captar recursos diversos "usos leitura, incluindo o MySQL como nós throughputs MySQL, MySQL queries, Slow Consultas MySQL, MySQL e roscas. However, if you restart the server, Munin will fail to monitor MySQL nodes. No entanto, se você reiniciar o servidor, Munin irá falhar a acompanhar o MySQL gânglios. No information is capture, and the graphs is no longer updated with statistics and appears blank. Não há informação captura, e os gráficos já não é actualizada com estatísticas e aparece em branco. Sometimes, the MySQL graphs blank symptom may happen even when web server is not rebooted. Às vezes, o MySQL gráficos em branco sintoma pode ocorrer mesmo quando servidor web não é reiniciado.

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. O erro é devido a uma falha em uma biblioteca Perl usa Munin que provoca variável $ PATH para ser perdido, e, depois, faz com que o plugin não pode encontrar o programa mysqladmin de que necessita para recuperar os números para preencher nos gráficos. 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. Desinstale e reinstale Munin Serviço Monitor maio torná-lo uma vez mais obras, no entanto, uma solução mais definitiva é a hardcode o caminho do programa, que irá resolver o problema. Here the guide on how to specify the path to mysqladmin to Munin. Veja o guia sobre a forma de indicar o caminho para a mysqladmin Munin.

Fix for Munin installed by cPanel/WHM Fix para Munin instalados pelo cPanel / WHM

  1. Determine where is mysqladmin program located with the one of the following command: Determinar onde está localizado com o programa mysqladmin um dos seguintes comandos:

    which mysqladmin que mysqladmin
    type mysqladmin Tipo de mysqladmin
    locate mysqladmin localizar mysqladmin

    If should return a path to mysqladmin which looks similar or the same to /usr/bin/mysqladmin. Se deve retornar um caminho que olha para o mysqladmin semelhantes ou mesmo para o / usr / bin / mysqladmin.

  2. Edit the /etc/munin/plugin-conf.d/cpanel.conf Munin configuration file, and modify the [mysql*] to look like below: Edite o / etc / munin / plugin-conf.d / cpanel.conf Munin arquivo de configuração, e modificar o [mysql *] para aparecer como a seguir:


    [mysql*] [MySQL *]
    user root utilizador raiz
    group wheel grupo wheel
    env.mysqladmin /usr/bin/mysqladmin env.mysqladmin / usr / bin / mysqladmin
    env.mysqlopts –defaults-extra-file=/root/.my.cnf env.mysqlopts-defaults-extra-file = / raiz / .my.cnf

    Ensure the env.mysqladmin value is path returned by step above. Assegurar o caminho env.mysqladmin valor é devolvido ao passo acima. Also ensure that /root/.my.cnf contains correct root password to the MySQL databases. Também garantir que / raiz / .my.cnf contém a senha correta raiz do MySQL bases de dados.

  3. Then restart Munin service: Em seguida, reinicie Munin serviço:

    /etc/init.d/munin-node restart / etc / init.d / munin-nó reiniciar

  4. Wait a while for MySQL statistics to be gathered, and check the graphs again. Aguarde um tempo para o MySQL estatísticas que devem ser recolhidas, e verificar os gráficos novamente.

Fix for Host or Server without cPanel Control Panel Fix para Host Server ou sem Painel de Controle 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 Basta adicionar o "env.mysqladmin / usr / bin / mysqladmin" (garantir que o caminho está correto, de acordo com seu sistema) ao / etc / munin / plugin-conf.d / munin-nó arquivo irá fazer o truque, de acordo com a Munin FAQ Munin FAQ .

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Esta é uma página traduzida máquina que é fornecida "como está" sem garantia. Machine translation may be difficult to understand. A tradução automática pode ser difícil de compreender. Please refer to Por favor, consulte a original English article Inglês original article whenever possible. sempre que possível.

Share and contribute or get technical support and help at Compartilhe e contribuir ou obter suporte técnico e ajudar a My Digital Life Forums Minha vida digital Fóruns .



5 Responses to “Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank” 5 As respostas ao "Fix para Munin MySQL Acompanhamento Plugin Gráfico não exibição ou em branco"

  1. tri ms Tri ms
    August 29th, 2007 02:32 29 de agosto de 2007 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 Criar um usuário MySQL com uma senha que não seja concedido a qualquer privilégio DB é mais seguro do que ponto-o diretamente para / root / .my.cnf

  2. mahmoud Mahmoud
    September 24th, 2007 23:23 24 de setembro de 2007 23:23
    2

    thank you for this kind article. muito obrigado por este tipo artigo.

    YET, /root/.my.cnf is only a shortcut. AINDA, / raiz / .my.cnf é apenas um atalho.

    am lost here ? estou perdido aqui?

  3. admin
    September 25th, 2007 01:30 25 de setembro de 2007 01:30
    3

    Why not try it out and let us know if it works? Por que não experimentá-la e deixar-nos saber se ele funciona?

  4. Pierre Labrie Pierre Labrie
    October 10th, 2007 22:18 Dez 10, 2007 22:18
    4

    It works fine in my environment without cPanel Control Panel. Ela funciona perfeitamente no meu ambiente sem cPanel Painel de Controle. I had the same problem on a machine and your procedure worked. Eu tinha o mesmo problema em uma máquina, e seu processo funcionou.

  5. tomek
    January 25th, 2008 08:40 25 de janeiro de 2008 08:40
    5

    sweetness. doçura.

    now if you could only post the same for apache Agora se você só poderia postar as mesmas para apache ,)

    thx lots, THX lotes,

    tomek.

Leave a Reply Deixe uma resposta

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> Você pode usar estas tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe without commenting Subscreva sem comentar


Custom Search

New Articles Novos Artigos

Incoming Search Terms for the Article Incoming Termos de pesquisa para o artigo

munin mysql munin MySQL - -- munin mysql plugin munin MySQL plugin - -- munin mysql password munin MySQL password - -- MySQL Munin MySQL Munin - -- munin no graph munin não gráfico - -- munin mysqlopts munin mysqlopts - -- cpanel munin plugin cPanel munin plugin - -- mysql graphs MySQL gráficos - -- munin plugin mysql munin plugin MySQL - -- munin mysql graphs munin MySQL gráficos - -- munin mysql user munin MySQL usuário - -- munin monitor mysql munin monitorar o MySQL - -- munin mysql munin MySQL - -- munin freebsd munin FreeBSD - -- munin mysql config munin MySQL config - -- website monitoring plugin for whm site acompanhamento plugin para whm - -- munin plugins munin plugins - -- munin not creating graphs munin não criar gráficos - -- munin no graphs munin não gráficos - -- munin blank graphs munin gráficos em branco - -- cpanel munin cPanel munin - -- munin blank munin em branco - -- munin mysql queries munin MySQL queries - -- troubleshoot munin plugin munin solucionar plugin - -- munin munin - -- munin mysql configuration munin MySQL configuração - -- munin plugin install munin instalar plugin - -- munin freebsd apache munin FreeBSD Apache - -- munin empty graph munin vazio gráfico - -- munin empty munin vazio - -- munin mysql monitoring munin MySQL acompanhamento - -- munin mysql stats munin MySQL stats - -- cpanel mysql munin cPanel MySQL munin - -- munin mysql problem munin MySQL problema - -- munin mysqladmin munin mysqladmin - -- munin mysql slow query munin MySQL query lento - -- munin mysql not updating munin MySQL não atualizando - -- munin apache graphs munin Apache gráficos - -- munin mysql plugin password munin MySQL plugin senha - -- mysql monitoring MySQL acompanhamento - -- munin mysql query munin MySQL query - -- munin mysql conf munin MySQL Conf - -- how to add a graph in munin como adicionar um gráfico no munin - -- mysqlopts munin mysqlopts munin - -- restart munin reiniciar munin - -- munin cpanel not updating graphs munin cPanel não atualizar gráficos - -- munin mysql blank munin MySQL em branco - -- freebsd munin mysql FreeBSD MySQL munin - -- CPANEL munin slow query graph CPanel munin lento consulta gráfico - -- برنامج Munin برنامج Munin - --