First download the latest installation version from sourceforge.
Install
First download the latest installation version from sourceforge.
Decompress and compile$ tar -zxvf smartmontools-6.4.tar.gz$ cd smartmontools-6.4$ ./configure
Ifchecking for g++... noProblem
The reason is that the C ++ compiler is missing and used on CentOS.yum install gc-c++Install the
1. Because the operating systems used for O M work are mostly CentOS and Ubuntu, the dependency packages of fetion installed on the two systems will be different. Now I will install the fetion of CentOS.2. install some fetion dependent packages. Because fetion requires a 32-bit system package, Add. i686 (the ubuntu software name is i386)
[Root @ localhost ~] # Yum inst
NagiosInstall sanjianke:
Create a nagios account
/usr/sbin/useraddnagiospasswdnagios
Create a user group named nagcmd to execute External commands from the Web interface. Add both nagios users and apache users to this group.
/usr/sbin/groupaddnagcmd
/usr/sbin/usermod-Gnagcmdnagios
/usr/sbin/usermod-Gnagcmdapache
Install
Recently, all servers in the company need to be monitored. Of course, there are many software that can implement this function, such as Microsoft's SCOM and today's Nagios software, however, the former is better to say that the products on the Windows platform are better configured and installed, but if we want to install Nagios, it may be a little difficult to d
Well, now even the machine can't get up.Say it from the beginning.(1) It is true that the error was reported when installing Nagios-plugins.(2) The way to find online is to check the OpenSSL.(3) Yum installation: Yum install OpenSSL openssl-devel(4) After installation, make or report the original error(5) Think of the possible OpenSSL version of the problem, that is!!! RPM-E openssl*--nodeps(6) Hahaha haha
The following methods I installed 3 servers, absolutely effectiveMonitored side1Install the Super Daemon (on Demand)[[Email protected]~] #yum install xinetd2View Super Daemon Open condition[Email protected] ~]# chkconfig--list |grep xinetdxinetd0:off 1:off 2:off 3:on 4:on 5:on 6:offFrom there, you can see if xinetd is booting up, and if other processes are hosted under the Super Daemon, this command can also list their startup conditions.If it is not
Preface recently, I have studied cloud monitoring tools and previously written the installation steps of Ganglia. here, I will record the Nagios installation steps. This article does not explain the relevant principles. For more information, see other materials. Purpose: to build your own nagios monitoring cluster by following the steps in this document, even if you have not previously touched
1$=/usr/local/nagios/libexec Where the variable $user1$ specifies the path to install the Nagios plug-in. If you install the plugin on a different path, simply modify it here. It is important to note that a variable must be defined before it can be referenced in another configuration file, and that variable is also d
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
Prerequisite: The lamp environment is built to complete
Remark: After Centos6.4, Centos6.5, Centos7.0 test trial!Script:
#!/bin/bash# Author:byrd# version:1.0# Site:www.t4x.org# contact:root#t4x.org#This Script for nagios-v3.5.1Path=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/binExport PATHLang= "en_US. UTF-8 "# Check If user is rootIf [$UID!= "0"]; Thenecho "Error:you must is root to run the script, please use the root to
Mud: Learning Nagios (2): Nagios configuration, mud nagios
This document consistsXiuyi Lin FengProviding friendship sponsorship, first launchedThe world
After nagios is installed, configure nagios now. For more information about nagios
1. install and configure Nagios1 and Nagios is an open-source network monitoring software that complies with GPLv2 and can be used to monitor hosts and services of a specified variety of systems, you can also notify the Administrator when their working status changes. Its features include: 1) Monitoring Network Services (HTTP, POP3, SMTP, PING, MySQL, etc.) 2) monitoring host resources (disk space utilizati
Rotten mud: Learning Nagios (3): NRPE installation and configuration, nagiosnrip
This document consistsXiuyi Lin FengProviding friendship sponsorship, first launchedThe world
In the first two articles, we introduced the installation and configuration of nagios. The articles are "mud: Learning Nagios (1): Nagios instal
, all plug-in return status information goes into the queue, and Nagios reads the information from the first team and displays the status through the Web.Nagios provides a number of plug-ins that enable you to monitor service status. After the installation is complete, the Nagios home directory is/libexec with all the plugins, such as Check_disk check the disk space plug-in, check_load check the CPU load, a
Rotten mud: nagios Learning (4): pnp4nagios graphical drawing of nagios data, pnp4nagiosnagios
This document consistsXiuyi Lin FengProviding friendship sponsorship, first launchedThe world
After nagios is installed, we also add some monitoring objects, but you will find that nagios is just a simple method to list thos
policies for key application monitoring
(1) Add an account to run Nagios. Of course, you can also run it with the root account. However, for security reasons, you can run it with a common account without assigning shell logon permissions to this account.1. if you add an account in linux, useradd nagios-s/sbin/nologin automatically generates a group named nagios.
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.