.Nagios will run Check_nrpe this plugin and tell it what to check;The 2.check_nrpe plug-in connects to the remote Nrpe daemon in the form of SSL;3.NRPE Daemon will run the corresponding Nagios plug-ins to perform the inspection;4.NRPE Daemon will return the results of the inspection to the Check_nrpe plug-in, the plug-in will be submitted to the Nagios for proces
# at the end of the file, if you do not add a port,Nrpe will not function properlyNrpe 5666/tcp #nrpeNrep is a xinetd based service, so just turn on the xinetd service .[Email protected]~]#/etc/init.d/xinetd Restart[[Email protected]~]# Netstat-na | grep 5666issue: Unable to detect port 5666 after installation. Problem solving:1, check whether XINETD service is turned onNo, and cannot be turned on. Cause: The XINETD service is not installed. Installing the XINETD service solves the problemYum i
-pnp action_url /pnp4nagios/index.php/graph?host=$HOSTNAME$srv=_HOST_‘ class=‘tips‘ rel=‘/pnp4nagios/index.php/popup?host=$HOSTNAME$srv=_HOST_ register 0 }define service { name srv-pnp action_url /pnp4nagios/index.php/graph?host=$HOSTNAME$srv=$SERVICEDESC$‘ class=‘tips‘ rel=‘/pnp4nagios/index.php/popup?host=$HOSTNAME$srv=$SERVICEDESC$ register Note: Automatic appearance of small window sharpness is bad, I like the first wayNote: This does not involve the configurati
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 notification functions. Nagios can run on Linux/Unix platforms, at the same time, an optional browser-based WEB interface is provided to facil
the status after the change is the software status. Once the test is complete, the status becomes hard.
Ii. install and configure Nagios
1. About Nagios
Nagios generally consists of a main program (Nagios), a plug-in program (Nagios-plugins), and four optional ADDON (NRPE,
About NagiosNagios is an open source computer system and network monitoring tool that can effectively monitor Windows, Linux and UNIX host status, switch routers and other network settings, 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 SMS notification.Nagios, formerly known as Netsaint, was developed and maintained b
the host and service in a file, create the/usr/local/nagios/etc/objects/linux.cfg file, write the following content:define host{use Linux-Server host_name nagios_client//host name on Nagios Web pageAddress192.168.100.3}define service{Use local-service host_name nagios_client service_description cpu_load //Service name on Nag
# The Basic installation process will not be repeated here. The htpasswd-bc line of code is used to generate an angiosadmin user named nagiosadmin101 without human intervention, later, because/usr/local/nagios/etc/nagios is frequently modified. cfg configuration file, so you need to check its syntax, so the long command is used to generate an alias command named nagioscheck.
The automatic
Installing the Nagios ClientThe client only needs to install the following contentClass-accessor-0.31.tar.gzConfig-tiny-2.12.tar.gzMath-calc-units-1.07.tar.gzNagios-plugin-0.34.tar.gzParams-validate-0.91.tar.gzRegexp-common-2010010201.tar.gzCheck_iostatcheck_memory.plNrpe-2.12.tar.gzFirst step: Modify the Yum source codecd/etc/yum.repos.d/Wget-o/etc/yum.repos.d/centos-base.repo Http://mirrors.aliyun.com/rep
. 2MasterNagioscalledNrpeConfiguration2.1editing on the clientNrpeconfiguration file#vi/usr/local/nagios/etc/nrpe.cfgCommand[check_users]=/usr/local/nagios/libexec/check_users-w 5-c 10Command[check_load]=/usr/local/nagios/libexec/check_load-w 15,10,5-c 30,25,202.2in the mainNagiosdefine the client host on#vi/usr/local/
One, installation of Nagios client for Linux serverSteps:1, create the directory, upload files to the directoryMkdir/dataNagios-plugins-2.1.1.tar.gzNrpe-2.12.tar.gz2. Creating Nagios Groups and usersGroupadd NagiosMkdir/usr/local/nagiosUseradd nagios-d/usr/local/
One, the configuration of the monitored Windows XP client1. Install nsclient++ and install: Http://sourceforge.net/projects/nscplusNsclient++-0.3.8-win32.msiNsclient++-0.3.8-x64.msi2, Installation nsclient++Double-click Install---next----next to next---set Allow IP, set password (here the password can not be set in general), Modules to load (select the first three modules on it, the 2nd one for CHECT_NT for Windows monitoring, 3rd for Checp_nrpe for monitoring
to name the host name)cd/usr/local/nagios/etc/servers/Vim Test.cfg# # HOST Definition#define host{use linux-server; Name of the host template to use; This host definition would inherit all variables is defined; In (or inherited by) the Linux-server host template definition. HOST_NAME Test #客户端主机名 alias test address c
We mentioned how to install Nagiosinstallation. The client will introduce it later in the article. This article will introduce how to configure the server side of Nagiosinstallation.
We talked about how to install Nagios installation. The client will introduce it later in the article. This article will introduce how to configure the server side of
/nrpe.cfg. Restart the NRPE service and check the log file/var/log/messages (Rhel/centos) Or/var/log/syslog (Debain/ubuntu). The log files should contain relevant information if there is an any configuration or permission errors. If There is a hits in the log, it's very likely that the requests was not reaching the remote server due to port Filte Ring at some point.
To sum up, this tutorial demonstrated how we can easily tune NRPE to monitor RAM usage of the remote servers. The process is
referenceBandwidth[1399532517] Process_service_check_result; 192.168.0.6; bandwidth_status_eth1;0; STATISTICS OK:-The traffic in was 0.8Kbps, out was 0.53Kbps, Total is 1.33kbps.| In=0.8kbps;;;0;0 Out=0.53kbps;;;0;0 Total=1.33kbps;;;0;0The bandwidth is similar to the CPU by calculating the/proc/net/dev's Tx,rx and Total's numerical difference over time by dividing the time interval to get the throughput.JVM Heap[1399533015] process_service_check_result; 192.168.0.6; heap_status;0;ok:used heap p
1, remove the dpkg installed NrpeDpkg-l | grep NrpeDkpg-p Nagios-nrpe-server2, Ubuntu under nrpe3.2.1 installationDownload nrpe3.2.1 's Source bundle: https://jaist.dl.sourceforge.net/project/nagios/nrpe-3.x/nrpe-3.2.1.tar.gzThe Nagios plugin support is required to run Nrpe on the client, and I am downloading
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.