Building a monitoring system based on Nagios -- installing Nagios Core
Using Nagios to build the monitoring system of this department, I have only seen this guy's name several times before. This is a real start, and now I have successfully built a test environment, monitored three machines, including the local machine, a Linux server, and a Windows Server, and re
Install and configure Nagios in Linux (1)
1. About Nagios
Nagios is an open-source computer system and network monitoring tool that can effectively monitor the status of Windows, Linux and Unix hosts, network settings such as vswitches and routers, and printers. If the system or service status is abnormal, an email o
Nagios+centreon Introduction 1. Centreon is an open source it monitoring software developed by the French in 2003, originally named Oreon, and formally renamed Centreon in 2005. 2. Centreon can simply manage and configure Nagios, which is simpler and more straightforward than nagiosql. 3. Cooperation Process: ①, Nagios writes the monitoring data to the databa
1. PrefaceFor System Workers, monitoring various running statuses of servers is one of the tasks. for a small number of servers, manual observation is not a problem, but it is too troublesome for Server clusters, as a result, many people have adopted some automation tools, such as scripts, but today we are introducing a very famous open-source project Nagios.Nagios is just a monitoring platform. All monitoring tasks are completed by plug-ins, with a high degree of customization and good configur
Nagios is an open source, free network monitoring tool that effectively monitors Windows, Linux and UNIX host status, network settings 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.Prerequisite time needs to be synchronized1.
Nagios Introduction: Nagios is an open source free network monitoring tool that can effectively monitor Windows, Linux and UNIX host status, switch routers and other network devices, printers, etc. 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
First, the principleintegrating cacti and Nagios is a plugin of cacti, nagios for cacti, which works by importing Nagios data through ndo2db into the MySQL database (the cacti library). Then cacti reads the database information and displays the results of Nagios. Second, cacti expansion moduleCacti extension modules ne
Nagios Introduction
Nagios is an open source computer system and network monitoring tool, can effectively monitor Windows, Linux and UNIX host State, switch routers and other network settings, printers and so on. When the system or service status is abnormal, send an email or SMS alert the first time to notify the site operators, in the state of recovery after t
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
Nginx is a high-performance Web and reverse proxy server with many excellent features: Nginx is a good alternative to Apache server in the case of high-connection concurrency: nginx is one of the software platforms that bosses often choose to do virtual host business in the United States. It can support responses of up to 50,000 concurrent connections. Thanks to Nginx for choosing epollandkqueue as the development model. Nagios is an open-source free
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
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
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
The company needs to build a monitoring platform in the near future, the main purpose is to realize the Server service or load abnormal timely alarm function, after the choice finally decided to use Nagios implementationInstall Nagios Core
The code is as follows
Copy Code
Yum-y install gcc glibc glibc-common gd gd-devel php openssl-devel httpdUseradd-m
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
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.