Nagios Setup and ConfigurationExperimental environment centos6.5 two setsExperimental stepsI. Installing Nagios dependencies:Yum-y Install httpd gcc glibc glibc-common gd gd-devel php php-mysql mysql mysql-devel mysql-server xinetdTwo. Install and configure Nagios (monitor this machine)
Add the users and groups req
is outside the scope of this documentation. Refer to your system documentation, search the Web, or look to the Nagios support Portal or Nagios Community Wiki for spec IFIC instructions on configuring your Ubuntu system to send mail messages to external addresses.Ten) you ' re donecongratulations! You sucessfully installed Nagios Core. Your journey to monitoring
/bin/nrpe-c/usr/local/nagios/etc/nrpe.cfg–dAfter the client starts, it can execute the command/usr/local/nagios/libexec/check_nrpe-h 127.0.0.1 in the native machine, to detect, if the Nrpe version appears, the Nrpe on behalf of the machine is OK/usr/local/nagios/libexec/check_nrpe–h Peer IP, to detect Nrpe communication is not good4 , define the Check_nrpe comma
NagiosThe device and setup of the remote monitoring software are as follows:
Figure-Nagios
As a system administrator, I'm most depressed when my main online systems stop or stop collecting services without my knowledge, in addition, it may take a long time for the faulty services or hosts to know. Especially when it comes to the festival, the system administrator is very important. To change this passive
according to the configuration, and then Nagios will be tested by a local machine, If the detection return value is incorrect, Nagios will alarm in one or more ways, as shown in the following illustration:
Figure 1. Nagios Monitoring principle Diagram
Nagios Installation and Configuration
Mud: Learning Nagios (2): Nagios configuration, mud nagios
This document consistsXiuyi Lin FengProviding friendship sponsorship, first launchedThe world
After nagios is installed, configure nagios now. For more information about nagios
Introduction of Nagios
Nagios is an open source computer system and network monitoring tool, can effectively monitor Windows, Linux and UNIX host State, switch routers and other network settings, printers and so on. When the system or service status is abnormal, send an email or SMS alert the first time to notify the site operators, in the state of recovery after the normal mail or SMS notification.
password ' _y-93ie2 '
/etc/init.d/ndo2db start
7), web Interface installation
Browser input: http://172.27.206.7/centreon/
Follow the prompts to complete the setup. Finally, you can login to the interface.
8) Start related services
/etc/init.d/nagios start
/etc/init.d/ndo2db restart
/etc/init.d/centcore start
/etc/init.d/centstorage start
/usr/local/nagios
This article consists of Su Yi Lin Feng provide sponsorship, starting in Slime Line the world Once the Nagios installation is complete, we'll configure Nagios now. For Nagios installation, refer to the article "Slime: Learning Nagios (i): Nagios installation". Description: T
Nagios Introduction
Nagios is an Open-source application used to monitor systems and networks, typically running on a master server running Liunx or Unix operating systems. Nagios uses its numerous plug-ins to realize the monitoring of the local and remote service, when the object of the monitor is abnormal, Nagios wi
There have been a lot of good summaries about Nrpe's way online, and I'm now talking about how we use NSCA to get the resource usage information for the monitored nodes we need in our system.Let's talk about the basic configuration of the Nagios server side:1. Nagios Web GUI access configuration, the system is using the recommended configuration in Nagios core, a
the PerfData data so that the Nagios will be able to generate a picture after receiving the data Pnp4nagios.
# VI command.cfg define command{ command_name submit_service_check_result command_line $USER 1$/eventhandlers/submit_service_check_result $HOSTNAME $ ' $SERVICEDESC $ ' $ servicestate$ ' $SERVICEOUTPUT $ | $SERVICEPERFDATA $ [$SERVICECHECKCOMMAND $] ' } define command{ command_name submit_host_ Check_result command_line $USER 1$/eve
xinetd restart
Test whether Nrpe works properly:
/Usr/local/nagios/libexec/check_nrpe-H localhost
Daemon:
First, xinetd is a lot of service management programs/etc/services), such as telnet and ftp. If each service has a daemon, it occupies too much resources. Therefore, xinetd is used to listen to ports in a unified manner, and someone uses it to enable the Service. In linux, services that are not used for a long time are not enabled as
can not complete the operation, here to maintain the default English, such as the following installation details:[Email protected] opt]#TarZXVF nagios-plugins-2.0.3.Tar. Gz[[email protected] opt]# CD Nagios-plugins-2.0.3[[email protected] Nagios-plugins-2.0.3]#./configure--prefix=/usr/local/nagios--with-
How to Set/etc/init. d/nagios checkconfig and/usr/local/nagios/bin/nagios, nagioscheckconfig
How to output the same results for/etc/init. d/nagios checkconfig and/usr/local/nagios/bin/nagios-v/usr/local/
monitor: Shell pythonSetting up a monitoring server: monitor the specified hostNagios Cacti Zabbix++++++++++++++++++++++++++++++++++++++++Prepare a new server for monitoring server: Configuration requirements:#setenforce 0#systemctl Stop Firewalld; Systemctl Disable FIREWALLD;#配置本地yum源#ip地址 192.168.4.56+++++++++++++++++++++++++++++++++++++++++A. Build Nagios Monitoring ServerI. Deploying the Nagios Service
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.