online, just follow the installation. Check to see if you can work properly after installation.
Knowing how Nagios manages the server object through Plug-ins, it's time to start studying how it manages remote server objects. The Nagios system provides a plug-in Nrpe. Nagios runs it periodically to obtain various stat
Tags: cal network sam data other software install plug-in PNG useraddRequirements Description :After you install Nagios, you need to monitor your local resources, such as disk space usage, number of processes, swap space, and so on. These are not provided through the network,Therefore, are local resources, can be implemented through the Nrpe plug-in data acquisition in the client, and then passed through th
and humidity, Smoke sensors, water immersion, dry contacts, UPS, APC, etc.
To learn more about nagios monitoring objects, go to the nagios official website. As follows:
Http://www.nagios.com/solutions
Ii. nagios Monitoring Method
As we mentioned above, the nagios monitoring objects are monitored through which me
1. NRPE introduction NRPE is a function extension of Nagios. it can execute plug-in programs on a remote LinuxUnix host. By installing the NRPE plug-in and Nagios plug-in on a remote server, you can provide the Nagios monitoring p
states of a monitored object. Nagios passes the thresholds for warting and crtical to the plug-in and is responsible for monitoring and analyzing the results of a specific object by the plug-in, with output information such as status information (Ok,warning,critical or Unkown) and additional detailed information.Second, the environmentSystem: CentOS 6.4x64 Minimized installationnagios-server:192.168.3.71nagios-client:192.168.3.72Iii. installation of
temperature and humidity, smoke sensor, water immersion, dry contact, UPS, APC and so on. If you want to learn more about the Nagios monitoring object, we can go to the Nagios website to view it. As follows: Http://www.nagios.com/solutions Two, Nagios monitoring method Before we talked about Nagios monitoring, what a
The code is as follows
Copy Code
wget http://ssh.xj123.info/monitor/nagios-plugins-1.5.tar.gzTAR-ZXF nagios-plugins-1.5.tar.gzCD nagios-plugins-1.5./configure--with-nagios-user=nagios--with-nagios-gro
Prerequisite: The lamp environment is built to complete
Remark: After Centos6.4, Centos6.5, Centos7.0 test trial!Script:
#!/bin/bash# Author:byrd# version:1.0# Site:www.t4x.org# contact:root#t4x.org#This Script for nagios-v3.5.1Path=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/binExport PATHLang= "en_US. UTF-8 "# Check If user is rootIf [$UID!= "0"]; Thenecho "Error:you must is root to run the script, please use the root to install
Build a monitoring server using Nagios
Chapter 4 using Nagios to build a Monitoring Server
【About Nagios]
Nagios is an open-source application software for monitoring systems and networks. It is deployed on a server-client. That is to say, you must first deploy the corresponding main suite on a server, then, deploy the
Make all
Make install
Make Install-init
Make Install-commandmode
Make Install-config
Make install-webconf
Cd.. /
2), Installation Nagios-plugins
SCP root@172.26.159.180:/root/xzy/nagios-plugins-1.4.16.tar.gz/usr/local/src/nagios-plugins-1.4.16.tar.gz
Tar zxf nagios-plugins-1.4.16.tar.gz
CD
of the host, hardware, and Linux has Send-nsca and Nrpe generally we commonly used is Nrpe, listening to TCP port 5666, and on the Windows host is used nsclient+ +, listening is 12489 and 5666 ports, which is important to be sure to open these ports on the monitored host.Before installing Nagios, you need to install the Nagi
to explain the syntax is correct.Total warnings:0Total errors:0Next in the browser input http:/server IP address/nagios login nagios, user name and password for the fifth step with HTPASSWD set, the following screen shows that you have successfully installedTwo Verify the monitoring capabilities of the Nagios server, such as monitoring server disk load on monito
/servers Create a new servers subdirectory in the/usr/local/nagios/etc/directory, where you can add a host configuration file directlymkdir servers 3. Configure the configuration file in the object directory CD objects/llTotal 48-rw-rw-r--1 nagios nagios 7716 Nov 14:18 (command definition file)-rw-rw-r--1 nagios
Install and compile the Nagios document quickly in CentOS 6.5
Install and compile the Nagios documentation-all virtual environments in CentOS 6.5.
The purpose of writing this document is to facilitate and quickly deploy Nagios, which involves configurations that you like. You can modify and apply the configurations on your own.
Network Monitor
1.Nrpe Installation
Create Nagios User
Useradd Nagios
1.1 Installed Nagios plugin by the monitor server
Tar xzvfnagios-plugins-1.4.15.tar.gz
CD nagios-plugins-1.4.15
./configure
Make
Make install
1.2 The monitor server installs the Nrpe
Recently get addicted to Saltstack, and today got the Saltstack source installation Nrpe, install Nrpe before installing Nagios-plugins, the first is Top.sls file:[email protected] salt]# cat Top.slsBase‘*‘:-Nagios[Email protected] salt]# tree Nagios #目录结构
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.