Knowledge Base
Accounts
Billing and payments
Cloud server volumes
Cloud servers
Cloud storage
Customer portal
Data centers and network
Data privacy and data portability
Dedicated servers
Firewall
How it works
Kubernetes clusters
L2 segments
Linux administration
Load balancing
Support
VPN to GPN
Windows administration
Embargoed and Sanctioned Countries
How to install Munin on Ubuntu and CentOS
Munin is a free monitoring system. It allows you to collect data from multiple servers simultaneously and display everything in clear and intuitive graphs. It has modular architecture, and works based on the “Master-Node” principle. It uses RRDtool to create graphs that are accessible via the web interface.
The munin package is responsible for gathering information from the munin-node and generating the necessary graphs. It is installed only on the computer where the reports will be viewed.
The munin-node package is a munin server, which is used to collect the necessary information from the system components and transfers it to the munin server.
Installing and configuring the munin server
Munin is installed running the following command:
CentOS:
Ubuntu:
By default, Munin creates an Apache configuration file in
CentOS: /etc/httpd/conf.d/munin.conf
Ubuntu: /etc/munin/apache.conf (simlink /etc/apache2/conf.d/munin)
Add the following line in CentOS
Then change /etc/munin/munin.conf
Uncomment the lines:
Then the client machine(s) are added. To do it, add the following line to the same file:
Set the necessary rights to Munin, running the command:
CentOS:
Ubuntu:
Installing and configuring the munin client
CentOS:
Ubuntu:
Indicate the client machine’s name in the configuration file /etc/munin/munin-node.conf
Next, you must allow access from the server to the client machines. To do this, you must specify the IP address of the server. In this block, you can specify several servers at once.
Afterwards, restart the Munin client:
Configuring authorization in the web interface
After having connected to the server, it is necessary to bring the configuration file munin.conf to the following form:
CentOS:
Ubuntu:
Running Munin
First, you need to connect to the server, and then run the following commands:
CentOS:
Ubuntu:
In order for the application to start automatically after the server is turned on, you must run the following command:
CentOS:
Ubuntu:
Then update the web-server configuration files:
CentOS:
Ubuntu:
To check performance, go to the following address http://yourservername/munin/

In the window that opens, choose the required server and graph:

Running Munin
Only a few monitoring plugins are active by default. There are many other plugins available and, if necessary, you can add them by creating a symbolic link to the plugin.
A complete list can be found in the directory /usr/share/munin/plugins/
Restart the munin-node service in your munin client