How to Install Munin (Network Monitoring Tool) in CentOS, Red Hat & Fedora
Munin is a networked resource monitoring tool that can help analyze resource trends. Munin the monitoring tool surveys all your computers and remembers what it saw. It presents all the information in graphs through a web interface.
This article will help you to install Munin on your system.
Step 1: Setup EPEL Repository
First we need to add epel repository in our system. Use one of following command to install as per system architecture. How To Install EPEL Repository
# yum install epel-release
Step 2: Install Munin Packages
Use following command to install Munin and required packages
# yum --enablerepo=epel install munin munin-node rrdtool
Step 3: Configure Apache
By default Munin creates Apache configuration file /etc/httpd/conf.d/munin.conf. Edit Munin Apache configuration file and add following content.
# vim /etc/httpd/conf.d/munin.conf
Alias /munin /var/www/html/munin <Directory /var/www/html/munin> Options FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> <directory /var/www/html/munin> AuthUserFile /etc/munin/munin-htpasswd AuthName "Munin" AuthType Basic require valid-user ExpiresActive On ExpiresDefault M310 </directory> ScriptAlias /munin-cgi/munin-cgi-graph /var/www/cgi-bin/munin-cgi-graph
Create munin htpasswd file using following command
# htpasswd -cm /etc/munin/munin-htpasswd muninadmin New password: Re-type new password:
Above created login details will required to access Munin web interface.
Step 4: Restart Services
First start Munin node service and configure to auto start on system boot.
# /etc/init.d/munin-node start # chkconfig munin-node on
Restart Apache service
# service httpd restart
Step 5: Access Munin Web Interface
Open following url in browser to access Munin web interface. Change ip/domain as per your setup.
http://172.0.0.200/munin (This is my local system)
Wait approx one hour to view Munin graphs in web interface.
For more details and configuration of munin refer following linkshttp://munin.readthedocs.org/en/latest/
http://munin.readthedocs.org/en/latest/installation/configuration.html
http://munin.readthedocs.org/en/latest/installation/configuration.html
0 comments:
Post a Comment