I usedNagiosFor more than a year, he is competent in daily monitoring work. It is necessary to install a Nagios system. Let's take a look at the specific process of Nagios installation!
Figure-Nagios
Modify yum to upgrade the server[Root @ localhost ~] # Cd/etc/yum. repos. d [root @ localhost yum. repos. d] # cp CentOS-Base.repo CentOS-Base.repo.bak [root @ loc
NagiosYou can use snmp, nrpe, and nsclient to obtain information. More importantly, you can use the latter and use its powerful plug-in module. Cacti Uses snmp and does not need to install an agent. It is generally used to monitor network traffic. Nagios is generally used to monitor processes and services.
Nagios installation environment:
Host
Operating System
IP
Remarks
Implementation of nagios grouping and plotting code [1]
I. background
In view of the Service grouping and Image Presentation functions of zabbix and cacti, the company's leaders aim to maximize business stability and propose the "real-time display of monitoring systems by service grouping" function to the O M department, the O M Department belongs to the technical support department of the company and can only be Yes to meet reasonable requirements.
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 Nagios groupad
"/> Summarize: MRTG: Paint ugly, but integrates data collection. CACTI: Integrates a variety of data collection functions, and use RRDtool (only for drawing) to draw the monitoring graphics, than the same software interface a little more beautiful. Nagios: Suitable for monitoring a large number of servers in the computing environment, integrated with a lot of features, such as the alarm, which is cacti or
How to monitor server memory usage with Nagios Remote Plugin Executor (NRPE)Last updated in September 8, authored by sarmed Rahman 5 Comments In a previous tutorial, we had seen how we can set up Nagios Remote Plugin Executor (NRPE) in an existing Nagios setup. However, the scripts and plugins needed to monitor memory usage does not come with the stock
Installation method Please refer to Linux learning Note: Nagios installationClientSince my installation is using xinetd This daemon, I need to adjust the relevant configuration file[[emailprotected]~]#vi/etc/xinetd.d/nrpeservicenrpe{ flags= Ipv4socket_type=stream port =5666wait =nouser =nagios group=nagios server =/usr/local/
Background: Company needs, deployment Nagios monitoring System, multiple server deployment, there will be repeated work, simply written script, automated installation, hope to help everyone.Script content:#!/bin/bash#Filename: nagios.shSetenforce 0 #需要关闭selinux,Yum install-y http php php-mysql mysql mysql-devel mysql-server #安装http, PHP and MySQL, if installed, no harmCd/tmp #我的软件包安装在了tmp目录下, this can be casualwget https://assets.nagios.com/downloads/
As a monitoring system,NagiosIt is outstanding in all aspects, especially inLinuxWhen running, you can monitor and collect information for operations.
Nagios runs on a Linux or Unix operating system. Before installation, make sure that the operating system supports the TCP/IP protocol and has a C-language compiler (such as gcc ). If you do not have a web server such as apache, install it in advance. Download the main
Nagios + check_logifiles for log monitoring
During Log check, we usually use a lot of monitoring methods. To check logs, we need to use the nagios plug-in, such as the check_logfile provided by nagios, which has limited functions; we use check_logfiles produced by ConSol Labs to process log truncation, support macro definition, support for regular expressions, an
Os:ubuntu Server 7.10
Nagios:nagios 3.0.3
Software:
SMS Flying Client
A friend of mine asked me a few days ago Nagios is how to SMS notice, is not need to buy a commercial URL address, see someone asked me this question, I will use the letter I notice to write down, support open source, oh, originally wanted to publish yesterday, but wrote half to go to busy other things, And so back to continue to finish the point of submission, depressed, sessio
submit_check_result submission, the default is not submitted performance data. The normal plot diagram is as follows
Distributed under the graph, you can first look at the next performance data is empty, if the reason for the empty is caused. Because the Pnp4nagios drawing is drawn from that data.
Third, the solution
The workaround is simple, you don't need to modify the script, just open the Commands.cfg configuration file and modify the Submit_check_result de
As we all know, Nagios is a monitoring system that monitors the state of the system and network information. Nagios can monitor the specified local or remote host and service, as well as provide exception notification capabilities. Nagios can be run on the Linux/unix platform, while providing an optional browser-based Web interface for system administrators to vi
NagiosThe device and setup of the remote monitoring software are as follows:
Figure-Nagios
As a system administrator, I'm most depressed when my main online systems stop or stop collecting services without my knowledge, in addition, it may take a long time for the faulty services or hosts to know. Especially when it comes to the festival, the system administrator is very important. To change this passive situation, here I promise to collect monitori
Nagios + Nconf deploy Nagioscroe source code to install and install the basic environment. Package: ForRHEL/CentOSusers: yuminstall-ywgethttpdphpgccglibcglibc-commongdgd-develmakenet-snmpopenssl-devel. use Nagios + Nconf to deploy the Nagios croe source code to install and install the basic environment. software package: For RHEL/CentOS users: yum install-y wget
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 Nagios service's plug-in compares the monitored data to the monitoring thresholds, showing the monitoring status
Required installation package http://down.51cto.com/data/1877296Integrated Cacti+nagiosintegrating cacti and Nagios is a plug- in nagiosfor cacti that leverages cacti, and it works by passing Nagios data ndo2db Import into the MySQL database (cacti 's library), and then cacti Read the database information will be NagiosResults are shown.1, install php-json extension, because NPC uses ExtJS, such as the exte
Nagios FAQ 1:
It appears as though you do not have permission to view information for any of the hosts you requested
Temporary solution:
Sed-I's/use_authentication = 1/use_authentication = 0/G'/usr/local/nagios/etc/cgi. cfg
(If authentication is canceled, you can browse the host status, but cannot execute External commands on nagios web)
Solution:
Users logging o
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.