Nagios Study Notes
Nagios is an open-source monitoring software that monitors linux, unix, windows, and network devices and printers.
Nagios monitors different objects through various plug-ins, and manages Nagios Based on the web interface.
Nagios installation directory:
Nagios is an open-source, free network monitoring tool that effectively monitors Windows, Linux and UNIX host status, network devices such as switch routers, printers, and more. Send mail or SMS alarm when the system or service status is abnormal the first time to notify the site operators, after the status of the resumption of normal mail or SMS notification.Nsclient:windows 7 Monitoring plug-inNrpe is an extension of the monitoring software
Required installation package http://down.51cto.com/data/1877296Integrated Cacti+nagiosintegrating cacti and Nagios is a plug- in nagiosfor cacti that leverages cacti, and it works by passing Nagios data ndo2db Import into the MySQL database (cacti 's library), and then cacti Read the database information will be NagiosResults are shown.1, install php-json extension, because NPC uses ExtJS, such as the exte
Nagios FAQ 1:
It appears as though you do not have permission to view information for any of the hosts you requested
Temporary solution:
Sed-I's/use_authentication = 1/use_authentication = 0/G'/usr/local/nagios/etc/cgi. cfg
(If authentication is canceled, you can browse the host status, but cannot execute External commands on nagios web)
Solution:
Users logging o
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
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
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
Nagios ConfigurationPreparations for configuring Nagios are very important.
Figure-Nagios
Handling before Nagios Configuration
The main task is to create nagios users and their groups so that the running users of nagios are
On the nagios page, the following error is displayed: Warning: NRPE: Unabletoreadoutput1. Go to the nagios monitoring server and check 1.1.
On the nagios page, the following error is displayed: Warning: NRPE: Unable to read output1. Go to the nagios monitoring server and check 1.1.
On the
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
Introduction to Environment >>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>Service side (monitor side): 192.168.100.2--nagios Service +check_nrpeClient (Monitored): 192.168.100.3--nrpe daemon + detection plug-inNagios's process of managing services remotely through Nrpe1. The Nagios server executes the Check_nrpe plugin installed inside it and tells Check_nrpe to detect which services.2. Connect the Nrpe on the remote m
NagiosThe installation process is very simple. Let's take a look at the specific process!
Nagios is a very popular system. It is a free software for server monitoring. Many large domestic sites such as Sohu and Netease are using nagios for server monitoring.
Nagios is just a framework. It is very convenient for the nagios
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.