NagiosStartup and detection are as follows:
Figure-Nagios
1. Check Configuration: Nagios verification is very accurate. If you cannot start nagios correctly, you can find the answer from the error output.
/Usr/local/nagios/bin/nagios-v/usr/local/nagios/etc/nagios. cfg
Reading configuration data...
Running pre-flight check on configuration data...
...............
Total Warnings: 0
Total Errors: 0
Things look okay-No serious problems were detected during the pre-flight check
2. Start nagios
/Usr/local/nagios/bin/nagios-d/usr/local/nagios/etc/nagios. cfg
3. Check monitoring results.Now we have monitored the Local web service, but since the apache service has not been started up, so after a moment, we will normally receive emails and SMS alerts; after we get apache services up, we should be able to receive alarm messages and emails that have been restored to the service.
4. Create a web verification user.Create a user based on the authentication method of the apache configuration file:
/Usr/local/apache/bin/htpasswd-c/usr/local/nagios/etc/htpasswd sery
5. Start the apache serviceIn the browser address bar of another machine, enter http: // 59.26.240.63/nagios, and then enter the user name and password generated in step 4, you can view the current status of the monitoring system on the web page (the screen is automatically refreshed by the browser), as shown in:
Through articles and images, we can see the specific operations of O & M monitoring Nagios!