I. Configuring Nagios ServicesThe Nagios service is run in the main profile nagios.cfg, the monitoring plug-in is called in the configuration file, the operator can set the monitoring plug-in monitoring threshold value (warning value error value); The
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 ba
An exception occurred while submitting the business alarm order, and the page was not responded. After troubleshooting, the transaction was not committed or rolled back. If the operation status of the transaction is monitored in time
An exception occurred while submitting the business alarm order, and the page was not responded. After troubleshooting, the transaction was not committed or rolled back. If the operation status of the transaction is monitored in time
Preface:An error occurred w
Our network and servers should be carefully looked after, otherwise you will have a lot of trouble or find a tool to help us manage these people care about the machine----Nagios
Here a simple configuration of the monitoring host, in-depth configuration needs a lot of learning, online information a lot
The following simple write out my own configuration, maybe t
Nagios + check_logifiles for log monitoring
During Log check, we usually use a lot of monitoring methods. To check logs, we need to use the nagios plug-in, such as the check_logfile provided by nagios, which has limited functions; we use check_logfiles produced by ConSol Lab
. Monitoring Center Server (192.168.11.30) add monitored host (192.168.11.100)The following actions are performed by the server:cd/etc/nagios/conf.d/Vim 192.168.11.100.cfg//join:definehost{use linux-server host_name192.168.11.100 alias 11.100address 192.168.11.100 }defineservice{ use generic-servicehost_name 192.168.11.100 service_descriptioncheck_ping check_commandcheck_ping!100.0,20%! 200.0,50%max_check_
First, the server-side installation:1 , build on the service side Lamp EnvironmentYum install-y httpd php2 , server-side installation Nagios Main programUseradd-s/sbin/nologing./configure--prefix=/usr/local/nagios--with-command-group=nagios./configure when Perl command not found is found to install Perl this package, or make all will be error yum install-y perlMa
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
, the dba can handle the maintenance immediately.
1. Download The redis monitoring plug-in
Redis has been installed on the server, so it can be directly monitored. For details about how to install redis clusters, refer.
2. Grant the execution permission
Copy check_redis.php and check_redis.pl to the/usr/lib/nagios/plugins/directory, and grant the execution permission,
[Root @ wgq_41 plugins] # cd/usr/lib/
allow desktop and server interaction. Then click "application ".
Nsclient ++/start
Nsclient ++/stop
Edit nsclient ++/nsc. ini:
1. The comments in front of all modules in [modules] are removed except CheckWMI. dll and RemoteConfiguration. dll.
2. In the [Settings] section, set the 'Password' option to set the password, which is required when nagios is connected. We do not need a password here!
3. Remove the comment of the 'allowed _ hosts' option in t
NagiosThe extended Host and service monitoring content is as follows:
Nagios is a widely used host and service monitoring tool. Many system administrators use it to monitor the system. This document describes the basic Nagios Installation Guide for easy reading and operatio
Deploying Nagios monitoring on the MySQL server
Deploying Nagios monitoring on the MySQL server
-- Ulimit-n 65535-- Monitor the forced installation of nagios Client1. Install[Root @ localhost nagios] # llTotal 768-Rw-r -- 1 root 7
Install and configure Nagios monitoring in Linux
Nagios installation Configuration:Nagios http://www.nagios.orgEnvironment setup:CentOS6.6 192.168.11.30 serves as the server.Centos6.6 192.168.11.100 as the client
1. Install Nagios-server (192.168.11.30)Centos6's default yum source does not contain the
Build a printer monitoring server using Nagios
Tutorial Background: The company has many HP printers, which are difficult to manage. So I thought about whether I could be a printer monitoring server to quickly respond to all the printer problems. After that, I checked the relevant information on the Internet and set up one, so there was no problem in using it. I
Nagios Structure Description
Nagios structure, can be divided into core and plug-in two parts. The core of Nagios only provides a little monitoring function, so to build a perfect IT monitoring management system, users also need to install the appropriate plug-ins in the
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 Nrpe process
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: "
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.