Simple nagios Installation
During this period of time, I have been conducting nagios installation experiments, and have carried out many experiments. Now, some basic records are recorded.
This article describes how to install nagios easily. After installing nagios, you can view the local monitoring image on the web pag
Nagios to send alert notifications, can perfectly implement a complete set of monitoring and management systems.--------------------------------------------------------------------------------------------------------------- ---------------------------Ganglia Installation InstructionsThese dependent software can be installed in Redhat with the following commands:Yum-y Install apr-devel apr-util check-devel cairo-devel pango-devel libxml2-devel rpmbuil
NagiosThe installation is relatively simple, and the complex is the setting of settings and configuration parameters. But you need to relax. After all, we need to fix it, right? Let's get started:
1: Get the latest installation package
:Http://www.nagios.org/download
2: log on to the server as root
The latest version is 2.5:
1) nagios, Version 2.5:
Fetch http://superb-west.dl.sourceforge.net/sourceforge/
I. Preface:
1. Make sure that you have the root permission on the machine before installation.
2. confirm that the following software package has been installed on your installed linux system and continue.
Gcc compiler, gd library and Development Library
Note:
You can use the yum command to install these software packages. type the command:
Yum-y install httpd gcc glibc-common gd-devel
Read more: round-robin and progressive Nagios --- operation (2) Co
The Nagios-plugins plugin is based on the installation of Nagios core, and the installation details of Nagios core are as follows: [Nagios monitor Nagios Core installation]http://4709096. blog.51cto.com/4699096/17022191. Compiling the installation#
Note:This document is based on Nagios+apache the mode, install Nagios must be pre-compiled and installed Apache , do not proceed here Apache compile and install the repeat. One: Configuration Apache#vi/usr/local/apache/conf/extra/httpd-vhosts.confnamevirtualhost*:80Two: Create Nagios Users and Groups# useradd nagios# g
The Nagios plug-in provides two return values: one is the plug-in exit status code and the other is the first line of data that the plugin prints on the console. Exit status codes can be used by Nagios main programAs the basis for judging the service status of the monitored system, the first line of data printed by the console can be supplemented by the Nagios ma
Install the nagios plugin
tarzxvfnagios-plugins-1.4.11.tar.gz
cdnagios-plugins-1.4.11
./configure--prefix=/usr/local/nagios--enable-redhat-pthread-workaround
makeall
makeinstall
A plug-in is a special program in computer software. It cannot be executed independently but must depend on a software. It can be called in other software environments .)
After the installation is comp
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 fro
Article Title: Install Nagios in Suse9. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems and open source, and other basic categories. The Nagios Installation Process of Suse 9 is as follows:
Download the required Program
First move a source code library to get the sour
exist.
You can solve this problem by taking full advantage of the special plug-in called check_snmp_extend.sh for Nagios. After obtaining the first word of the status message, this plug-in sets the status based on the word. As this plug-in is expected, we have set messages in the sample script check_file.sh to start with OK normal), CRITICAL), WARNING), and UNKNOWN.
To start using the check_snmp_extend.sh plug-in, first
The company needs to build a monitoring platform in the near future, the main purpose is to realize the Server service or load abnormal timely alarm function, after the choice finally decided to use Nagios implementationInstall Nagios Core
The code is as follows
Copy Code
Yum-y install gcc glibc glibc-common gd gd-devel php openssl-devel httpdUseradd-m
for external command files /tr>
5.5 Installing the Nagios plugin# wget https://nagios-plugins.org/download/nagios-plugins-2.1.2.tar.gz# tar ZXVF nagios-plugins-2.1.2.tar.gz# CD nagios-plugins-2.1.2#./configure--prefix=
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
1. Introduction to nagios Default Configuration File
Read more: cyclic and progressive Nagios --- operation (1) install the Nagios Monitoring System
After nagios is installed, the default configuration file is in the/usr/local/nagios/etc directory. The following table lists
Welcome to the network technology community forum and interact with 2 million technical staff. nagios is generally used to monitor Intranet machines. In fact, if the network conditions are good, it is also feasible to monitor machines on the public network. We used to monitor 28 SQLServer2008 databases on the public network (Telecom to telecom). It turns out that the results are also good.
Welcome to the network technology community forum and interact
Nagios cannot be started, but the syntax check is disabled, and nagios cannot.
[root@mode objects]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfgNagios Core 3.4.3Copyright (c) 2009-2011 Nagios Core Development T
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.