Install munin on Plesk dedicated server

Get your servers monitored by munin and you can see the output in graphical view for the following:

  • load average
  • memory usage
  • CPU usage
  • MySQL throughput
  • eth0 traffic and more…

I have used centos for munin installation. The steps for installation are as below:

Add rpmforge repositories

root# rpm -Uhv http://apt.sw.be/packages/rpmforge-release/rpmforge-release-0.3.6-1.el4.rf.i386.rpm
root# yum -y install munin

My document root is /var/www/html/ (Plesk server)

root# cp -r /var/www/munin /var/www/html/
root# chown -R munin:munin /var/www/html/munin

Now, restart apache server

root# /etc/init.d/httpd restart

Now, check it using the browser

http://xxx.xxx.xxx.xxx/munin (xxx.xxx.xxx.xxx is your server IP)

Now, add a munin node – for this do the following

root# yum -y install munin-node

Now configure it using editor of your choice

root# nano /etc/munin/munin-node.conf

Find the line and make the necessary changes

* Allow the graph server (server.example.com/xxx.xxx.xxx.xxx) to poll the node.
allow ^xxx\.xxx\.xxx\.xxx$

Start the munin node on your server

root# service munin-node start
root# nano /etc/munin/munin.conf
[client.example.com]
address xxx.xxx.xxx.xxx
use_node_name yes

Remember to open port tcp/4949 in the firewall of the node

root# iptables -A INPUT -p tcp --dport 4949 -j ACCEPT

Let us know if this helped you.. your feedback is very vital for us.

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.

Leave a Reply

Your email address will not be published. Required fields are marked *