1. Nagios's master configuration fileNagios's main configuration file is Nagios.cfg, whose syntax is very concise, usually # begins with the behavior Comment line, and the parameter is formatted as Log_file: Set the Nagios log file;The Cfg_file:nagios object defines the relevant file, which can be reused multiple times to specify multiple files;Cfg_dir: Sets the directory where the relevant files for the Nagios
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
PNP is a small open-source software package. It is based on PHP and PERL and uses rrdtool to plot data collected by Nagios into charts. If you want to install Nagios pnp, the detailed Nagios pnp configuration is provided here for you to refer to the configuration of Nagios pnp after installing all the software.
1. Mod
based on the understanding of Nagios and Nagiosql, the author briefly combs the relationship between the two, as shown in the following: As you can see from the diagram above, Nagios and Nagiosql share hosts, host groups, services, service groups, and so on. CFG configuration files, while in Nagiosql, you can freely control the start and stop of nagios
Nagios Monitoring System under Solaris
The article will introduce the installation process of Nagios in Solaris10, including the compilation and installation of source code; Apache installation, Nagios CGI configuration; Nagios monitoring configuration and so on.
The Nagios
With more than one NAT environment in the recent project, it is not very convenient to notify contact management if it is not ideal to deploy a complete set of Nagios (Nagios-core+apache+php+pnp4nagios) in each NAT, Then we'll start deploying Nagios distributed monitoring together.
Main Nagios Center Service deploymen
Monitoring is very important for the daily operation of the System Manager, and the more well-known open-source monitoring software has ganglia, Cacti, Nagios, Zabbix, and so on, and this time simply said Nagios installation deployment, Because Nagios is managed based on Web page view, it can be implemented using either lamp or LNMP, the more easily implemented W
Nagios Features: Tools to monitor the status of other servers using Web pagesCompositionNagios core, the core module, does not perform specific monitoring workPlugins, which is combined with core modules to enable monitoring of a specific objectWorking object:1, host, switch, router, virtual machine2. Services/Resources3. Contact4. Period5. CommandInstallation:# yum-y Install httpd gcc glibc glibc-common gd
This article refers to the http://wangzan18.blog.51cto.com/8021085/1628984http://linuxnote.blog.51cto.com/9876511/1637773First, Nagios overviewNagios is a plug-in structure, it does not have any monitoring function, all the monitoring is through the plug-in, so it is highly modular and flexible. Nagios monitors objects into two categories: Hosts and services. Hosts typically refer to physical hosts, such as
Build a monitoring server using Nagios
Chapter 4 using Nagios to build a Monitoring Server
【About Nagios]
Nagios is an open-source application software for monitoring systems and networks. It is deployed on a server-client. That is to say, you must first deploy the corresponding main suite on a server, then, deploy the
1. Principle of realization
A variety of servers in the network need to be managed and maintained, the administrator can not be in time for each of the status of the monitoring, it is necessary to use the function of the software to achieve. Nagios's function is to monitor the service and host, but he does not include this part of the function, all monitoring, detection functions are through a variety of plug-ins to complete. Start Nagios, it will pe
Nagios graphical interface is still a bit cumbersome, let's take MySQL for example. Monitoring MySQL plug-ins more, here to understand the method, rather than dead to move hard sets.
One, install Pnp4nagios
[Root@localhost objects]# yum install Pnp4nagios RRDtoolIf you can not find the replacement Epel source, blog inside a search. For Nagios installation, please refer to:
We mentioned how to install Nagiosinstallation. The client will introduce it later in the article. This article will introduce how to configure the server side of Nagiosinstallation.
We talked about how to install Nagios installation. The client will introduce it later in the article. This article will introduce how to configure the server side of Nagios.
Procedure1: Open the local. cfg file and configur
Monitor 80-Port 3306-Port passwd file changesExperiment Description: The environment is a host Linux CentOS release 6.5 (Final) 192.168.0.22 open httpd 80 port 3306 PortOne, prepare before starting the installation:1. Installing Nagios Server SoftwareA,nagios-3.5.1.tar.gzB,nagios-plugins-1.4.16.tar.gzC,nrpe-2.12.tar.gz2. Configure Environment variables:[Email pro
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.