Reference post: https://www.howtoing.com/ubuntu-nagios/This blog post is really valid for reference, follow the steps, basically can be successfulI. Prerequisites for installationsudo apt-get install wget build-essential apache2 php apache2-mod-php7.0 php-gd libgd-dev sendmail UnzipTwo. User and group configurationUseradd NagiosGroupadd NagcmdUsermod-a-G Nagcmd NagiosUsermod-a-G Nagios,nagcmd www-dataThree.
Nagios Setup and ConfigurationExperimental environment centos6.5 two setsExperimental stepsI. Installing Nagios dependencies:Yum-y Install httpd gcc glibc glibc-common gd gd-devel php php-mysql mysql mysql-devel mysql-server xinetdTwo. Install and configure Nagios (monitor this machine)
Add the users and groups required for
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 Nagios as the main program is essentia
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 Nagios as the main program is essentia
snmp.
1. Configure the nagios Server
1. Install check_openmanage on the nagios Server
wget http://folk.uio.no/trondham/software/files/check_openmanage-3.7.12.tar.gz tar -xvf check_openmanage-3.7.12.tar.gz cd check_openmanage-3.7.12 cp check_openmanage /usr/local/nagios/libexec chown nagios.nagios /usr/local/
RHELInstallNagiosThe procedure is as follows:
Nagios is a powerful host monitoring software in Linux. Now let's take a look at it. This system is RHEL5.4, and nagios version is 3.21. Don't talk much about it. Please do it right away.
1. apache, php, gd, and other environments are required
Yum install httpd gcc glibc-common gd-devel php-y
2. Create Account Informa
Article Title: explanation: How to Improve Nagios server security ?. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Nagios is a monitoring software that helps users quickly understand problems on the host and the Internet and
Learn more about Nagios and find out what new system monitoring possibilities exist when using this software. Nagios is an open source monitoring software that scans for problems with hosts, services, and networks. The main difference between Nagios and other similar package
Now the open source industry more than two of the monitoring software is nagios/cacti, the following author to explain the installation and integration of the two, in fact, the network of such documents are more, but are relatively fragmented, for beginners to build up very easy to problem, I send a completely suitable for beginners tutorial! About the difference between the two, nonsense not to say more!!
Nagios does not detect any specific numeric indication, such as the number of processes on the operating system, and it only describes the status of the four monitored objects: ok,warning,critical and unknown. As a result, we only need to focus on the warning and critical state thresholds of the magic species, and Nagios passes the thresholds to the plug-in, which is responsible for monitoring the specific
various web pages, such as index.php, side.php (menu bar), main.php (Home area) ...Various definitions of Nagios configurationHost: The IP address of the target machine.Main group: The specific host division, different information divided into different groups, easy to manage.Services: CPU monitoring, memory monitoring, HTTP monitoring ...Service group: the monitored Hardware is a service group, and the software
Chapter 3: run nagios3.1 to verify the correctness of the configuration file. each time you modify your configuration file, you should run a detection program to verify the correctness of the configuration. This is important before running your Nagios program. Otherwise, the Nagios service will be disabled due to configuration errors. Verify your configuration...
Chapter 3: running
Note: There is a file embedded within this post, please visit this post to download the file.The data center does not have a temperature alarm device. I use this method to control the temperature of the data center. If there is only one alarm, a single machine failure can be considered. If there are several alarms at the same time, it can be considered that there is a problem with the air conditioner in the data center.
The specific implementation method is as follows:
Environment: monitored: Ce
Method One
First, MySQL from the server settings
1, MySQL from the Server users add
The code is as follows
Copy Code
Add users by executing the following statement:Mysql> GRANT REPLICATION CLIENT on *.* to Monitor@localhost identified by ' PassWord ';2. Download check-mysql-slave.pl Scriptcd/usr/local/bin/wget http://www.centos.bz/wp-content/uploads/2012/10/check-mysql-slave.plchmod +x check-mysql-slave.pl3, in MySQL from the server configuration extend Mysql-slave
Nagios clients generally need to Nagios-plugins,nrpe, in order to facilitate and puppet combination, so it is best to package the source code as a package
The spec file reads as follows:
Nrpe.spec:
%define name Nrpe%define version 2.13%define Release 10%define nsusr Nagios%define NSGRP Nagios%define Nsport 5666# Res
Nagios monitoring Windows ServerRequirement: currently, the company has about 20 Windwos servers. Daily O M mainly relies on manual server status check: CPU/memory/disk usage, I/O, etc. We hope to deploy a monitoring system to integrate and collect all the above information on servers and implement the alarm function. Analysis: based on the actual situation, collect relevant information online. decided to use the open-source
StatementThe Stars last nightBlog:http://yestreenstars.blog.51cto.com/This article by oneself creation, if need reprint, please indicate source, thank cooperation!ObjectiveAutomate the installation of Nagios clients with one click.EnvironmentOs:centos 6.2 32nagios-plugins:2.0.3nrpe:2.15 configure #!/bin/bash#scriptname:one-keyautomaticinstallnagiosclient# author:yestreenstars#createtime:2014-08-08nagios_server_ip= "192.168.1.88" # Changethistoyournag
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 and some information.
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.