Nagios Structure Description
Nagios structure, can be divided into core and plug-in two parts. The core of Nagios only provides a little monitoring function, so to build a perfect IT monitoring management system, users also need to install the appropriate plug-ins in the Nagios server, Plug-ins can be downloaded from
Implementation of Nagios: Nagios adopts distributed-centralized management mode. Install the main Nagios program on the Nagios server,
Install the Nagios agent on the monitored host. Monitors the host status through communication between the main
Nagios®Core™It is an open-source system and network monitoring application that can monitor your specified host and service. When a problem occurs, you are reminded to help you improve the system. Nagios Core initially runs in Linux, but it runs in most other Unix.
Nagios Core features include:
Monitoring Network Servi
monitoring configuration-configuration of notifications
Notify by email when there is a problem with the service
1, configure the command to send mail
Edit/usr/local/nagios/etc/objects/commands.cfg
The default output macros $hostoutput$ and $serviceoutput$ only output the first line of information, and we use $longhostoutput$ and $longserviceoutput$ to output the complete information.
in order to accept the format of a good, and Chinese text-free hyp
Configuring Nagios Monitoring System filesNagios configuration file:Nagios.cfg: Master profile, defining the name and location of various configuration filesCGI.CFG: Controlling the CGI configuration fileResource.cfg: Resource file, define various variables so that other files can be calledObjects: Other configuration file directory, this directory is mainly:COMMAND.CFG: Command configuration file, define various command formats for other file callsCo
Install and compile the Nagios document quickly in CentOS 6.5
Install and compile the Nagios documentation-all virtual environments in CentOS 6.5.
The purpose of writing this document is to facilitate and quickly deploy Nagios, which involves configurations that you like. You can modify and apply the configurations on your own.
Network Monitor
Values :Check , notif or misc
Command Line
System command line that'll be run on execution
②.Increase inNagioscommand, usingADDAction:Format:
Centreon-u User name -P password -o cmd-a add-v ' command name ; type ; Command '
Note: When you define a command directly, you need to use the single quote " ' ", a variable should be included in the command" $... ". 1), execute the command:
[Email protected] ~]# centreon-uadm
Nagios+centreon of Chinese ①.Download language Files : wget Http://cacti-nagios.googlecode.com/files/messages.mo ②.Create a language directory : mkdir-p/usr/local/centreon/www/locale/zh_cn/lc_messages/ ③. move the downloaded messages.mo to the directory created in step 2 : MV messages.mo/usr/local/centreon/www/locale/zh_cn/lc_messages/ ④. Log in to Centreon, click administartors, and then click Optionto go to "my account" and change the language t
System environment:[Email protected]_server ~]# cat/etc/redhat-releaseCentOS Release 6.9 (Final)1. Update the Yum sourceMv/etc/yum.repos.d/centos-base.repo/etc/yum.repos.d/centos-base.repo.backupWget-o/etc/yum.repos.d/centos-base.repo Http://mirrors.aliyun.com/repo/Centos-6.repo2. Adjusting the character setecho ' Export lc_all=c ' >>/etc/profileSource/etc/profile3. Close Iptables and SELinux4. Update the system time/usr/sbin/ntpdate pool.ntp.orgThen put in a timed task5. Installing GCC and lamp
Monitoring targetMonitoring target host is divided into four partsHardware ResourcesOperating systemDatabaseApplication softwareMonitoring purpose:Before server performance tuning, know what to adjust and where the system bottleneck ismust be monitored at the same time, including throughput, reaction time, utilization, etc.Monitoring command:Process monitoringPsTopStorage monitoringFreeSwapon-sDf-hNetwork MonitoringIfconfigNetstatPingTraceroutePerformance monitoringCommon Performance Monitoring
functionality. Nagios can identify 4 status return information, i.e. 0 (OK) indicates normal state / Green, 1 (WARNING) ' indicates a warning / Span style= "font-family: ' italics ';" > yellow, 2 (CRITICAL) indicates a very serious error / red, 3 (UNKNOWN) / Span style= "font-family: ' italics ';" > dark yellow . Nagios determines the state of the monitored object based on the value return
Nagios is an application for system and network monitoring. It monitors hosts and services under the conditions you set
Control, and notify the administrator when the monitored object is alerted and restored based on the alarm threshold value and alarm method set by the administrator.
The following describes how to install Nagios.
Before installing Nagios, yo
1. NRPE introduction NRPE is a function extension of Nagios. it can execute plug-in programs on a remote LinuxUnix host. By installing the NRPE plug-in and Nagios plug-in on a remote server, you can provide the Nagios monitoring platform with local information about the server, such as CPU load and memory usage,
1. Introduction to NRPE
NRPE is a function extensio
The purpose of writing this document is to facilitate the deployment of Nagios, related to the configuration of personal preferences, we modify, can be applied.First, download and install the required software1,yum install gcc mysql httpd php gd OpenSSL openssl-devel mysql-server vim wgetWget http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-4.0.7.tar.
1. Experimental environment:Host Name: The software environment required by IPNagios-server 192.168.124.143 Apache, Php, Nagios, Nagios-plugins, NrpeNagios-linux 192.168.124.203 Nagios-plugins, NrpeNagios software is required on the monitor nagios-server to handle the monitored data and to provide a web interface for v
service, suitable for network applications of various enterprises.
2.2 Main features of Nagios
The main features of Nagios are as follows:
1. monitor host resources and network services
2. allow users to design and implement simple plug-ins to monitor their specific services
3. when a problem occurs to the monitored o
Nagios Secondary Development (iii) --- nagiosql architecture introduction, nagios --- nagiosql
About NAGIOSQL database structure
I personally think that if you understand the architecture of a system, you should first start with the database, because the database is the soul, and the premise is that the system uses the database. I have just mentioned the architecture. In fact, I really don't know what the a
In our first part of this article, we ' ve explained in detail on what to install and configure latest Nagios Core 4.2.0on Ce Ntos 7.2 server. In this article we'll show you how to add Remote Linux machine and it's services to Nagios monitoring host using NRPE AG Ent.We hope you already have Nagios installed and running properly. If not, please use the following
very suitable for network applications of various enterprises.
2.2 Main features of Nagios
The main features of Nagios are as follows:
1. monitor host resources and network services
2. allow users to design and implement simple plug-ins to monitor their specific services
3. when a problem occurs to the monitored objec
1. The platform and the components used,Monitoring server: RHEL4 (192.168.1.211) +nagios-3.2.0+ nagios-plugins-1.4.14+ nrpe-2.12Monitored end RHEL4 (192.168.1.212) + nagios-plugins-1.4.14+ nrpe_2.12Content IntroductionThis document describes Nagios monitoring Linux server, because the monitoring is to rely on plug-ins
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.