Introduction: Nagios interface. See Monitoring MySQL service errors, as below:Warning:NRPE:Unable to read output1, with the Nagios monitor server on the check1.1. Run the Check_nrpe command for remote callsRun Check_nrpe on the monitor side nagiosserver check for MySQL status errors such as the following:[Email protected] ~]#/usr/lib/nagios/plugins/check_nrpe-h19
Follow the garden article to build http://www.cnblogs.com/mchina/archive/2013/02/20/2883404.html1. In the case of Nagios plugin address migration error, record resolution.2, PHP installed to 5.6.26 Version, record--------------------------------------------------------------------------------------------------------------- -----Five. Nagios server-side installation5.1 Basic Support Kit: GCC glibc glibc-comm
The CENTOS7 system used here, nagios-4.2.1.tar.gz,nagios-plugins-2.1.2.tar.gz,nrpe-3.2.1.tar.gzDownload the installation packageNagios Server-side installation package under the Guan Networkor Baidu Network diskhttps://pan.baidu.com/s/1sALFDRt3n24LRheqA6Hp4gt72qSuggest to the official websiteInstalling the Ali Yum SourceWget-o/etc/yum.repos.d/centos-base.repo Http://mirrors.aliyun.com/repo/Centos-7.repoYum
Nagios is currently a very popular system, server monitoring free software, many large domestic sites like Sohu, NetEase are using Nagios for server monitoring.Nagios is a bit of a frame in itself, for the Nagios Extended monitoring module, as well as the alarm module is very convenient, can easily add their own written service monitoring, as well as mobile phone
Nagios is currently a very popular system, server monitoring free software, many large domestic sites like Sohu, NetEase are using Nagios for server monitoring.Nagios is a bit of a frame in itself, for the Nagios Extended monitoring module, as well as the alarm module is very convenient, can easily add their own written service monitoring, as well as mobile phone
Nagios has a very powerful alarm function. You can also draw graphics when combined with PNP implementations. can be defined according to your needs: Nagios's foot type, can be said to monitor services, Nagios has done everything: The following gives Nagios installation steps. The latter will slowly update how to write footsteps define the Enterprise
1. Nagios has the following features:
1. network service monitoring (including SMTP, POP3, HTTP, NNTP, and PING)
2. server resource monitoring (CPU load, disk usage, etc)
3. You can easily customize the service monitoring plug-in you need.
4. Parallel service monitoring
5. Support for parent host rules and distributed
6. When a host or service fails, the administrator can be reminded by email or SMS.
7. Support event definitions during failures, which
1, Nrpe IntroductionNagios monitors remote hosts in a number of ways, including SNMP, NRPE, SSH, and NCSA. Here's how it monitors remote Linux hosts through Nrpe.NRPE (Nagios Remote Plugin Executor) is a daemon that runs the instrumentation command on the remote server, which allows the Nagios monitoring side to trigger the detection command on the remote host based on the installation and output the test r
Nagios Installation-server side (192.168.0.11)Then install the Nagios-related packagesYum install-y httpd nagios nagios-plugins nagios-plugins-all Nrpe Nagios-plugins-nrpeSet user and password to log in to
On the nagios page, the following error is displayed: Warning: NRPE: Unabletoreadoutput1. Go to the nagios monitoring server and check 1.1.
On the nagios page, the following error is displayed: Warning: NRPE: Unable to read output1. Go to the nagios monitoring server and check 1.1.
On the
Nagios NRPE monitoringThe procedure for a remote host is as follows.
Install nrpe on the invigilator
Wget http://nchc.dl.sourceforge.net/sourceforge/nagios/nrpe-2.12.tar.gz
Tar zxvf nrpe-2.12.tar.gz
Cd nrpe-2.12
./Configure -- prefix =/usr/local/nagios
Make all
Make install-plugin
# Install the supervisor in this step
Add a user to the monitored Machine
Groupadd
The monitoring side of the work has been done, now as long as the monitoring side of the operation;
Note: be monitored MySQL remember to set the password AH
The addition of service types is also 2:
1.web Server
2.mysql Server
The following is a script to add a Web service:
WebServices () {read-p "" Please input the Web server IP: "Webip read-p" please input the Web alias name: " Host echo "define host{host_name $host alias Web-server address $webip Check_command
Introduction to Environment >>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>Service side (monitor side): 192.168.100.2--nagios Service +check_nrpeClient (Monitored): 192.168.100.3--nrpe daemon + detection plug-inNagios's process of managing services remotely through Nrpe1. The Nagios server executes the Check_nrpe plugin installed inside it and tells Check_nrpe to detect which services.2. Connect the Nrpe on the remote m
Cacti and nagios are the necessary monitoring software for SMEs, first of all to review the advantages and disadvantages of cacti monitoring: mainly monitoring graphics traffic, through the web interface to monitor traffic, (mainly monitoring CPU memory hard disk, traffic) based on SNMP (fetch data) and RRDtool ( RRDtool is mainly the capture of data to draw images) Nagios monitoring system services, but al
One: Prepare before installationNagios server:192.168.1.10Nagios client:192.168.1.11This post installs Nagios only using the Nagios mail alarm feature, if you need to paint another installation of cacti, or other pluginsSecond: Installation ServicesTo operate on the Nagios server:Installing apache+phpYum install httpd httpd-devel php php-mysql php-common php-gd p
NagiosThe process of monitoring a Linux server is as follows:
Client Configuration:
User Creation:
Useradd nagios can modify the shell of this account in/etc/password to/sbin/nologin)
Passwd nagios
Install plug-ins:
tarzxvfnagios-plugins-1.4.11.tar.gz
cdnagios-plugins-1.4.11
./configure--prefix=/usr/local/nagios--enable-redhat-pthread-workaround
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.