First, the principleintegrating cacti and Nagios is a plugin of cacti, nagios for cacti, which works by importing Nagios data through ndo2db into the MySQL database (the cacti library). Then cacti reads the database information and displays the results of Nagios. Second, cacti expansion moduleCacti extension modules ne
System environment:[Email protected]_server ~]# cat/etc/redhat-releaseCentOS Release 6.9 (Final)1. Update the Yum sourceMv/etc/yum.repos.d/centos-base.repo/etc/yum.repos.d/centos-base.repo.backupWget-o/etc/yum.repos.d/centos-base.repo Http://mirrors.aliyun.com/repo/Centos-6.repo2. Adjusting the character setecho ' Export lc_all=c ' >>/etc/profileSource/etc/profile3. Close Iptables and SELinux4. Update the system time/usr/sbin/ntpdate pool.ntp.orgThen put in a timed task5. Installing GCC and lamp
Nagios is an application for system and network monitoring. It monitors hosts and services under the conditions you set
Control, and notify the administrator when the monitored object is alerted and restored based on the alarm threshold value and alarm method set by the administrator.
The following describes how to install Nagios.
Before installing Nagios, yo
There have been a lot of good summaries about Nrpe's way online, and I'm now talking about how we use NSCA to get the resource usage information for the monitored nodes we need in our system.Let's talk about the basic configuration of the Nagios server side:1. Nagios Web GUI access configuration, the system is using the recommended configuration in Nagios core, a
The purpose of writing this document is to facilitate the deployment of Nagios, related to the configuration of personal preferences, we modify, can be applied.First, download and install the required software1,yum install gcc mysql httpd php gd OpenSSL openssl-devel mysql-server vim wgetWget http://prdownloads.sourceforge.net/sourceforge/nagios/
--------------on Fedora 22+ onwards--------------[[email protected]]# DNF install-y gcc glibc glibc-common gd gd-devel make Net-snmp openssl-de VelStep 2:create Nagios UserCreate a new Nagios user account and set a password.[Email protected]]# useradd nagios[[email protected]]# passwd NagiosStep 3:install the Nagios Pl
One, add usersGroupadd NagcmdUseradd-g Nagcmd Nagiospasswd Nagios123456usermod-a-G nagcmd ApacheIi. installation of NagiosCd/root/downloadwget http://jaist.dl.sourceforge.net/project/nagios/nagios-4.x/nagios-4.0.7/nagios-4.0.7.tar.gzcan also be downloaded from here: http://www.nagios.org/
# Groupaddnagios
# Usermod-Gnagiosnagios
# Vi/etc/passwd
Nagios: x: 500: 500:/home/nagios:/sbin/nologin
Changed:
Nagios: x: 500: 500:/home/nagios:/bin/bash
Create a user group named nagcmd to execute External commands from the Web interface. Add both nagios users and
Nagios Introduction
Nagios is an Open-source application used to monitor systems and networks, typically running on a master server running Liunx or Unix operating systems. Nagios uses its numerous plug-ins to realize the monitoring of the local and remote service, when the object of the monitor is abnormal, Nagios wi
Test environment: CentOS 6.4 x86_64"The first section prepares the installation package"Nagios can be downloaded to the official website of Www.nagios.org/download. The installation packages used in the testing process in this article are as follows:Nagios-4.0.8.tar.gzNagios-plugins-2.0.3.tar.gz"The second part quickly builds the environment that Nagios needs"If
2. Change the directory group:Chown? R nagios. nagios/usr/local/nagios.Note that some unix/linux users and group separators are not "." And may be chown? R nagios: nagios/usr/local/nagios.
2.3 install nagios2.3.1 download
How to Set/etc/init. d/nagios checkconfig and/usr/local/nagios/bin/nagios, nagioscheckconfig
How to output the same results for/etc/init. d/nagios checkconfig and/usr/local/nagios/bin/nagios-v/usr/local/
directory where the Nagios executable program is located. This directory has only one file Nagios
Etc
Location of the Nagios configuration file. After the initial installation, there are only a few *. cfg-sample files.
Sbin
The directory where the Nagios CGI file is located, that is, th
monitor: Shell pythonSetting up a monitoring server: monitor the specified hostNagios Cacti Zabbix++++++++++++++++++++++++++++++++++++++++Prepare a new server for monitoring server: Configuration requirements:#setenforce 0#systemctl Stop Firewalld; Systemctl Disable FIREWALLD;#配置本地yum源#ip地址 192.168.4.56+++++++++++++++++++++++++++++++++++++++++A. Build Nagios Monitoring ServerI. Deploying the Nagios Service
; so far, 413 hosts and 754 services were monitored.
Although Nagios is very useful, but the configuration is indeed trouble, according to its pronunciation I give it a Chinese name-hard enough to die. For this reason, I will be as detailed as possible to tell you I use Nagios process and experience, I hope to help beginners.
Install the required softwareI. Installation of
. Nagios provides a WEB interface based on PHP and CGI, and contains a number of plug-ins for monitoring various network services and network devices. Nagios's basic work is to periodically check the service on the user's configured host, which generates alarms (WARN or CRITICAL level) and notifies the administrator by email or text message if an exception is found.A normal Nagios system needs to install np
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.
Library
GD library and development Library
You can use the apt-get command to install these software packages. type the command:
Sudo apt-get install apache2
Sudo apt-get install build-essential
Sudo apt-get install libgd2-dev
3. operation process
1) create an account
Switch to root user
Sudo-s
Create an account named nagios and give a logon password
/Usr/sbin/useradd nagios
Passwd
services[Email protected] nagios]# rpm-q gcc glibc glibc-common gd gd-devel xinetd openssl-devel[[email protected] Nagios] #yum install-y gd gd-devel xinetd openssl-develBecause I have no gd-devel under the mirror, if you do not install the package, you will encounter some problems later, this package must be installed.Step 2: Build Nagios Account[Email protecte
the system. Nagios Various directory uses are described below:directory where the bin Nagios executable program residesThe directory where the ETC Nagios configuration files are locatedThe directory where the Sbin Nagios CGI files are located, that is, the files required to execute external commandsThe directory where
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.