Tag Archives: server monitor

0173 | Server Monitoring With munin On CentOS 5

เอามาแปะไว้เผื่อใครสนใจ 🙂

CentOS 32 bit

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm
rpm -Uvh rpmforge-release-0.5.1-1.el5.rf.i386.rpm
rm -f rpmforge-release-0.5.1-1.el5.rf.i386.rpm

CentOS 64 bit

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
rpm -Uvh rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
rm -f rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm

หลังจากนั้นก็ตามด้วย

yum install munin munin-node
chkconfig munin-node on
cd /etc/munin
rm -f munin.conf
wget https://www.igolf.in.th/files/da_config/munin/munin.conf

mkdir -p /var/www/html/munin
chown munin:munin /var/www/html/munin
ln -s /usr/share/munin/plugins/apache_* /etc/munin/plugins/
/etc/init.d/munin-node start

จบข่าว เวลาเรียกดูก็ hxxp://ip/munin