This article is a mirror article of machine translation, please click here to jump to the original article.

View: 2752|Reply: 2

[linux] Linux deploys the Netdata performance monitoring tool using Docker

[Copy link]
Posted on 9/4/2024 10:43:10 PM | | | |
Requirements: Linux small host deployment of a visual monitoring tool, which can support viewing through the web, I have seen the Netdata performance monitoring tool on the openwrt system before, and I have also used Grafana+Prometheus+Node Exporter before, and the effect is also very good, but after all, there is only one computer, and this combination is too heavy.

Grafana+Prometheus+Node Exporter fetches Linux server metrics
https://www.itsvse.com/thread-9971-1-1.html

Here is the AI's response:
There are many Linux server monitoring visualization dashboards, and here are a few popular tools for you:

Grafana: An open-source data visualization and analysis platform that supports multiple data sources (such as Prometheus, InfluxDB, etc.) and can create rich visual dashboards to display various metrics for Linux servers.

Kibana: Elasticsearch's open-source data visualization tool, mainly used for log analysis, supporting statistical charts, search, viewing, and other functions, suitable for scenarios that require a large amount of log analysis.

Netdata: A real-time automatically generated Linux system resource monitoring tool that provides a rich graphical interface for monitoring CPU, memory, disk, network, and other indicators.

Zabbix: An enterprise-level open-source monitoring solution with powerful monitoring functions, including automatic discovery, distributed monitoring, fault alarm, etc. Zabbix provides a rich web interface to display various monitoring indicators.

Cacti: A traffic monitoring tool based on the RRD database, which uses SNMP to obtain network device information, can draw historical curves, and supports more monitoring objects through plug-in extensions.

Prometheus: An open-source time series database commonly used for service monitoring in containerized environments. With visualization tools such as Grafana, it is possible to achieve comprehensive monitoring of Linux servers.

Nagios: A classic open-source monitoring tool that monitors hosts, services, applications, and more, with fault alarm functions. Nagios itself only provides a basic web interface, which allows for richer visualizations by installing plugins.

Iptop: A network monitoring tool similar to the top command, which can display network traffic and connection information in real time.

Choose the appropriate monitoring visual dashboard tool based on your actual needs and scenarios. Some tools are better suited for large enterprise environments, while others are better suited for smaller teams or individual users.
Official Website:The hyperlink login is visible.
GitHub address:The hyperlink login is visible.

This article is deployed on Rocky Linux 9 using docker-compose with the following docker-compose.yml configuration file:

Then, the browser opens:http://ip:19999/The effect after running for a period of time is as follows:



Reference:The hyperlink login is visible.




Previous:Linux uses chrony to synchronize system time
Next:Docker looks at the latest specific (corresponding) version of the image
 Landlord| Posted on 9/6/2024 9:08:11 AM |
If the firewall is turned on, port 19999 may not be accessible


Option 1 (not recommended)

Permanently turn off the firewall with the following command:

Option 2

Let the tcp 19999 port with the following command:

firewall-cmd --permanent --add-port=19999/tcp This command is used to permanently open a port (in this case, port 19999) in the firewall. Now, let's explain the parameters in this command one by one:

firewall-cmd: This is a command-line tool used to manage Fedora/RedHat/CentOS system firewalls (firewalld services).

--permanent: This parameter indicates that the changes made are permanent, i.e. the changes are still in effect even if the system is rebooted. If this parameter is not used, the modification will only take effect in the current running session.

--add-port=19999/tcp: This parameter indicates the port number and protocol type to be added and opened. In this example, the port number is 19999 and the protocol type is TCP. You can change the programming of other ports or protocols (such as UDP) as needed.

To sum up, what this command does is permanently open port 19999 under the TCP protocol in the firewall. After executing this command, make sure to reload the firewall configuration to apply the changes you made, which can be achieved using the firewall-cmd --reload command.


 Landlord| Posted on 9/25/2025 10:50:10 AM |
sysstat tutorial for Linux system performance monitoring tools
https://www.itsvse.com/thread-11076-1-1.html
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com