Monitoring targetMonitoring target host is divided into four partsHardware ResourcesOperating systemDatabaseApplication softwareMonitoring purpose:Before server performance tuning, know what to adjust and where the system bottleneck ismust be monitored at the same time, including throughput, reaction time, utilization, etc.Monitoring command:Process monitoringPsTopStorage monitoringFreeSwapon-sDf-hNetwork MonitoringIfconfigNetstatPingTraceroutePerform
program resides
etc
Nagios Configuration file Directory
Sbin
directory where the Nagios CGI files reside, which is the directory where the files needed to execute the external command
Share
Nagios the directory where the Web page files are located
Libexec
Nagios
Cacti and nagios are the necessary monitoring software for SMEs, first of all to review the advantages and disadvantages of cacti monitoring: mainly monitoring graphics traffic, through the web interface to monitor traffic, (mainly monitoring CPU memory hard disk, traffic) b
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/
install
4. The server installs nrpe and communicates with the client.
Tar-xzf nrpe-2.14.tar.gz
Cd nrpe-2.14
./Configure -- enable-ssl -- with-ssl-lib
Make all
Make install-plugin make install-daemon-config
Chown-R nagios. nagios/usr/local/nagios
5. nagios access control settings
Htpasswd-c/usr/local/
Nagios Monitoring System under Solaris
The article will introduce the installation process of Nagios in Solaris10, including the compilation and installation of source code; Apache installation, Nagios CGI configuration; Nagios monitori
Monitoring MySQL monitoring transaction hanging (RUNNING) alarm notification in Nagios
Preface:An error occurred while submitting the business alarm order. The page was not responded. After troubleshooting, the transaction was not committed or rolled back. I thought that if the operation status of the transaction was monitored in time, in this way, you can troubl
directory ... I created the RW directory and changed its owner to Nagios:nagcmd, with the permission changed to DRW-RW----。 The tragedy is that the error message still exists. Finally I changed my permissions directly to drw-rw-rw-. can work, but root cause I haven't found it yet.2. A similar error. When you view log on Nagios, you are prompted not to handle the/usr/local/
The previous article describes how to install Nagios Core, an article to share with you how to incorporate a remote Linux server into your monitoring scope.Part I: Installing Nagios plugins and Nrpe on remote LinuxStep one: Download the setup program for Nagios plugins and Nrep extensions[Plain]View PlainCopy
Configuring Nagios Monitoring System filesNagios configuration file:Nagios.cfg: Master profile, defining the name and location of various configuration filesCGI.CFG: Controlling the CGI configuration fileResource.cfg: Resource file, define various variables so that other files can be calledObjects: Other configuration file directory, this directory is mainly:COMMAND.CFG: Command configuration file, define v
NagiosEnterprise Monitoring explanationfirst, about NagiosNagioss is a classic old brand monitoring, along with a generation of operations engineers road growth, even now is also widely used in enterprises. Nagios has three features that determine the advantages it stands for:First: Nagios is an open source
Nagios is a mature Linux monitoring system running state and network information Kaiyuan IT Infrastructure monitoring system, Nagios can monitor the designated local or remote host and services, such as HTTP services, FTP services, and provide exception notification, event handling and other functions, When the host or
This is just a function of the monitoring side of the overall script installserver ()
The specific script is as follows:
#!/bin/bash #this is Nagios server or client install Shell #at 2012/10/29 path= ' pwd ' Httppath=/usr/lo Cal/apache2 mysqlpath=/usr/local/mysql Nagiospath=/usr/local/nagios installserver () {Yum install-y
xinetd useradd-m
1. NRPE introduction NRPE is a function extension of Nagios. it can execute plug-in programs on a remote LinuxUnix host. By installing the NRPE plug-in and Nagios plug-in on a remote server, you can provide the Nagios monitoring platform with local information about the server, such as CPU load and memory usage,
1. Int
NagiosThe installation is relatively simple, and the complex is the setting of settings and configuration parameters. But you need to relax. After all, we need to fix it, right? Let's get started:
1: Get the latest installation package
:Http://www.nagios.org/download
2: log on to the server as root
The latest version is 2.5:
1) nagios, Version 2.5:
Fetch http://superb-west.dl.sourceforge.net/sourceforge/
I. Configuring Nagios ServicesThe Nagios service is run in the main profile nagios.cfg, the monitoring plug-in is called in the configuration file, the operator can set the monitoring plug-in monitoring threshold value (warning value error value); The
BKJIA featured Translation: The powerful Nagios network monitoring platform allows you to add a series of available plug-ins for its features. If you cannot find a plug-in that meets your own requirements, you can easily write it on your own. This article describes how to compile the plug-in on your own.
The Nagios plug-in can be written in any programming langua
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.