We need to configure xinetd this is required for greater server security. Open this file with any editor I open with the command:
Nano /etc/xinetd.d/check_mk
After that we will need to change the lines configure ip address
Here we change the line with fax lists the ip address, translating it to the form 127.0.0.1
This is necessary so that only our server is viewed and that's it, and after that we save the file and restart it with the command:
Systemctl restart xinetd
To add a server, go back to the monitoring site and in the settings go to the “setup->hosts” items
Here you need to enter the host name (you can specify the name of your monitoring as well), also tick the box next to IPv4 and enter 127.0.0.1 because we have already indicated that we will view our server data.
After that, save the data and enable monitoring by clicking on “Save & go to service configuration". Then just wait for the download to finish and you will see up-to-date server data, as well as CPU load data that is updated every 15 minutes.