Modèle:Config/Munin/Bdd

De Wikinfini
Sauter à la navigation Sauter à la recherche


Installation des paquets utiles :

root # apt-get install libcache-cache-perl

Monitoring des services spécifiques :

root # cd /etc/munin/plugins/
root # ln -sf /usr/share/munin/plugins/mysql_ ./mysql_bin_relay_log

ln -sf /usr/share/munin/plugins/mysql_ ./mysql_commands
ln -sf /usr/share/munin/plugins/mysql_ ./mysql_connections
ln -sf /usr/share/munin/plugins/mysql_ ./mysql_files_tables
ln -sf /usr/share/munin/plugins/mysql_ ./mysql_innodb_bpool
ln -sf /usr/share/munin/plugins/mysql_ ./mysql_innodb_bpool_act
ln -sf /usr/share/munin/plugins/mysql_ ./mysql_innodb_insert_buf
ln -sf /usr/share/munin/plugins/mysql_ ./mysql_innodb_io
ln -sf /usr/share/munin/plugins/mysql_ ./mysql_innodb_io_pend

root # ln -sf /usr/share/munin/plugins/mysql_ ./mysql_innodb_log

ln -sf /usr/share/munin/plugins/mysql_ ./mysql_innodb_rows
ln -sf /usr/share/munin/plugins/mysql_ ./mysql_innodb_semaphores
ln -sf /usr/share/munin/plugins/mysql_ ./mysql_innodb_tnx
ln -sf /usr/share/munin/plugins/mysql_ ./mysql_myisam_indexes
ln -sf /usr/share/munin/plugins/mysql_ ./mysql_network_traffic
ln -sf /usr/share/munin/plugins/mysql_ ./mysql_qcache
ln -sf /usr/share/munin/plugins/mysql_ ./mysql_qcache_mem
ln -sf /usr/share/munin/plugins/mysql_ ./mysql_replication
ln -sf /usr/share/munin/plugins/mysql_ ./mysql_select_types

root # ln -sf /usr/share/munin/plugins/mysql_ ./mysql_slow

ln -sf /usr/share/munin/plugins/mysql_ ./mysql_sorts
ln -sf /usr/share/munin/plugins/mysql_ ./mysql_table_locks
ln -sf /usr/share/munin/plugins/mysql_ ./mysql_tmp_tables
ln -sf /usr/share/munin/plugins/mysql_queries ./
ln -sf /usr/share/munin/plugins/mysql_slowqueries ./
ln -sf /usr/share/munin/plugins/mysql_threads ./

Suppression des plugins :

root # rm /etc/munin/plugins/nfs*