Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»Monitoring Tools»How to Install Munin (Network Monitoring Tool) in CentOS, Red Hat & Fedora

    How to Install Munin (Network Monitoring Tool) in CentOS, Red Hat & Fedora

    RahulBy RahulAugust 18, 20132 Mins ReadUpdated:March 7, 2018

    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 Network Monitoring Tool on your CentOS, Fedora, and Red Hat systems.

    Step 1 – Enable Yum Repository

    First of all, you need to add enable EPEL yum repository in your system. Use the following command to install as per system architecture.

    yum install epel-release
    

    Step 2 – Install Munin Packages

    Use the 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 be required to access Munin web interface.

    Step 4 – Restart Services

    First, start Munin node service and configure to autostart 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 the following URL in the browser to access Munin web interface. Change IP/domain as per your setup.

    http://192.168.1.100/munin
    or
    http://svr2.tecadmin.net/munin
    

    munin-setup

    Wait approx one hour to view Munin graphs in the web interface.

    For more details and configuration of munin refer following links
    http://munin.readthedocs.org/en/latest/
    http://munin.readthedocs.org/en/latest/installation/configuration.html

    Installing Munin Munin Munin on CentOS Network Monitoring Tool
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleHow to Configure NFS Share on Ubuntu 18.04 & 16.04
    Next Article How To Enable Gzip Compression Apache on Ubuntu 18.04 & 16.04

    Related Posts

    How to Install Nagios Client (NRPE) on Ubuntu 20.04

    3 Mins Read

    How to Install Nagios Server on Ubuntu 20.04

    Updated:June 3, 20213 Mins Read

    How to Install Netdata Monitoring Tool on Ubuntu 20.04

    2 Mins Read

    How to Install and Configure Sysstat on Ubuntu 20.04

    Updated:July 28, 20204 Mins Read

    How To Install Zabbix Server 5.0 on Ubuntu 20.04

    Updated:August 11, 20205 Mins Read

    How To Install Zabbix Agent on Ubuntu 20.04

    Updated:July 12, 20202 Mins Read

    2 Comments

    1. Ross on March 7, 2018 11:20 am

      Thank you .Great Tutorial .
      Bookmarking !!

      Reply
    2. Khaled_Tunisia on December 8, 2014 10:27 am

      Thanks for the useful article

      Reply

    Leave A Reply Cancel Reply

    Recent Posts
    • How to Enable / disable Firewall in Windows
    • How to Install JAVA on Ubuntu 22.04
    • Switching Display Manager in Ubuntu – GDM, LightDM & SDDM
    • Changing the Login Screen Background in Ubuntu 22.04 & 20.04
    • How To Install PHP (8.1, 7.4 or 5.6) on Ubuntu 22.04
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.