Install and configure Nagios in CentOS: preparations, installation and logon, and troubleshooting cacti are powerful in terms of network traffic performance monitoring and Chart Drawing, however, the monitoring of the server and service status and the error alarm mechanism can be achieved through the Nagios artifact described in this article. Nagios is a monitoring service.
CentOSLowerNagiosOfInstallAnd configuration: preparations, installation and logon , Error handling
The installation and configuration of cacti are powerful in terms of network traffic performance monitoring and Chart Drawing. However, it monitors the status of servers and services and provides an error alarm mechanism, you can use the Nagios artifact described in this article. Nagios is used to monitor services and hosts, and provides the alarm function when the server is abnormal according to the configuration, and provides a friendly WEB interface to view the current network status, notifications and fault history, log files ...... However, he does not include the Code of this function. All monitoring and detection functions are implemented by plug-ins.
I. installation environment:
CentOS5.4 + Apache2 +PHP5.2. Make sure you have installed PHP + Apache. Refer to the installation tutorial on Apache and PHP on this site;
2. Create Nagios users and user groups,CommandAs follows:
- #useradd -m nagios
-
-- Create a nagcmd group to run commands transmitted through web interfaces, and add both nagios and apache
- #groupadd nagcmd
-
- #usermod -a -G nagcmd nagios
-
- #usermod -a -G nagcmd apache
-
This article describes how to install and configure Nagios in CentOS. Next section: Install and log on
[Content navigation] |
Page 1: Preparations |
Page 2nd: Install and log on |
Page 1: Error Handling |