Method One
First, MySQL from the server settings
1, MySQL from the Server users add
The code is as follows
Copy Code
Add users by executing the following statement:Mysql> GRANT REPLICATION CLIENT on *.* to Monitor@localhost identified by ' PassWord ';2. Download check-mysql-slave.pl Scriptcd/usr/local/bin/wget http://www.centos.bz/wp-content/uploads/2012/10/check-mysql-slave.plchmod +x check-mysql-slave.pl3, in MySQL from the server configuration extend Mysql-slave
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
NagiosEnterprise Monitoring explanationfirst, about NagiosNagioss is a classic old brand monitoring, along with a generation of operations engineers road growth, even now is also widely used in enterprises. Nagios has three features that determine the advantages it stands for:First: Nagios is an open source monitoring product that is most convenient to deploy and configure, with no one and easiest to get st
Nagios clients generally need to Nagios-plugins,nrpe, in order to facilitate and puppet combination, so it is best to package the source code as a package
The spec file reads as follows:
Nrpe.spec:
%define name Nrpe%define version 2.13%define Release 10%define nsusr Nagios%define NSGRP Nagios%define Nsport 5666# Res
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, because the monitoring is to rely on plug-ins
1 Nagios introduces Nagios as an application for system and network monitoring. It can monitor hosts and services under the conditions you set, and provide alarm information when the status gets worse and better. Nagios was initially designed to run on Linux systems, but it can also run on Unix-like systems. Further features of
Nagios Alarm function is very powerful, plug-ins rich, and can easily realize the mail alarm, SMS alarm and micro-letter alarm. However, if a host or service problem and long time no one to deal with, alarm notification may let us carry the dimension crazy. So how can you make Nagios alert notification more intelligent? For example, after more than a few notifications issued, the notification interval autom
Nagios Monitoring SystemNagios is an open source free network monitoring tool that can monitor Windows, Linux, and UNIX host status, switch routers and other network devices, when the system or service status is abnormal when sending mail or SMS alarm, the first time to notify the site operations personnel. Traffic monitoring is not his forte, traffic monitoring recommends using cacti, which can draw very intuitive graphics..
Recently in the study of Nagios monitoring System, and then online search to view a lot of information, learn from the experience of prawns with you, organize records of their own installation records.Nagios 's full name is (Nagios Ain ' t Goona insist on Saintood), and the initial project name is Netsaint. It is a free open source IT Infrastructure monitoring system, its powerful and flexible, can effectiv
After completing the server-side setting of the Nagios, it is necessary to make the relevant settings on the monitored host side and set some monitoring parameter values.
More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/soft/tools/
The complete configuration script is as follows:
#!/bin/bash #auto Configure Nagios Linux client side #2012 -12-05 nagios_dir= "/usr/local/
Nagios Setup and ConfigurationExperimental environment centos6.5 two setsExperimental stepsI. Installing Nagios dependencies:Yum-y Install httpd gcc glibc glibc-common gd gd-devel php php-mysql mysql mysql-devel mysql-server xinetdTwo. Install and configure Nagios (monitor this machine)
Add the users and groups required for
Now there are a lot of people using Zabbix, but I think if the number of server monitoring is not much, the old monitoring system Nagios is very good. Nagios Alarm function is very powerful, and the program is small, resource footprint. Nagios default does not support drawing, you can match cacti, but build more complex. Individuals are still accustomed to using
1. nagios Basic installationInstall the GCC compiler, GD library, development library, and web Service on the server and create a nagios Account # useradd nagios# Passwd nagios# Usermod-G nagios apache # Add apache users to the nagios
Install and configure nagios in centos6.7
Nagios is an open-source free network monitoring tool that can effectively monitor the status of Windows, Linux and Unix hosts, network settings such as vswitches and routers, and printers. If the system or service status is abnormal, an email or text message alert will be sent immediately to the website O M personnel. After the status is restored, a normal email o
As a system administrator, I am most worried about stopping or stopping network services for important online systems without my knowledge, in addition, it may take a long time for the faulty service or host to know. Especially during holidays, the system administrator is very nervous. To change this passive situation, I recommend the network monitoring software Nagios. I personally think its biggest advantage is that it can send a fault warning text
Reference post: https://www.howtoing.com/ubuntu-nagios/This blog post is really valid for reference, follow the steps, basically can be successfulI. Prerequisites for installationsudo apt-get install wget build-essential apache2 php apache2-mod-php7.0 php-gd libgd-dev sendmail UnzipTwo. User and group configurationUseradd NagiosGroupadd NagcmdUsermod-a-G Nagcmd NagiosUsermod-a-G Nagios,nagcmd www-dataThree.
the problem can be a message to the poor Yun-Wei classmate called up to restore services. This matter, Nagios is basically the best solution. It has a wide variety of plug-ins, and writing custom plug-ins is extremely simple, can easily monitor from the operating system to the application of all aspects. Its configuration file is simple and easy to understand, and very powerful, a little familiar can easily according to their own needs to configure.F
The previous section describes the installation process for the Nagios monitoring service in a Linux environment, and this section details how to use some of the configuration files for the Nagios services that have already been installed and how to monitor local related services. If you want to complete monitoring of a host Nagios as the main program is essentia
As a system administrator, I am most concerned about the importance of online systems that do not shut down or stop network services without my knowledge, and that the services or hosts that fail may sometimes take a long time to know. Especially when it comes to holidays, system administrators are nervous. To change this passive situation, I recommend the network monitoring software Nagios, personally think its biggest advantage is that it can send f
1. this guide attempts to allow you to monitor local hosts by installing Nagios source programs on Ubuntu within 20 minutes using simple commands. More advanced settings are not discussed-only some basic operations, but this is enough for 95% of users to start Nagios. 1. this guide attempts to allow you to monitor local hosts by installing Nagios source programs
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.