How to configure Nagios Remote Plugin Executor (NRPE) in Linux)
Nagios is one of the most powerful tools for network management. Nagios can monitor the accessibility of remote hosts and the status of running services. But what if we want to monitor anything other than the network service in the remote host? For example, we may want to monitor the disk utilization
Nagios is a great monitoring tool that can help you monitor your network's servers and so on, and has the ability to alert you to email issues, and can combine Nagios's hardware to monitor the temperature of your room and check and alarm in real time.The free version of Nagios can only monitor 7 units (not clear or 6 units), but for small businesses, it should be enough for a few important servers to be mon
One, Nagios installation:1 , install the following command:This is a few system commands that I use to define my own plugin when I monitor my service. Do not install.(1)iostat: monitoring disk IO information:Apt-getinstall Sysstat(2)Ifstat: monitoring network information:Apt-getinstall Ifstat(3)gnuplot: Drawing:Apt-getinstall gnuplot2 , ensure that the following packages are installed:
Apache2
Php
Gcccompiler and development librari
First of all, the environment of their own building. RedHat6.4 system nagios-4.0.7. Turn off SELinux and iptables services1, get ready to work, install the software that Nagios needsApachePhpGCC compilerGD Development LibrariesYum install httpd php gcc glibc glibc-common gd gd-devel2, create the accounts and groups used by Nagios, first switch to Administrator ac
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 713389 12-16 nagios-plugins-1.4.11-1.x86_64.rp
Install nagios on pure ubuntu and use 1. installation environment 1. system ubuntu-12.04.1-desktop-amd64.iso2. virtual machine VMware amp; reg; Workstation8.0.4build-7440193. remote tool xshell4 2. installation step 1. apt-getinstallssh2. create... install nagios on pure ubuntu and use 1. installation environment 1. ubuntu-12.04.1-desktop-amd64.iso System 2. virtual machine VMware®Workstation 8.0.4 build-7
Check if the package is installed because Nagios needs to rely on these packages to provide services [[emailprotected]nagios]#rpm-qgccglibc Glibc-commongdgd-develxinetdopenssl-devel[[emailprotected]nagios] #yum install-ygdgd-develxinetdopenssl-devel Build Nagios Account [[email protected]~]#useraddnagios-s/sbin/nologin
Because the Nagios source code installation process is more cumbersome, so the entire compilation of the installation process into a script to allow the system to automatically run, so as to reduce human intervention, improve efficiency.
Ideas from the "dl528888" blog, http://dl528888.blog.51cto.com/
Experimental environment: CentOS 6.3 x86_64, close firewall, SELinux set to Disabled
Installation package: nagio
1. I have mentioned some nagios Server Installation and simple configuration. Now let's talk about the server's monitoring of multiple servers and the installation configuration of the monitored server.
2. configuration of nagios Server
(1). After the default installation, nagios creates a group and some services. This file is the localhost. cfg file. Now we want
I. About Nagios1, an open-source computer system and network monitoring tools, can effectively monitor the Windows, Linux and UNIX host status, switches, routers, and other network settings. When the system or service status is abnormal, email or SMS alarm is sent, the firstThe time notifies the fragmented personnel, sends the normal mail or the text message notification after the state restores.2. Main functionsNetwork Service Monitoring (SMTP, POP3, HTTP, NNTP, ICMP, SNMP, FTP, SSH)Host resour
Chapter 2: configure the relationship between nagios and configuration files description 2.1 The Main configuration file of the main configuration file option 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
NagiosGraphicalPnpInstallation and configurationZTThe specific process is as follows:
(1) After nagios is installed, continue to install pnp. Pay attention to the installation of rrdtool. Tar-xvzf pnp-0.4.13.tar.gz
Cd pnp-0.4.13
./Configure
Make all
Make install
Make install-config
Make install-init
---------------------------------------------------------------------------------
FAQ:
*** Configuration summary for pnp 0.4.13 02-19-2009 ***
General Opt
Apache compilation and installation and Nagios front-end display
Apache compilation and Installation
To install Apache, you need to install the following packages, such as apr-util and pcre. Of course, these packages can also be included in the system, but here we compile and install these packages.
2. Download and install apr,Put the file in the/usr/local/src directory,Tar-zxvf apr-1.5.2.tar.gzCd apr-1.5.2./Configure -- prefix =/usr/local/apr/MakeMak
1, remove the dpkg installed NrpeDpkg-l | grep NrpeDkpg-p Nagios-nrpe-server2, Ubuntu under nrpe3.2.1 installationDownload nrpe3.2.1 's Source bundle: https://jaist.dl.sourceforge.net/project/nagios/nrpe-3.x/nrpe-3.2.1.tar.gzThe Nagios plugin support is required to run Nrpe on the client, and I am downloading nagios-pl
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 nagios-related rp
The previous article describes how to install Nagios Core, an article to share with you how to incorporate a remote Linux server into your monitoring scope.Part I: Installing Nagios plugins and Nrpe on remote LinuxStep one: Download the setup program for Nagios plugins and Nrep extensions[Plain]View PlainCopy
CD Downloads
wget http://
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 shared it with you.
Experiment knowledge: check_hpjd plug-in (this command is a standard c
This article is mainly for the installation of source code, please note.First step: Pre-Installation preparation, first install the required dependency package (yum-y install gcc glibc glibc-common gd gd-devel)Step two: Install Apache source code, (./configure--prefix=/usr/local/apache2; Make and make install), install Apr if prompted for a missing APR, and then specify the installation path for APR when installing Apache (--WITH-APR=/USR/LOCAL/APR).The second part: Install PHP source code, (./c
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.