Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank Correzione per il monitoraggio Munin mysql plugin grafico non mostra o in bianco
Munin is a monitoring tool used to survey and monitor the performance of computers, networks, SANs, applications, databases, weather measurements and other parameters. Munin è uno strumento di controllo utilizzato per sondaggio e monitorare le prestazioni del computer, reti, SAN, applicazioni, database, misurazioni meteorologiche e di altri parametri. Munin remembers and records information it captured and presents them in graphs through a web interface. Munin ricorda e si registra informazioni catturate e li presenta in grafici attraverso un interfaccia 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, attraverso webhost Manager (WHM), è aggiunto il Munin Servizio Monitor facilmente installato come plugin per controllare l'host Web e controllare la capacità delle risorse disponibili.
Easily install, Facilmente installare, 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. versione 1.24 funziona immediatamente i webmaster di una volta installato sul server tramite cPanel / WHM, e avviare il controllo e l'acquisizione di varie risorse 'utilizzo di lettura, tra cui MySQL nodi come MySQL throughput, le query di MySQL, MySQL Query Slow, e MySQL thread. However, if you restart the server, Munin will fail to monitor MySQL nodes. Tuttavia, se si riavvia il server, Munin non riuscirà a controllare i nodi MySQL. No information is capture, and the graphs is no longer updated with statistics and appears blank. Nessuna informazione è la cattura, i grafici e non è più aggiornato con le statistiche e sembra vuota. Sometimes, the MySQL graphs blank symptom may happen even when web server is not rebooted. A volte, MySQL grafici in bianco sintomo può accadere anche quando server web non è riavviato.
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. L'errore è a causa di un bug in una libreria Perl Munin usi che provoca variabile $ PATH per essere perso, e quindi fa sì che il plugin non riesce a trovare il programma mysqladmin di cui ha bisogno per recuperare i numeri per popolare nei grafici. 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. Disinstallare e reinstallare Munin Servizio Monitor può rendere le opere di nuovo, tuttavia, una soluzione più permanente di compilazione è il percorso del programma, che risolverà il problema. Here the guide on how to specify the path to mysqladmin to Munin. Qui la guida su come specificare il percorso di Munin mysqladmin.
Fix for Munin installed by cPanel/WHM Fix per Munin installato da cPanel / WHM
- Determine where is mysqladmin program located with the one of the following command: Stabilire il luogo in cui è situato mysqladmin programma con uno dei seguenti comandi:
which mysqladmin che mysqladmin
type mysqladmin tipo mysqladmin
locate mysqladmin individuare mysqladminIf should return a path to mysqladmin which looks similar or the same to /usr/bin/mysqladmin. Se deve restituire un percorso di mysqladmin, che è simile o lo stesso in / usr / bin / mysqladmin.
- Edit the /etc/munin/plugin-conf.d/cpanel.conf Munin configuration file, and modify the [mysql*] to look like below: Modificare il file / etc / munin / plugin-conf.d / cpanel.conf Munin file di configurazione, e modificare il [mysql *] a guardare come di seguito:
[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. Garantire il valore è env.mysqladmin percorso restituito dal passo precedente. Also ensure that /root/.my.cnf contains correct root password to the MySQL databases. Anche fare in modo che / root / .my.cnf contiene corretta password di root per il database MySQL.
- Then restart Munin service: Quindi riavviare Munin servizio:
/etc/init.d/munin-node restart / etc / init.d / munin nodo riavviare
- Wait a while for MySQL statistics to be gathered, and check the graphs again. Aspetta un po 'di tempo per MySQL statistiche per essere raccolti, e verificare i grafici di nuovo.
Fix for Host or Server without cPanel Control Panel Fix per host o server senza cPanel Pannello di controllo
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 aggiungere il "env.mysqladmin / usr / bin / mysqladmin" (garantire che il percorso sia corretto in base al proprio sistema) per il file / etc / munin / plugin-conf.d / munin-nodo di file farà il trucco, in base al Munin FAQ Munin FAQ .
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Questa è una macchina tradotto pagina che è fornito "così come sono" senza garanzia. Machine translation may be difficult to understand. La traduzione automatica può essere difficile da capire. Please refer to Si prega di fare riferimento a original English article articolo originale in inglese whenever possible. ogniqualvolta ciò sia possibile.
Share and contribute or get technical support and help at Condividere e contribuire o ottenere supporto tecnico e contribuire a My Digital Life Forums La mia vita digitale forum .
Related Articles Articoli correlati
- Fix Munin Exim Mail Throughput Graph Not Updating Problem Fix Munin exim mail grafico non throughput aggiornamento problema
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 3 Installazione di server Web in FreeBSD 6.0 con Apache 2.2, MySQL 5.0 e PHP 5 - Parte 3
- Reset the Root Password of MySQL Server Reimpostare la password di root di MySQL Server
- Change and Reset MySQL root Password Cambiamento e di ripristino della password di root di MySQL
- Apache Status (whm-server-status) in cPanel WebHost Manager Returns Blank Page Apache Status (WHM-server-status) in cPanel webhost Manager Restituisce pagina vuota
- Check and Optimize MySQL Database Automatically with Crontab/Cron Controllare e ottimizzare i database MySQL automaticamente con crontab / cron
- Using phpMyAdmin for Effective MySQL Management in Windows XP Utilizzo di phpMyAdmin per la gestione efficace di MySQL in Windows XP
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 4 Installazione di server Web in FreeBSD 6.0 con Apache 2.2, MySQL 5.0 e PHP 5 - Parte 4
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 5 Installazione di server Web in FreeBSD 6.0 con Apache 2.2, MySQL 5.0 e PHP 5 - Parte 5
- Permanently Disable AdSense-Deluxe WordPress Plugin Reward Plugin Author Option Disattivare permanentemente adsense-deluxe wordpress plugin plugin ricompensa autore opzione

































August 29th, 2007 02:32 Agosto 29, 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 Creare un utente di MySQL con una password che non viene concesso il privilegio di qualsiasi DB è più sicuro che punto direttamente al / root / .my.cnf
September 24th, 2007 23:23 24 settembre 2007 23:23
thank you for this kind article. la ringrazio per questo tipo articolo.
YET, /root/.my.cnf is only a shortcut. ANCORA, / root / .my.cnf è solo una scorciatoia.
am lost here ? sono perse qui?
September 25th, 2007 01:30 25 settembre 2007 01:30
Why not try it out and let us know if it works? Perché non provarlo e farci sapere se funziona?
October 10th, 2007 22:18 10 Ottobre 2007 22:18
It works fine in my environment without cPanel Control Panel. Esso funziona bene nel mio ambiente senza cPanel Pannello di controllo. I had the same problem on a machine and your procedure worked. Ho avuto lo stesso problema su una macchina e la vostra procedura lavorato.
January 25th, 2008 08:40 25 gennaio 2008 08:40
sweetness. dolcezza.
now if you could only post the same for apache ora se volesse solo posto lo stesso per apache
thx lots, THX lotti,
tomek. Tomek.
November 5th, 2008 20:32 5 Novembre 2008 20:32
hi all, play with mysql monitoring tool. Ciao a tutti, giocare con mysql strumento di controllo. then look what i have found monyog. quindi guardare quello che ho trovato monyog. simply rocks!!! semplicemente rocce!