Crmgo Blog

Munin (Web Server Monitoring)

Munin (Web Server Monitoring)

Installing Munin on CentOS/RedHat/Fedora After you have connected the EPEL repository, the installation is performed in a single command. Well then, let's get started: 1 # yum --enablerepo=epel install munin munin-node rrdtool If the command above does not work for you (which I doubt), then…

Munin (Web Server Monitoring)

Installing Munin in CentOS/RedHat/Fedora

After adding the EPEL repository, the installation can be performed with a single command. Let's get started:

If the command above does not work (which I doubt), then perform the installation not via the repository, but directly through the yum package manager:

The installation itself will take, at most, about 5 minutes. We have installed it; now we need to configure the software.

Configuring Munin in CentOS/RedHat/Fedora

By default, Munin creates an Apache configuration file at /etc/httpd/conf.d/munin.conf. Therefore, we will now slightly edit the Munin configuration and add the following content to the config file:

At the very top, I inserted the following lines (immediately after the comments):

We need to fix one more configuration file:

Add/Modify as shown below.

Save and close the file.

Set ownership for Munin using the following command:

You can change the name for the web interface in the file (by default it says Munin), but I changed it to my own:

and specify:

Create a user (I named it munin_admin) and assign it a password. To do this, execute:

This is necessary so that we can log in to the web interface of the Munin program.

We are almost done. We need to restart the Apache service and start Munin itself (you can also optionally add the service to your OS's startup). To do this:

Note: This post may be AI-assisted and then human-edited. Editorial responsibility: Dmytro Lomaka, Kaltenkirchen.