Article title: implementation of the Nagios network management module in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Introduction
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. Its powerful functions fully monitor servers on the network, including the status of services (apache, mysql, ntp, ftp, disk, qmail, http, etc, the status of the server.
Nagios system
2.1 Introduction to Nagios
Nagios is an open-source application software used to monitor systems and networks. it usually runs on a master server that runs Liunx or Unix operating systems. Nagios uses many of its plug-ins to monitor local and remote services. when the monitored object encounters an exception, Nagios will promptly send an alarm to the management personnel. It is a software package based on TCP/IP protocol. it contains the main nagios program and its various plug-ins. the configuration is flexible and many projects can be monitored, you can also use custom shell scripts to monitor the service, which is very suitable for network applications of various enterprises.
2.2 Main features of Nagios
The main features of Nagios are as follows:
1. monitor host resources and network services
2. allow users to design and implement simple plug-ins to monitor their specific services
3. when a problem occurs to the monitored object, the administrator will be notified in time.
4. define the event handler in advance and automatically call the corresponding handler when an object encounters a problem.
5. monitor the object status, warning prompts, and log files on the web page.
For example, 1 is the structure of Nagios:
It can be seen that Nagios adopts the distributed-centralized management mode. Install the main Nagios program on the Nagios server and the Nagios agent on the monitored host. Monitors the object status through communication between the main Nagios program and the Nagios agent program.
[1] [2] [3] [4] Next page