Home | Mirror | Search |
$ sudo apt-get install munin neo@monitor:~$ sudo vim /etc/munin/munin.conf neo@monitor:~$ sudo service munin-node restart [example.com] address 127.0.0.1 use_node_name yes [web2] address 172.16.1.2 use_node_name yes [web3] address 172.16.1.3 use_node_name yes [database] address 172.16.1.10 use_node_name yes
sudo apt-get install munin-node vim /etc/munin/munin-node.conf allow ^172\.16\.1\.2$
ln -s /usr/share/munin/plugins/mysql_* /etc/munin/plugins/
/etc/munin/plugin-conf.d/munin-node
$ sudo vim /etc/munin/plugin-conf.d/munin-node [mysql*] user root env.mysqlopts --defaults-file=/etc/mysql/debian.cnf env.mysqluser debian-sys-maint env.mysqlconnection DBI:mysql:mysql;mysql_read_default_file=/etc/mysql/debian.cnf [mysql*] env.mysqlopts -h 192.168.3.40 -uneo -pchen