nagios nrpe

Learn about nagios nrpe, we have the largest and most updated nagios nrpe information on alibabacloud.com

Nagios Deployment Configuration Process

Nagios Deployment Configuration ProcessNagios Service side:1. Deploy Nagios Server (refer to Nagios official deployment documentation), Nagios-plugin, PHP, apache22, need to add/etc/hosts in the service side of the resolution3. Configuration file DescriptionConfigure the host directory to be monitored in nagios.cfg dir

Nagios+nsca deployment method of distributed monitoring

With more than one NAT environment in the recent project, it is not very convenient to notify contact management if it is not ideal to deploy a complete set of Nagios (Nagios-core+apache+php+pnp4nagios) in each NAT, Then we'll start deploying Nagios distributed monitoring together. Main Nagios Center Service deploymen

Nagios monitoring postfix queue

nrpe. cfg [Root @ localhost etc] # vi nrpe. cfg Command [check_postfix] =/usr/local/nagios/libexec/check_queue/tmp/que Configure the configuration file of the nagios server Mail Host: [Root @ localhost objects] # vi mail. cfg Define service { Use local-service; Name of service template to use Host_name mail_h

Nagios monitors a process

grep'Echo "Process of './DFS Client' OK! -Parent process is 'echo $ dfs_pprocess | awk '{print $8, $9, $10 }''"Exit 0 Fi Then open the configuration file of the monitored nrpe. # Vi/usr/local/Nagios/etc/nrpe. cfg Add: Command [check_dfs] =/usr/local/Nagios/libexec/check_dfs.sh You can customize the Monitoring Servic

Nagios cannot be started, and the syntax check is disabled.

problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to f

Yum Install Nagios and Pnp4nagios

Environment: centos6.21. Download and install the Epel packageLinks Http://fedoraproject.org/wiki/EPEL2. Installing Nagios and pluginsYum Install Nagios Nagios-nrpe nagios-plugins*-y3. Start httpdService httpd Start;chkconfig httpd on4. Create an administrative userHTPASSWD-

CentOS 6.4x64 Nagios monitoring platform: monitors the CPU temperature of Linux Hosts

between the following # ######################################## ################## #! /Bin/sh ######### Check_cputemp ########### # Date: May 1, 2011 # Licence GPLv2 # INSTALLATION # The script need to install lm_sensors # Sensors's output need like below format ######################################## # # Coretemp-isa-0000 # # Adapter: ISA adapter # # Core 0: + 27 °C (high = + 85 °C )# # # Coretemp-isa-0001 # # Adapter: ISA adapter # # Core 1: + 25 °C (high = + 85 °C )# ######################

Nagios Custom Monitoring System disk script

Client1. Create Script check_disk.sh[email protected] ~]# vim/usr/lib64/nagios/plugins/check_disk.sh #一般都放在这个路径下#!/bin/bashrow= ' Df-h|wc-l 'For i in ' seq 2 $row 'Doava= ' df-h|sed-n "$i" P|awk ' {print $4} ' #获取磁盘可用值u_per= ' df-h|sed-n ' $i "p|sed-n" s/\%//"P|awk ' {print $" #获取使用百分比值p_p= ' df-h|sed-n "$i" P|awk ' {print $6} ' #获取挂载分区If ["$u _per"-GT "97"]ThenEcho-n "$p _p CRITICAL $u _per% $ava"sta[$i]=2elif ["$u _per"-GT "95"]ThenEcho-n "$p _p w

Nagios custom monitoring of the system via scripting

here is a simple demonstration of how nagios can be used to customize the system for monitoring under Linux systems. Nagios's monitoring process in Linux uses the Nrpe client to invoke scripts in the/usr/lib64/nagios/plugins/directory and then returns the retrieved data to Nagios, which returns different status values

Nagios monitors the tablespace size of the Oralce database

First, install the NrpeThis department uses the direct decompression method to install the NrpeSecond, configure the Nrpe service1. Modify the check_oracle in the Libexec folderAdd the following items in itOracle_home=/oradata/oracle/product/11.2.0path= $PATH:/oradata/oracle/product/11.2.0/bin2. Add the following items in the nrpe.confCommand[check_oracle_tablespace]=/usr/local/nagios/libexec/check_oracle--

Nagios Learning Note Three: Configuring Nagios

