Install and configure Nagios in CentOS _ preparations

Source: Internet
Author: User
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:

 
 
  1. #useradd -m nagios  
  2.  

-- Create a nagcmd group to run commands transmitted through web interfaces, and add both nagios and apache

 
 
  1. #groupadd nagcmd  
  2.  
  3. #usermod -a -G nagcmd nagios  
  4.  
  5. #usermod -a -G nagcmd apache  
  6.  

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
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.