In previous articles, I have introduced Nagios installation and plug-in compiling. In practice, it is found that the Nagios service is not powerful in monitoring remote hosts, and the nrpe module must be installed to support it. The following describes how
How Nagios WorksNagios functions as a monitoring service and host. But its own well does not include this part of the function. All the monitoring and testing functions are done by various plugins. After the Nagios is started, it periodically automatically calls the hammer t
Article Title: O M monitoring Nagios serialization: an important strategy for key application monitoring. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Source: it168Author: Tian
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 fo
Building a monitoring system based on Nagios -- monitoring remote Windows Server
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
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
Article Title: O M monitoring Nagios serialization 4: Monitoring Mysql servers. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Source: it168.comAuthor: Tian Yi (sery@163.com)
As t
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 en
= nagios
Make make install
Wget http://sourceforge.net/projects/nagios-cn/files/latest/download
Tar-xjf nagios-cn-3.2.3.tar.bz2
Cd nagios-cn-3.2.3
./Configure
Make all
Make install
Http://sourceforge.net/projects/nagios/files/nrpe-2.x/
Tar zxvf nrpe-2.13.tar.gz
Cd nrpe-2.1
(worktime). Then, if the defined monitoring is not in the defined alarm time period, Nagios will not send an alert notification message, no matter what happens.Notification_options: Defines the circumstances under which the monitored host (object) sends an alert notification message, the optional status
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 th
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 st
, contacts, contact group, monitoring time, and monitoring commands. As you can see from these definitions, Nagios's various profiles are interrelated and referenced to each other. To successfully configure a Nagios monitoring system, it is important to understand the depend
install: first execute the configuration./configure-prefix =/usr/local/nagios, then compile and install make; make install.
The installation path specified during the configuration process is/usr/local/nagios, instead of/usr/local/nagios-plus, the libexec directory will be generated in the/usr/local/
Nagios monitoring 4 configuration monitoring web Service, port, mysql, and other status instances
1. monitoring web Services
(1) edit services. cfg to define the service
Define service {
Use generic-service
Host_name 5-nagios-server
Service_description weburl
Check_command c
show as shown through no problemUse Nagiosql to add a host to monitorSupervise-host-addSet host name, address, select templateThen add the other services needed, first add the use of the C disk, supervision-services-addOverall setting status please follow the instructions as shownAbove is just a way to explain the definition of a service, in fact, have already defined the relevant services to monitor, so we can call these services directly, want to l
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
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
Recently need to monitor all the servers in the company, of course, there are many software can perform this function, such as Microsoft's scom, there is today's Nagios software, but the former is okay to say that the Windows platform products, or better configuration and installation, But if we're going to install 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.