With the popularization of computer networks, network management has become one of the most important issues in the information age. Under the existing technical conditions, people hope to have a more stable and reliable network environment. The computer network management system is created in response to such requirements. It manages various devices on the network. by monitoring and controlling these devices, it reports the network status to the management personnel in a timely manner, simplifies the handling of network faults, and reduces the losses caused by faults, improve the service quality and efficiency of the network. In the face of large and small servers of an enterprise, a single network management tool or an individual is no longer competent for such a large workload and cannot meet the requirements of business urgency. Services between various types of enterprises and within the enterprise are becoming more and more common, and the tasks for enterprise administrators are also becoming heavier. Even a small company should include a large number of hardware that runs many services and software packages in their computer systems. Large companies have hundreds of similar facilities that need to be managed and run. In order to effectively manage these numerous services and software, Administrators cannot pay attention to every service and software in a timely manner.
In general, it is to solve the problem after the problem occurs, that is, the response-based solution. However, this solution is usually very inefficient. If the response is timely, it takes only a few minutes to solve the problem, but if the problem is found late, it will waste time and cause more losses. For example, if you check the service in a timely manner, you can find out whether a service is running abnormally through the log, and then solve the problem. However, if the service is abnormal and running seriously, you need to restore it, not only is it difficult, but it will also cause great losses. Therefore, an automated tool to complete such detection functions is very important for network administrators. Nagios is an open-source network management and monitoring system running on Linux. It provides powerful functions to monitor the status of servers on the network, including apache, mysql, ntp, ftp, disk, qmail, and http.