Setting up Munin Node on RHEL

 # Get hostings to enable EPEL on the server
yum install munin-node perl-Cache-Cache.noarch
 
vi /etc/munin/munin-node.conf
	> allow ^10\.65\.136\.59$
 
 
 # MySQL Plugin
mysql -u root -p mysql
	> create user 'monitor'@'localhost' identified by 'MyPassword';
	> grant process on *.* to 'monitor'@'localhost';
	> flush privileges;
 
vi /etc/munin/plugin-conf.d/munin-node
	> [mysql*]
	> 	env.mysqlopts -umonitor -pMyPassword
 
cd /etc/munin/
ln -s /usr/share/munin/plugins/mysql_
ln -s /usr/share/munin/plugins/mysql_innodb
ln -s /usr/share/munin/plugins/mysql_queries
ln -s /usr/share/munin/plugins/mysql_threads
ln -s /usr/share/munin/plugins/mysql_bytes
ln -s /usr/share/munin/plugins/mysql_isam_space_
ln -s /usr/share/munin/plugins/mysql_slowqueries
/etc/init.d/munin-node restart
 
 # Apache Plugin
vi /etc/httpd/conf/httpd.conf
	> ExtendedStatus On
	> server-status - Enable
 
ln -s /usr/share/munin/plugins/apache_accesses
ln -s /usr/share/munin/plugins/apache_processes
ln -s /usr/share/munin/plugins/apache_volume
/etc/init.d/munin-node restart
Print/export
QR Code
QR Code sysadmin:munin (generated for current page)