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 runnin
The previous section describes the installation process for the Nagios monitoring service in a Linux environment, and this section details how to use some of the configuration files for the Nagios services that have already been installed and how to monitor local related services. If you want to complete monitoring of a host
The previous section describes the installation process for the Nagios monitoring service in a Linux environment, and this section details how to use some of the configuration files for the Nagios services that have already been installed and how to monitor local related services. If you want to complete monitoring of a host
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 Nagios uses nrpe to monitor remote host survival, disk space, l
1, Nrpe realize the principle of remote host monitoring
Nrpe is a feature extension of Nagios that can execute plug-ins on remote Linux/unix hosts, providing some local information about the server to the Nagios monitoring platform by installing Nrpe artifacts and Nagios plug-ins on the remote server. For example, CPU
Nagios NRPE monitoringThe procedure for a remote host is as follows.
Install nrpe on the invigilator
Wget http://nchc.dl.sourceforge.net/sourceforge/nagios/nrpe-2.12.tar.gz
Tar zxvf nrpe-2.12.tar.gz
Cd nrpe-2.12
./Configure -- prefix =/usr/local/nagios
Make all
Make install-plugin
# Install the supervisor in this step
exactly the same way as the Check_nrpe command, and you do not know how to use check_nrpe–h to see it.3.2 Defining monitored host information#vim/usr/local/nagios/etc/objects/hosts.cfgDefine Host{#引用主机linux-server Property Information, the Linux-server host is defined in the Templates.cfg file.Use Linux-serverHOST_NAM
Monitoring Windows HostsNagios monitors Windows system hosts with three implementations: Snmp,nsclient++,nrpe, the next two ways to install the agent on Windows, this document only describes using the nsclient++ method to monitor WindowsInstalled and configured by the Monitoring machine Windows host plug-in:Http://nsclient.org/nscp/downloadsHere I use the 0.3.8.zip version, found that with the latest version of 0.3.9 in Windows Server2003 SP1 compatib
/check_esxi_hardware.php#.VWV5_JCUfTAwhichRequirements-Python must be installed-The Python extension PYWBEM must be installedWindows users click here for a step-by-step the guide and the Install Python and PYWBEM on a Windows server.-If There is a firewall between your monitoring and ESXi server, open ports 443 and 5989These are the prerequisites for implementing monitoring:1.python must be installedExpansion pack PYWBEM for 2.python must be installed3. The 443,5989 port of your ESXi
These monitors include host survival, disk space monitoring, load monitoring, process Count monitoring, and ip connection monitoring. (1) define the host configuration file hosts. cfgdefinehost {host_namecacti.comaliasnagiosserveraddress192.168.10.195contact_groupsadmin on the monitoring server, including host survival, disk space monitoring, load monitoring, pro
These monitors include host survival, disk space monitoring, load monitoring, process count monitoring, and ip connection monitoring.(1) define the host configuration file hosts. cfg on the Monitoring ServerDefine host {Host_name cacti.comAlias nagios serverAddress 192.168.10.195Contact_groups adminsCheck_command check
Nrpe is based on the correct installation of Nagios-plugins, nagios-plugins installation details, please go to:[Nagios monitoring Nagios-plugins installation]http://4709096.blog.51cto.com/4699096/1702224Note: Only nagios-plugins can be installed on the monitored
Average is 0.06Add a custom script to the Nagios of the server-side test 192.168.5.10[Root@nhserver2 ~]# Cd/usr/local/nagios/etc/objects[Root@nhserver2 objects]# Vim Hosts_192.168.5.110.cfgDefine Host{Use Linux-serverHOST_NAME 192.168.5.110Alias 192.168.5.110Address 192.168.5.110}Define Hostgroup{Hostgroup_name Nh_linuxsAlias Nh_linuxsMembers 192.168.5.110}Defin
in the Nagios add monitored hosts and services on the server:Nagios configuration file:[Email protected] etc]# CD objects/[[email protected] objects]# lscommands.cfg (define monitoring commands) localhost.cfg (define what to monitor) switch.cfg (define switch) timeperiods.cfg (template file)contacts.cfg (define a contact) printer.cfg (definition of printer template) templates.cfg (template customization file) windows.cfg (Monitoring Windows and their
NagiosThe extended Host and service monitoring content is as follows:
Nagios is a widely used host and service monitoring tool. Many system administrators use it to monitor the system. This document describes the basic Nagios Installation Guide for easy reading and operation. The Installation Guide describes how to in
Nagios monitors vsphere ESXi host hardware status (CPU fan, power module, hard drive, temperature)Read-only accounts and passwords for ESXi (this article takes chkhardware/chkreadonly as an example)Insert frame, this address is accompanied by the relevant instructions: http://www.claudiokuenzler.com/nagios-plugins/check_esxi_hardware.phpESXi
Introduction of Nagios
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 afte
Migrating Nagios monitoring Encounters this problem: the Nagios monitoring host displays down and the monitored services are normal.Query a lot of information is that the server disables all pings caused;View the firewall configuration under the new server, Port 5666 is OK, the Monitoring Server Check_nrpe script can be used normallyHad not found the problem for
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.