Categories
Performance Testing

Installing Munin

Prerequisites: apache2 on both server and client side

Installation-Munin:

Install the munin and munin-node in the server using

$sudo apt-get install munin munin-node

After installation Munin files will be created in following directories

/etc/munin/

/var/www/munin/

/var/log/munin/

/var/run/munin/

/var/lib/munin

We have to copy the munin folder from /var/www/munin to /opt/apache2/htdocs/

Now you can see the following files under /opt/apache2/htdocs/

favicon.ico, index.html, munin

Change the htmldir path in /etc/munin/munin.conf

htmldir = /opt/apache2/htdocs/munin

Change the ownership to munin using the following command:

chown munin:muninĀ  /opt/apache2/htdocs/munin

Login to: https://serverip/munin/ to view the graphs

Adding Plugin :

In order to generate the graph for tomcat we have to add the plugins for tomcat.

Download the plugins from http://munin-monitoring.org/ticket/74 and tar it.

(Or)

Use the plugins available in usr/share/munin/plugins

Copy the plugins to usr/share/munin/plugins(copy Tomcat_jvm again and rename it to Tomcat2_jvm forĀ  tomcat2)

Tomcat1_jvm,Tomcat2_jvm for tomcat1,tomcat2 respectively

Leave a Reply

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