Build Nagios monitoring under LinuxOne, what is Nagios1.nagios IntroductionNagios is a monitoring system that monitors the system's operational status and network information.Nagios can monitor the specified local or remote host and service, as well as provide exception notification functionality.Nagios runs on top of
monitored by default:10. nagios configuration file descriptionAfter nagios is installed, the main directory is/usr/local/nagios. All configuration files are in the/usr/local/nagios/etc directory:Cgi. cfgHtpasswd. users // used for web login verification.Nagios. cfg // Main configuration file of
Check_disk (on server)If normal, it will output a row of disk detection data, or may be error.cd/etc/nagios/conf.d/Vim 192.168.0.12.cfg (your IP address name) # Add the following: Define host{ use linux-server host_name 192.168.0.12 alias 0.12 address 192.168.0.12 } Define Service{Use Generic-serviceHOST_NAME 192.168.0.12Service_description Check_diskCheck_command Check_nrpe!check_diskMax_check_attempts 5Normal_c
1.Nagios IntroductionNagios is a powerful network monitoring tool, it can effectively monitor the Windows, Linux, UNIX host status and router switch network settings, printer work status, and the status of abnormal services in a timely manner in the form of mail, MSN SMS, such as the first time to notify the administrator. Because it is a follow GPLV2 open-source network
username (Nagiosadmin) And password, which you just set, use the browser installed by default in the system, and use the hyperlink below
Http: // localhost/nagios/Note: if the error "You don't have permission to access/nagios/on this server" is reported, You need to installPhpThe plug-in can solve the problem by running the command yum install php-y (yum must ensure that your linux system can be connected
Server monitoring-Nagios Installation
I. Preparations before installation
Nagios server: 192.168.1.10
Nagios client: 192.168.1.11
In this article, Nagios only uses the Nagios email alarm function. If you need to draw a picture, yo
The first two days to the Nagios under a monitoring item to add monitoring data, found that the monitoring data is there, but later found that the graphics data is not, and suddenly do not know where the problemHere are my steps to troubleshoot the issue:Log on to the Nagios
After sharing how to monitor Linux servers, let's take a look at how Nagios monitors Windows servers.
Part 1: configure the monitored Windows Server
First, visit http://sourceforge.net/projects/nscplus/and download the NSClinent ++ of the License Server. The file I downloaded was named: NSCP-0.4.1.73-Win32.msi
Double-click the installer, select Complete Install, and select generate the instance configuration file. The other one will be OK after
server via direct routing vs/ DR (Virtual Server via Direct Routing), which can greatly improve the scalability of the system. Vs/nat, Vs/tun and VS/DR technologies are three IP load balancing technologies implemented in LVS cluster.
Nagios Introduction
Nagios is a monitoring system that monitors system operation status and network information.
DescriptionThe work consists of two parts of the monitoring side (123) and the monitored end (iv)One, add script in Nrpe.cfgAdd Command index in NRPE.CFGCOMMAND[CHECK_USED_MEM]=/USR/LOCAL/NAGIOS/LIBEXEC/CHECK_USED_MEM.SH 80 90Description: Actual memory usage exceeds 80% warning; more than 90% critical warningsSecond, add the specific scriptReference Script check_used_mem.shWarn=$1Critical=$2 All= ' Free | S
is localhost, you can omit the-D indicates the target databaseIf integrated with cacti, the NPC plugin will automatically generate the required tables for ndoutils in the cacti database, which are prefixed with "npc_".3.6 Edit the Ndomod configuration file to specify the output mode and output destination host for the data# vi/usr/local/nagios/etc/ndomod.cfgOutput_type=tcpsocketoutput=127.0.0.14. Start the ndo2db daemon#/usr/local/
-c100000,200000}Note: The definition service is: The max_check_attempts parameter is recommended to be modified to 6 (default is 4), because this plug-in must run at least 3 to 4 times or more to be normal, read the data once and record in the temporary file, as follows:650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7F/44/wKioL1cYaiLROoWTAAEACZkTARQ563.png "title=" 1.png " alt= "Wkiol1cyailroowtaaeaczktarq563.png"/>To check and reload the configuration file:Service
Install nagios monitoring in yum under centos6.5
I. Nagios Server Installation
1. yum install-y httpd php mysql-devel
2. Install the nagios program on the server
Wgethttp: // response
Http://down1.chinaunix.net/distfiles/nagios-plugins-1.4.14.tar.gz
/Usr/sbin/useraddnagios
T
1. First make sure that the Nagios monitoring software is installed on the server side650) this.width=650; "title=" 6.jpg "src=" Http://s3.51cto.com/wyfs02/M00/5C/2A/wKiom1UbsOzjKJeBAAR2k-QP5TY349.jpg " alt= "Wkiom1ubsozjkjebaar2k-qp5ty349.jpg"/>2. Install the Nrpe plugin on the monitor side[email protected] ~]# yum install xinetd OpenSSL openssl-devel-y[Email protected] ~]# wget http://liquidtelecom.dl.sou
Nagios Enterprise Cluster Monitoring
Nagios is a monitoring system that monitors system running status and network information. Nagios can monitor specified local or remote hosts and services, and provide exception notifications.
Nagios is currently a very popular system, server monitoring free software, many large domestic sites like Sohu, NetEase are using Nagios for server monitoring.Nagios is a bit of a frame in itself, for the Nagios Extended monitoring module, as well as the alarm module is ver
Nagios is currently a very popular system, server monitoring free software, many large domestic sites like Sohu, NetEase are using Nagios for server monitoring.Nagios is a bit of a frame in itself, for the Nagios Extended monitoring module, as well as the alarm module is ver
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.