Nagios is a monitoring software that helps users quickly understand problems on the host and the Internet and can be configured to be used on any network. Installing the Nagios server on any Linux operating system is a very fast process, but it takes some effort to install it securely. This article will focus on how to improve Nagios's security, rather than explaining how to install
Nagios Installation configuration:Nagios official website http://www.nagios.orgEnvironment Construction:centos6.6 192.168.11.30 do the service sidecentos6.6 192.168.11.100 do the client1. Nagios Installation-server (192.168.11.30)CENTOS6 The default Yum source does not have Nagios-related RPM packages, but we can install a epel extension source:Yum Install-y epel
Nagios file directory:The bin directory is used to store Nagios's execution programs, including Nagios, Nrpe, and so on.The ETC directory is used to store Nagios configuration files.The Libexec directory is used to store Nagios's monitoring plug-ins.The Sbin directory is used to hold the Nagios CGI file, which is the d
Nagios is one of the most influential network information monitoring systems in the enterprise, and it can dynamically monitor the specified network status, and issue warning tones or email alerts to operators when the status is abnormal. The type of monitoring and alarm timers are fully customizable.Another powerful feature of Nagios is its ability to monitor both hosts and services. For example, it can si
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
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
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
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/
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
How to configure Nagios Remote Plugin Executor (NRPE) in Linux)
Nagios is one of the most powerful tools for network management. Nagios can monitor the accessibility of remote hosts and the status of running services. But what if we want to monitor anything other than the network service in the remote host? For example, we may want to monitor the disk utilization
Nagios is a great monitoring tool that can help you monitor your network's servers and so on, and has the ability to alert you to email issues, and can combine Nagios's hardware to monitor the temperature of your room and check and alarm in real time.The free version of Nagios can only monitor 7 units (not clear or 6 units), but for small businesses, it should be enough for a few important servers to be mon
One, Nagios installation:1 , install the following command:This is a few system commands that I use to define my own plugin when I monitor my service. Do not install.(1)iostat: monitoring disk IO information:Apt-getinstall Sysstat(2)Ifstat: monitoring network information:Apt-getinstall Ifstat(3)gnuplot: Drawing:Apt-getinstall gnuplot2 , ensure that the following packages are installed:
Apache2
Php
Gcccompiler and development librari
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.