Monitoring machine: 192.168.10.133Monitored machine: 192.168.10.107System: CentOS 6.5_x641. Install and test SNMP on the monitor side2. Obtain the network card information of the monitored end (for the-i parameter in the script)[Email protected] mnt]#/check_traffic.sh-v 2c-c public-h 192.168.10.107-lList Interface for host 192.168.10.107.Interface index 1 orresponding to LoInterface index 2 orresponding to eth0//use this NIC interfaceInterface index 3 orresponding to Sit03. Placing scripts on th
Chapter 2: configure the relationship between nagios and configuration files
2.1 main configuration file options
The main configuration file of Nagios is/usr/local/nagios/etc/nagios. cfg.
This article briefly describes the important variables in the main configuration file.
2.1.1 object configuration file
Format: pai_
Nagios-pluginAndNrpeThe quick deployment method is as follows:
1. Install nagios-plugin and nrpe on any monitored machine. The installation directory is the same as/usr/local/nagios or depends on your actual requirements, at the same time, it is best to have mysql on the monitored machine, so that the script for monitoring mysql will be compiled, one benefit of t
There are 2 main types of surveillance this time:
1.web Server
2.mysql Server
So first of all to ensure that Nginx/apache or MySQL service startup;
The following is the function Installmysql () script for the MySQL Monitor-side deployment:
Installmysql () {Yum Install xinetd-y service xinetd start CD $path useradd-s/sbin/nologin TAR-ZXVF nagios-plugins-1.4.14.tar.gz cd nagios-plugins-1.4.14./configure
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 Nagios server, Plug-ins can be downloaded from
Fool-Operated NagiosTo conserve resources, first install a lower version of the Ossim system on the obsolete machine, and the next step in the WebUI is to turn on the Fool-operated Nagios tour without writing any code and configuration files.1. Set up network Discovery in the left menu. 650) this.width=650; "Name=" image_operate_7151442668266572 "src=" http://s10.sinaimg.cn/mw690/ 001zhpmizy6vyj4etjn09690 "alt=" Operation
How to quickly implement monitoring of Linux servers?Almost all developers who have done server monitoring know that Zabbix and Nagios are open source solutions that provide system monitoring and network monitoring capabilities, and are more experienced. Not long ago, this market ushered in a new member of the ONEAPM servers--local server monitoring field of the rising star.OneAPM Servers is a commercial-grade solution, but like two veteran players, i
Nrpe is based on the correct installation of Nagios-plugins, nagios-plugins installation details, please go to:[Nagios monitoring Nagios-plugins installation]http://4709096.blog.51cto.com/4699096/17022241. Dependency packet Detection#rpm-Q xinetd openssl-devel#yum Install xinetd Openssl-devel2. Compiling the installati
/usr/local/nagios/etc/nagios.cfg:Interval_length represents the time unit, which defaults to 60, or 1 minutes/usr/local/nagios/etc/objects/services.cfg: (This file does not exist in the new version)Normal_check_interval represents the time interval for re-detection, which defaults to 3 time unitsCheck_interval, like the Normal_check_interval, can only be in the 3. Used in XRetry_check_interval Retry TimeMax
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 to the server sent over the instructions (the
1. Overview 2. Configuration file 3. Nagios.cfg detailedNagios.cfg is the main configuration file of Nagios monitoring system and is the implementation of Nagios basic functions.The configuration and parameters in the table below are parameters for the deployment of Nagios (version 4.4.1) in this series of blogs and are for informational purposes only.log_file:/u
After the Nagios is installed, its configuration file is/usr/local/nagios/etc/, each profile has a different purpose, and the following are the meanings of each configuration file:
A, profile-related understanding [root@test1~]# cd/usr/local/nagios/etc
[Root@test1 etc]# Ls-l
-rw-rw-r--1 nagios
How to Use the Nagios remote execution plug-in (NRPE) to detect server memory usage
In the previous tutorial (), we have seen how to set the Nagios remote execution plug-in (NRPE) in Nagios settings ). However, the scripts and plug-ins that monitor memory usage are not in native Nagios. In this article, we will see how
The master-slave synchronization of Mysql and the LAMP environment were set up before the experiment, and then the nagios server was set up, and then configured on the slave side.
1. Add a user to the master database serverMysql> grant Replication client on *. * to 'nagios '@' % 'identified by 'nagios ';Mysql> flush privileges;
2. log on to the slave server and
Common functions
Functional development engineers (programmers)
Front-end engineer
Server Development Engineer
System Administrator (SA) who implements deployment and maintenance)
Special: Database Administrator (DBA)
QA)
Common functions
Not developed by a program
Artist
Planning
Business/demand Analyst
Web Application Layer-3 architecture server end front-end engineer server end engineer system administrator database administrator
Recently there are many students on nagios and cacti integration is very tangled, close-up this article for your reference, to solve everyone in nagios and cacti integration process encountered problems.One, cacti installation deploymentAs a Linux SA, the most important thing in daily life is to ensure the normal and stable operation of the website, we need to monitor the running state of the website and th
Compile NagiosThe procedure is as follows:
Compile the main Nagios Program
[Root @ KCentOS5C nagios-2.9] # make all
The Nagios main program will return information after compilation is successful.
-----------------------------------------------------
* ** Compile finished ***
If the main program and CGIs compiled without any errors, you
Can continue with installi
Nagios®Core™It is an open-source system and network monitoring application that can monitor your specified host and service. When a problem occurs, you are reminded to help you improve the system. Nagios Core initially runs in Linux, but it runs in most other Unix.
Nagios Core features include:
Monitoring Network Services (SMTP, POP3, HTTP, NNTP, PING, etc)Monito
First part: Nagios installation configuration:Nagios official website http://www.nagios.org1. Nagios Installation-ServerCENTOS6 The default Yum source does not have Nagios-related RPM packages, but we can install a epel extension source:RPM-IVH Http://www.aminglinux.com/bbs/da ... ease-6-7.noarch.rpm2. Nagios also need
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.