1. Nagios's master configuration fileNagios's main configuration file is Nagios.cfg, whose syntax is very concise, usually # begins with the behavior Comment line, and the parameter is formatted as Log_file: Set the Nagios log file;The Cfg_file:nagios object defines the relevant file, which can be reused multiple times to specify multiple files;Cfg_dir: Sets the directory where the relevant files for the Nagios

Integrate Nagios with cacti and ntop

1. Install cacit and Nagios ------------------- 1. Lamp Environment 2. Install cacti 3. Install Nagios 4. Integration of Nagios and cacti (contact) 4. Install the SNMP protocol 6. Recommended cacti templates Http://docs.cacti.net/templates (Official template) 7. Install the Linux Server plug-in (client) ------ nrpe 8.

Nagios monitors Linux network card traffic (check_traffic.sh)

1. Install the required componentsYum Install Perl perl-devel perl-cpan BC SNMPD-YPerl-mcpan-eshell cpan> Install BUNDLE::LWPCompile and install Nrpe (refer to Tutorial:http://2860664.blog.51cto.com/2850664/1559056)The following are the monitored side settings2. Download check_nginx_status.pl Script: Https://github.com/cloved/check_traffic/archive/v1.3.11.zipAfter extracting the files, upload check_traffic.sh to/usr/local/

Nagios monitoring 4 configuration monitoring web Service, port, mysql, and other status instances

Check_command check_nrpe! Check_port_80 } (2) EDIT nrpe. cfg on the client Command [check_port_80] =/usr/local/nagios/libexec/check_tcp-H 172.20.10.6-p 80 Nagios Return Value STATE_ OK = 0 STATE_WARNING = 1 STATE_CRITICAL = 2 STATE_UNKNOWN = 3 STATE_DEPENDENT = 4 4. Verify that the/etc/passwd content has been modified. Md5sum/etc/passwd>/etc/oldboy. md5 [Root @

Real-Life Nagios NSCA-mode monitoring of Linux system Resource Usage--nagios configuration--Monitored end

nagios requires the monitored side to send data to the Nagios side in the agreed format. Monitoring includes 2 types of nodes and services. The node Monitoring convention data format is as follows:[The format is easy to understand, data commit timestamp, monitored node name, node State (up/down/unrearchable), plugin custom extra data. The state-specific explanations for each field are as follows:1. Timestam

Nagios+centreon Summary of the third chapter--nagios+centreon simple configuration

Nagios+centreon Configuration 1.ConfigurationCentreton Web①.Start the service: Chkconfig httpd on Chkconfig mysqld on Chkconfig--add ndo2db Chkconfig ndo2db on Chkconfig--add Nagios Chkconfig Nagios on /ETC/INIT.D/HTTPD restart /etc/init.d/mysqld start /etc/init.d/ndo2db start /etc/init.d/nagios start chkconfig centco

Nagios configuration file for configuration notes of Nagios pnp

PNP is a small open-source software package. It is based on PHP and PERL and uses rrdtool to plot data collected by Nagios into charts. If you want to install Nagios pnp, the detailed Nagios pnp configuration is provided here for you to refer to the configuration of Nagios pnp after installing all the software. 1. Mod

3.2-nagios Custom Monitoring System disk script

determine who the murderer (the program is making) is, and for further processing.2. After saving, modify the permissions of the scriptchmod +x/usr/lib/nagios/plugins/check_disk.sh (on client)3. Then edit the/etc/nagios/nrpe.cfg fileVIM/ETC/NAGIOS/NRPE.CFG # Add a line: (on client)command[check_disk]=/usr/lib/nagios/p

customizing Nagios monitoring Scripts

/nrpe.cfg fileVim/etc/nagios/nrpe.cfg # Add a line: (on client)command[check_disk]=/usr/lib/nagios/plugins/check_disk.shSave, restart Nrpe service/etc/init.d/nrpe Restart (on client)on the server side operation:4. The way to detect if the script is working correctly is to execute the following command to the server sid

Nagios--docker Container Monitoring

1.Environment:# Cat/etc/redhat-releaseCentOS Release 6.8 (Final)# Uname-r3.10.5-3.el6.x86_64Nagios Server Host:192.168.70.67 Password:[Email protected]! Nagios Client Host:192.168.70.52 Password:[Email protected]! 2.versionNagios version: nagios-3.5.1Plugin plugin version: nagios-plugins-1.4.16Nrpe version: nrpe-2.1

Total Pages: 15 1 .... 11 12 13 14 15 Go to: Go

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.