Billing and payments
Cloud server volumes
Data centers and network
Data privacy and data portability
How it works
VPN to GPN
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:
By default, Munin creates an Apache configuration file in
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:
Installing and configuring the munin client
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:
First, you need to connect to the server, and then run the following commands:
In order for the application to start automatically after the server is turned on, you must run the following command:
Then update the web-server configuration files:
To check performance, go to the following address http://yourservername/munin/
In the window that opens, choose the required server and graph:
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