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 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

  1. 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 mysqladmin

    If 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.

  2. 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.cnf

    Ensure 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.

  3. Then restart Munin service: Quindi riavviare Munin servizio:

    /etc/init.d/munin-node restart / etc / init.d / munin nodo riavviare

  4. 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 .



6 Responses to “Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank” 6 Responses to "Fix per Munin MySQL Plugin Controllo grafico non mostra o Bianche"

  1. tri ms tri ms
    August 29th, 2007 02:32 Agosto 29, 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 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

  2. mahmoud Mahmoud
    September 24th, 2007 23:23 24 settembre 2007 23:23
    2

    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?

  3. admin
    September 25th, 2007 01:30 25 settembre 2007 01:30
    3

    Why not try it out and let us know if it works? Perché non provarlo e farci sapere se funziona?

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

    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.

  5. tomek Tomek
    January 25th, 2008 08:40 25 gennaio 2008 08:40
    5

    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.

  6. Marco
    November 5th, 2008 20:32 5 Novembre 2008 20:32
    6

    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!

Leave a Reply Lascia un Commento

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> È possibile utilizzare questi tag: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe without commenting Iscriviti senza commentare


Custom Search

New Articles Nuovi articoli

Incoming Search Terms for the Article Cerca in entrata Termini per l'articolo

munin mysql munin mysql - -- munin mysql plugin munin mysql plugin - -- munin plugins munin plugin - -- munin mysqlopts munin mysqlopts - -- cpanel munin cPanel munin - -- mysql munin mysql munin - -- munin mysql config munin mysql config - -- munin plugin mysql munin plugin mysql - -- munin empty graphs munin vuoto grafici - -- mysql monitoring mysql monitoraggio - -- munin empty graph munin vuoto grafico - -- munin plugin munin plugin - -- munin config mysql munin di configurazione di MySQL - -- mysql munin plugin mysql munin plugin - -- munin not graphing munin non grafica - -- Munin WHM not graphing Munin WHM non grafica - -- munin mysql munin mysql - -- munin mysql database munin database mysql - -- whm mysql munin blank WHM mysql munin vuoto - -- munin mysql plugin configuration munin mysql plugin di configurazione - -- Munin + mysql Munin + MySQL - -- MySQL not showing + Munin MySQL non mostrando + Munin - -- munin graf blank munin Graf vuoto - -- cpanel munin mysql cPanel munin mysql - -- env.mysqlopts env.mysqlopts - -- munin MySQL queries munin query di MySQL - -- munin gráfico munin grafico - -- munin blank graphs munin grafici in bianco - -- munin mysql_connections empty munin mysql_connections vuoto - -- munin mysql user munin mysql utente - -- munin mysql error munin mysql errore - -- munin cpanel.conf munin cpanel.conf - -- munin no mysql data munin non mysql dati - -- munin mysql freebsd munin mysql FreeBSD - -- restart munin service munin riavviare il servizio - -- munin mysql graph not updating munin mysql aggiornamento grafico non - -- munin debug mysql plugin munin di debug mysql plugin - -- blank graph grafico in bianco - -- munin not updating munin non aggiornamento - -- freebsd munin FreeBSD munin - -- munin mysql slow queries munin mysql query lenta - -- munin mysql problems munin problemi mysql - -- munin-node configuration mysql path munin-nodo di configurazione di MySQL percorso - -- munin plugins install munin installare plugin - -- env.mysqladmin in /etc/munin/plugin-conf.d/munin-node env.mysqladmin in / etc / munin / plugin-conf.d / munin-node - -- munin not showing stats munin non la visualizzazione delle statistiche - -- munin plugins for mysql munin plugin per mysql - -- munin mysql plugin download munin mysql scaricare il plugin - -- munin not show any change in mysql munin non mostra alcun cambiamento in MySQL - -- munin page blank munin pagina vuota - --