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 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
- 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 mysqladminIf 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.
- 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 rootutilizador raiz
group wheelgrupo wheel
env.mysqladmin /usr/bin/mysqladminenv.mysqladmin / usr / bin / mysqladmin
env.mysqlopts –defaults-extra-file=/root/.my.cnfenv.mysqlopts-defaults-extra-file = / raiz / .my.cnfEnsure 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.
- Then restart Munin service: Em seguida, reinicie Munin serviço:
/etc/init.d/munin-node restart / etc / init.d / munin-nó reiniciar
- 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 .
Related Articles Artigos relacionados
- Fix Munin Exim Mail Throughput Graph Not Updating Problem Fix Munin exim mail throughput gráfico não actualização problema
- Seasonality for Mac OS Reviews Sazonalidade para Mac OS opiniões
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 3 Instalando Web Server no FreeBSD 6,0 a 2,2 Apache, MySQL e 5,0 PHP 5 - Parte 3
- Must Have WordPress Plugins Deve ter WordPress Plugins
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 4 Instalar Web Server no Windows XP com Apache2, PHP5 e MySQL4 - Parte 4
- Change and Reset MySQL root Password Mudança e Reset MySQL raiz Senha
- Reset the Root Password of MySQL Server Redefinir a senha do root do servidor MySQL
- 3 Column Relaxation WordPress Theme comments-paged.php for Paged-Comments WordPress Plugin Coluna 3 Relaxação WordPress Tema comentários-paged.php para Paged-Comentários WordPress Plugin
- Record Skype Call with Call Graph Record Skype chamada a chamada gráfico
- How to Find and Replace Text in MySQL Database using SQL Como Localizar e substituir texto em SQL usando o MySQL Database

































August 29th, 2007 02:32 29 de agosto de 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 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
September 24th, 2007 23:23 24 de setembro de 2007 23:23
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?
September 25th, 2007 01:30 25 de setembro de 2007 01:30
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?
October 10th, 2007 22:18 Dez 10, 2007 22:18
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.
January 25th, 2008 08:40 25 de janeiro de 2008 08:40
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.