Open-Source MonitoringWeaponNagiosScenario Description:
For ease of Problem description, we assume that five servers (web servers, database servers, email servers, and nfs file sharing servers) need to monitor the services of several servers, monitor the resource usage of each server at the same time, this includes four items: load, disk partition usage, total number of processes, and number of current ip connections (you can also write a script to monitor more resource objects ). In addition to system administrators, these servers also have other users (such as programmers) who maintain their respective Servers. When a fault occurs, programmers who maintain the website can receive alarm emails and text messages, the Administrator does not need to receive these alarms. At the same time, users who maintain the program can log on to the monitoring server with their own accounts, view the status of the server on the web (you can only view the status of the server under the jurisdiction of others ).
Through the above description, we can organize the following table:
Tools required by the machine name role to view the status and receive alarm information
Nagios server Monitoring System Administrator (SA) Apache, nagios, nagios plugin, sendmail, perl, etc.
The email server is monitored by the system administrator, email administrator Nrpe, nagios plugin, and custom scripts.
The database server is monitored by the system administrator, dbanrip, nagios plugin, custom scripts, etc.
Web servers are monitored by system administrators, webmasterNrpe, nagios plugin, custom scripts, etc.
The Nfs Shared Server is monitored by the system administrator Nrpe, nagios plugin, and custom scripts.
The cache server (squid) is monitored by the system administrator, webmasterNrpe, nagios plugin, custom scripts, etc.
Through the description in this article, we have clearly understood the scenario of nagios, an open source monitoring tool! Hope it will be useful to you!
- Nagios Installation notes
- Suse 9 Nagios Installation Process
- Nagios monitoring WIN2003
- Install sanjianke on nagios
- Nagios authentication configuration file
- Functions of nagios