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
protected] ~]#/usr/lib/nagios/plugins/check_nrpe-hlocalhost-c check_mysql_statusNrpe:unable to read output[Email protected]mysqldb ~]#Go to run the Check_mysql_status command inside/etc/nagios/nrpe.cfg alone.First use cat to find Check_mysql command line[Email protected]mysqldb ~]# cat/etc/nagios/nrpe.cfg |grep check_mysql_statusCommand[check_mysql_status]=/usr/
One, add usersGroupadd NagcmdUseradd-g Nagcmd Nagiospasswd Nagios123456usermod-a-G nagcmd ApacheIi. installation of NagiosCd/root/downloadwget http://jaist.dl.sourceforge.net/project/nagios/nagios-4.x/nagios-4.0.7/nagios-4.0.7.tar.gzcan also be downloaded from here: http://www.nagios.org/download/tar xzvf
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#
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
Test environment: CentOS 6.4 x86_64"The first section prepares the installation package"Nagios can be downloaded to the official website of Www.nagios.org/download. The installation packages used in the testing process in this article are as follows:Nagios-4.0.8.tar.gzNagios-plugins-2.0.3.tar.gz"The second part quickly builds the environment that Nagios needs"If you have no special requirements for
Prerequisite: The lamp environment is built to complete
Remark: After Centos6.4, Centos6.5, Centos7.0 test trial!Script:
#!/bin/bash# Author:byrd# version:1.0# Site:www.t4x.org# contact:root#t4x.org#This Script for nagios-v3.5.1Path=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/binExport PATHLang= "en_US. UTF-8 "# Check If user is rootIf [$UID!= "0"]; Thenecho "Error:you must is root to run the script, please use the root to install
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
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
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
Implementation of nagios grouping and plotting code [1]
I. background
In view of the Service grouping and Image Presentation functions of zabbix and cacti, the company's leaders aim to maximize business stability and propose the "real-time display of monitoring systems by service grouping" function to the O M department, the O M Department belongs to the technical support department of the company and can
Build a printer monitoring server using nagios and monitor the nagios printer
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 shared it with
Install and configure Nagios in Linux
1. Nagios Overview
1. Introduction
Nagios is a plug-in structure, and it does not have any monitoring function. All monitoring is performed through the plug-in, so it is highly modular and flexible. Nagios monitoring objects can be divided into two types: Host and service. A host u
Nagios monitors dell server hardware and nagios monitors dell
We have mentioned earlier that omsa is used to monitor dell servers, but it must be accessed through web. This time we use nagios + check_openmanage to monitor the hardware of dell servers.
First, let's look at the figure below:
We can see that there are two ways to achieve monitoring:
1. The
Nagios before installation, Nagios needs PHP support after 3.1.x, so it is necessary to install PHP and HTTP-related support here.
First, create Nagios users and Groups
[Root@test2 ~]# useradd-s/sbin/nologin Nagios[Root@test2 ~]# Mkdir/usr/local/nagios[Root@test2 ~]# chown
nagios requires the monitored side to send data to the Nagios side in the agreed format. Monitoring includes 2 types of nodes and services. The node Monitoring convention data format is as follows:[The format is easy to understand, data commit timestamp, monitored node name, node State (up/down/unrearchable), plugin custom extra data. The state-specific explanations for each field are as follows:1. Timestam
Rotten mud: Learning Nagios (3): NRPE installation and configuration, nagiosnrip
This document consistsXiuyi Lin FengProviding friendship sponsorship, first launchedThe world
In the first two articles, we introduced the installation and configuration of nagios. The articles are "mud: Learning Nagios (1): Nagios instal
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.