Fix for Munin MySQL Monitoring Plugin Graph Not Showing or Blank Fix for MySQL Munin suivi plugin graphique ne s'affiche pas ou blanc
Munin is a monitoring tool used to survey and monitor the performance of computers, networks, SANs, applications, databases, weather measurements and other parameters. Munin est un outil de contrôle utilisés dans les régions et de surveiller les performances des ordinateurs, des réseaux, SAN, applications, bases de données, mesures météorologiques et d'autres paramètres. Munin remembers and records information it captured and presents them in graphs through a web interface. Munin se souvient et il enregistre des informations saisies et les présente sous forme de graphiques grâce à une 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, par WebHost Manager (WHM) a ajouté la Munin Service Monitor aussi facilement installé le plugin pour surveiller l'hébergeur et vérifier la capacité des ressources disponibles.
Easily install, Facile à installer, 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 version fonctionne immédiatement webmaster une fois installe sur le serveur par cPanel / WHM, et commencez à regarder et saisir les diverses ressources d'utilisation lecture, y compris les noeuds MySQL MySQL comme les débits, des requêtes MySQL, MySQL Faible requêtes, MySQL et fils. However, if you restart the server, Munin will fail to monitor MySQL nodes. Toutefois, si vous redémarrez le serveur, Munin ne parviendra pas à suivre MySQL noeuds. No information is capture, and the graphs is no longer updated with statistics and appears blank. Aucune information n'est saisie, et les graphiques n'est plus mise à jour des statistiques et apparaît en blanc. Sometimes, the MySQL graphs blank symptom may happen even when web server is not rebooted. Parfois, MySQL graphiques blanc symptôme mai se produire même lorsque le serveur Web n'est pas redémarré.
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'erreur est dû à un bogue dans une bibliothèque Perl qui utilise Munin causes $ PATH variable à être perdu, et entra le plugin ne peut pas trouver le mysqladmin dont elle a besoin pour récupérer les numéros de téléphone pour peupler dans les graphiques. 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. Désinstaller et réinstaller Munin Service Monitor mai faire ça marche encore, toutefois, une solution plus durable est dur à la voie du programme, qui fixera le problème. Here the guide on how to specify the path to mysqladmin to Munin. Voici le guide sur la façon de spécifier le chemin de mysqladmin à Munin.
Fix for Munin installed by cPanel/WHM Correction de Munin installé par cPanel / WHM
- Determine where is mysqladmin program located with the one of the following command: Déterminer où est situé mysqladmin avec celle de la commande suivante:
which mysqladmin qui mysqladmin
type mysqladmin Type de mysqladmin
locate mysqladmin localiser mysqladminIf should return a path to mysqladmin which looks similar or the same to /usr/bin/mysqladmin. Si devrait revenir à un chemin mysqladmin qui ressemble ou le même dans / usr / bin / mysqladmin.
- Edit the /etc/munin/plugin-conf.d/cpanel.conf Munin configuration file, and modify the [mysql*] to look like below: Modifier le fichier / etc / Munin / plugin-conf.d / cpanel.conf Munin fichier de configuration, et de modifier le [mysql *] à regarder comme ci-dessous:
[mysql*][* MySQL]
user rootutilisateur root
group wheelgroupe roue
env.mysqladmin /usr/bin/mysqladminenv.mysqladmin / usr / bin / mysqladmin
env.mysqlopts –defaults-extra-file=/root/.my.cnfenv.mysqlopts-defaults-extra-file = / root / .my.cnfEnsure the env.mysqladmin value is path returned by step above. Assurer la env.mysqladmin valeur est renvoyé par voie étape ci-dessus. Also ensure that /root/.my.cnf contains correct root password to the MySQL databases. Veillez aussi à ce que / root / .my.cnf contient corriger mot de passe root à la base de données MySQL.
- Then restart Munin service: Ensuite, redémarrez le service Munin:
/etc/init.d/munin-node restart / etc / init.d / Munin-noeud redémarrer
- Wait a while for MySQL statistics to be gathered, and check the graphs again. Attendez un peu pour MySQL statistiques à recueillir et vérifier les graphiques.
Fix for Host or Server without cPanel Control Panel Fix for hôte ou le serveur sans panneau de contrôle 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 Il vous suffit d'ajouter le "env.mysqladmin / usr / bin / mysqladmin" (Veiller à ce que le chemin d'accès est correct en fonction de votre système) dans le fichier / etc / Munin / plugin-conf.d / Munin-noeud fichier faire l'affaire, selon Munin FAQ Munin FAQ .
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANT: Il s'agit d'une machine qui traduit la page est fourni «tel quel», sans garantie. Machine translation may be difficult to understand. La traduction automatique mai être difficile à comprendre. Please refer to S’il vous plaît se référer à original English article l'article original en anglais whenever possible. chaque fois que possible.
Share and contribute or get technical support and help at Partagez et contribuer ou obtenir de l'aide technique et l'aide à My Digital Life Forums Ma vie numérique forums .
Related Articles Articles connexes
- Fix Munin Exim Mail Throughput Graph Not Updating Problem Fix Munin Exim mail débit pas la mise à jour graphique problème
- Seasonality for Mac OS Reviews La saisonnalité pour Mac OS commentaires
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 3 Installation du serveur Web dans FreeBSD 6,0 avec Apache 2,2, 5,0 MySQL et PHP 5 - Partie 3
- Must Have WordPress Plugins Doit avoir de wordpress
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 4 L'installation de Web Server sous Windows XP avec Apache2, MySQL4 et PHP5 - Partie 4
- Reset the Root Password of MySQL Server Réinitialiser le mot de passe root du serveur MySQL
- Change and Reset MySQL root Password Changement et Réinitialiser le mot de passe root
- 3 Column Relaxation WordPress Theme comments-paged.php for Paged-Comments WordPress Plugin Colonne 3 Détente WordPress-Thème commentaires paged.php pour Paged-Commentaires Plugin WordPress
- Record Skype Call with Call Graph Record appel avec Skype Call Graph
- How to Find and Replace Text in MySQL Database using SQL Comment rechercher et remplacer du texte dans la base de données MySQL en utilisant SQL






August 29th, 2007 02:32 29 août 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 Créer un utilisateur MySQL avec un mot de passe qui n'est pas accordée à tout privilège PB est plus sûr que le point directement dans / root / .my.cnf
September 24th, 2007 23:23 Septembre 24th, 2007 23:23
thank you for this kind article. je vous remercie pour ce type d'article.
YET, /root/.my.cnf is only a shortcut. ENCORE, / root / .my.cnf est seulement un raccourci.
am lost here ? suis perdu ici?
September 25th, 2007 01:30 Septembre 25th, 2007 01:30
Why not try it out and let us know if it works? Pourquoi ne pas l'essayer et faites-nous savoir si ça marche?
October 10th, 2007 22:18 Octobre 10th, 2007 22:18
It works fine in my environment without cPanel Control Panel. Cela fonctionne très bien dans mon environnement sans cPanel Panneau de configuration. I had the same problem on a machine and your procedure worked. J'ai eu le même problème sur une machine et votre procédure de travail.
January 25th, 2008 08:40 25ème Janvier, 2008 08:40
sweetness. douceur.
now if you could only post the same for apache maintenant si vous pouvez seulement afficher le même pour Apache
thx lots, THX lots,
tomek. Tomek.