In previous articles, I have introduced Nagios installation and plug-in compiling. In practice, it is found that the Nagios service is not powerful in monitoring remote hosts, and the nrpe module must be installed to support it. The following describes how Nagios uses nrpe t
operational Engineer's basic literacy indicators.Second, Nagios two core modes of work1, Nagios's first mode of operation: Remote direct connection acquisitionWhat does the remote direct-connect acquisition work mode mean? Nagios's monitoring server needs to collect data from the monitored machines, while some of the data on the monitored machines are as follows:IP Address not pass throughPort does not pass through2.
Monitor 80-Port 3306-Port passwd file changesExperiment Description: The environment is a host Linux CentOS release 6.5 (Final) 192.168.0.22 open httpd 80 port 3306 PortOne, prepare before starting the installation:1. Installing Nagios Server SoftwareA,nagios-3.5.1.tar.gzB,nagios-plugins-1.4.16.tar.gzC,nrpe-2.12.tar.gz
usage and functionality by running./check_xxx–h. Nagios can identify 4 state return information, that is, 0 (OK) indicates that the state is normal, 1 (WARNING) indicates that a certain exception occurred, 2 (CRITICAL) indicates a very eye error, 3 (UNKNOWN) indicates that the monitored object has stopped. Nagios based on the value returned by the plug-in to determine the status of the monitoring object, a
1. Experimental environment:Host Name: The software environment required by IPNagios-server 192.168.124.143 Apache, Php, Nagios, Nagios-plugins, NrpeNagios-linux 192.168.124.203 Nagios-plugins, NrpeNagios software is required on the monitor nagios-server to handle the monitored data and to provide a web interface for v
The purpose of writing this document is to facilitate the deployment of Nagios, related to the configuration of personal preferences, we modify, can be applied.First, download and install the required software1,yum install gcc mysql httpd php gd OpenSSL openssl-devel mysql-server vim wgetWget http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-4.0.7.tar.
Nagios is a monitoring system that monitors system running status and network information. Nagios can monitor specified local or remote hosts and services, and provide exception notification functions. Nagios can run on Linux/Unix platforms, at the same time, an optional browser-based WEB interface is provided to facilitate system administrators to view the netwo
1. First make sure that the Nagios monitoring software is installed on the server side650) this.width=650; "title=" 6.jpg "src=" Http://s3.51cto.com/wyfs02/M00/5C/2A/wKiom1UbsOzjKJeBAAR2k-QP5TY349.jpg " alt= "Wkiom1ubsozjkjebaar2k-qp5ty349.jpg"/>2. Install the Nrpe plugin on the monitor side[email protected] ~]# yum install xinetd OpenSSL openssl-devel-y[Email protected] ~]# wget http://liquidtelecom.dl.sou
1. The platform and the components used,Monitoring server: RHEL4 (192.168.1.211) +nagios-3.2.0+ nagios-plugins-1.4.14+ nrpe-2.12Monitored end RHEL4 (192.168.1.212) + nagios-plugins-1.4.14+ nrpe_2.12Content IntroductionThis document describes Nagios monitoring Linux server, b
setting
Create a user who logs in to the Nagios Web program, which is used by the Web login for Nagios authentication later: htpasswd-c/usr/local/nagios/etc/htpasswd.users nagiosadmin
You need to start httpd after the above process configuration is complete:/ETC/INIT.D/HTTPD start
compiling, installing nagios-pl
the status after the change is the software status. Once the test is complete, the status becomes hard.
Ii. install and configure Nagios
1. About Nagios
Nagios generally consists of a main program (Nagios), a plug-in program (Nagios-plugins), and four optional ADDON (
Tutorial on installing the nrpe client in ubuntu
1. Add users
Useradd-s/sbin/nologin Nagios
2. Copy and install the tar package to the server and decompress it.
Tar-zxvf nrpe-2.15.tar.gz
Tar-zxvf nagios-plugins-2.1.1.tar.gz
3. Compile
Cd nagios-plugins-2.1.1
./Configure -- w
description of the network structure, and the ability to distinguish between "down" and "host inaccessible" 6) notify the administrator of the changes in the working status of the host or service by email or user-defined means 7) automatic Log rolling (8) support for host monitoring in redundancy mode (9) allows you to visually view the current network status, notification and problem history, log files, and so on through the web. This component is optional.
The Nagios server does not have a Check_nrpe plug-in by default and needs to compile and install Nrpe.Nrpe provides the CHECK_NRP and Nrpe binaries and the configuration files required to start the process.For the Nagios server, it only needs to Check_nrpe plug-in to send monitoring instructions, while the monitored side needs to be monitored by the
Nagios is an open source free network monitoring tool, can effectively monitor Windows,Linux and Unix host status, switch routers and other network settings, printers and so on. Send mail or SMS alarm when the system or service status is abnormal the first time to notify the site operators, after the status of the resumption of normal mail or SMS notification. Nagios What's the difference with cacti ? In sh
devices that are no longer dependent on this device when a device fails, thus avoiding unnecessary fault information and convenient for the administrator to locate and troubleshoot in time.Four, Nagios monitoring modeAs can be seen, plug-ins are mainly divided into 5 categories, and its monitoring methods also have 5 major categories.650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/42/C0/wKioL1PYsubCGmc-AAGAKypInWs312.jpg "title=" 1.png " a
Nagios: installation and configuration
Unix/linux monitoring software
Nagios
Nagios is an open-source free network monitoring tool that can effectively monitor the status of Windows, Linux, and Unix hosts, vswitches, routers, and other network settings,
Printers, etc.
Cacti
Cacti is a set of graphic analysis tools for network traffic monitoring developed based
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.