How To Install munin on CentOS 7

In this tutorial we learn how to install munin on CentOS 7. munin is Network-wide resource monitoring tool

Introduction

In this tutorial we learn how to install munin on CentOS 7.

What is munin

Munin is a highly flexible and powerful solution used to create graphs of virtually everything imaginable throughout your network, while still maintaining a rattling ease of installation and configuration. This package contains the grapher/gatherer. You will only need one instance of it in your network. It will periodically poll all the nodes in your network it’s aware of for data, which it in turn will use to create graphs and HTML pages, suitable for viewing with your graphical web browser of choice. You must also install munin-nginx or munin-apache sub-package to generate web graphs. See /usr/share/doc/munin-/.conf for example nginx/apache config files and installation instructions.

We can use yum or dnf to install munin on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install munin.

Install munin on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install munin using yum by running the following command:

sudo yum -y install munin

Install munin on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install munin using dnf by running the following command:

sudo dnf -y install munin

How To Uninstall munin on CentOS 7

To uninstall only the munin package we can use the following command:

sudo dnf remove munin

References

Summary

In this tutorial we learn how to install munin on CentOS 7 using yum and dnf.