Installing Munin

0 0
Read Time:3 Minute, 39 Second

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

Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleppy
Sleppy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %
Pages: 1 2 3

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Leave a Reply

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