Building a monitoring system based on Nagios -- installing Nagios Core
Using Nagios to build the monitoring system of this department, I have only seen this guy's name several times before. This is a real start, and now I have successfully built a test environment, monitored three machines, including the local machine,
The directory where the nagioscgi files are located, that is, the files required to execute the external commandThe directory where the Share Nagios Web page file residesLibexec Nagios External plug-in directoryThe directory where the var nagios log files, lock, and other files resideVar/archives nagios Log Auto A
Nagios®Core™It is an open-source system and network monitoring application that can monitor your specified host and service. When a problem occurs, you are reminded to help you improve the system. Nagios Core initially runs in Linux, but it runs in most other Unix.
Nagios
=nagiosadmin,davidAuthorized_for_configuration_information=nagiosadmin,davidAuthorized_for_system_commands=davidAuthorized_for_all_services=nagiosadmin,davidAuthorized_for_all_hosts=nagiosadmin,davidAuthorized_for_all_service_commands=nagiosadmin,davidAuthorized_for_all_host_commands=nagiosadmin,davidI. NAGIOS.CFG documents
Nagios.cfg The default path is/usr/local/nagios/etc/ Nagios.cfg, is the Nagios
Nagios Core 4.2.1 was released.This bug fix release includes:(Important: You must also ndoutils to 2.1.1 When you upgrade your core .) )Improved1. Fixed many problems with the UI.2. $ARGN $ macros can now be used in the PerfData command.3. Run nagios-v in just 90+ seconds (bugs are described in the previous release).4.
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
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
automatically generated 4. Set the Web authentication password for Nagios /usr/local/apache/bin/htpasswd-c/usr/local/nagios/etc/htpasswd.user NagiosadminIt is best to use nagiosadmin, and if defined as another user, there is a problem modifying the service alert option through the Web interface 5. Set up the Nagios boot Chkconfig--add NagiosChkconfig
NSCA must be installed on both the server and the client.
Currently, Nagios can only be installed on a Linux host, and gcc is required for compiling. At the same time, if you want to use the web interface management tool, you also need support for the apache server and GD graphics library.
Configure Mrtg in Ubuntu to monitor Nginx and server system resources
Use snmp + Mrtg to monitor Linux systems
Mrtg server construction (Network Traffic Monitorin
The company needs to build a monitoring platform in the near future, the main purpose is to realize the Server service or load abnormal timely alarm function, after the choice finally decided to use Nagios implementationInstall Nagios Core
The code is as follows
Copy Code
Yum-y install gcc glibc glibc-common gd gd-devel php openssl-dev
of the host, hardware, and Linux has Send-nsca and Nrpe generally we commonly used is Nrpe, listening to TCP port 5666, and on the Windows host is used nsclient+ +, listening is 12489 and 5666 ports, which is important to be sure to open these ports on the monitored host.Before installing Nagios, you need to install the Nagios monitoring host (server side) before installing the appropriate plug-ins on the
processes on the remote system, disk space usage, and running services must be logged on to the remote host system for information, it is necessary to rely on the nrpe core extension plug-in. nrpe, as the intermediate agent, plays a role in accepting requests from the Nagios monitoring server, another man-in-the-middle role that obtains the specified information on the remote host system.
Ii. How nrpe wor
Nagios is an open-source free network monitoring tool that can effectively monitor the status of windows, Linux and UNIX hosts, network settings such as vswitches and routers, and printers. If the system or service status is abnormal, an email or text message alert will be sent immediately to the website O M personnel. After the status is restored, a normal email or text message notification will be sent. I am working on this stuff in our department
scripts, C + +, Perl, Ruby, Python, PHP, C #, etc.)
Contains many graphical data plugins (Nagiosgraph, Nagiosgrapher, Pnp4nagios, etc.)
Can be parallel service check
Can define the hierarchy of network hosts, Allow step-by-step checks, starting from the parent host to check for
When a service or host issue occurs, you can notify by email, pager, SMS or any user-defined plugin
Ability to customize event handling to reactivate a problematic service or host
This article consists of Su Yi Lin Feng provide sponsorship, starting in Slime Line the world Once the Nagios installation is complete, we'll configure Nagios now. For Nagios installation, refer to the article "Slime: Learning Nagios (i): Nagios installation". Description: T
Install and compile the Nagios document quickly in CentOS 6.5
Install and compile the Nagios documentation-all virtual environments in CentOS 6.5.
The purpose of writing this document is to facilitate and quickly deploy Nagios, which involves configurations that you like. You can modify and apply the configurations on your own.
Network Monitor
The Nagios-plugins plugin is based on the installation of Nagios core, and the installation details of Nagios core are as follows: [Nagios monitor Nagios
In our first part of this article, we ' ve explained in detail on what to install and configure latest Nagios Core 4.2.0on Ce Ntos 7.2 server. In this article we'll show you how to add Remote Linux machine and it's services to Nagios monitoring host using NRPE AG Ent.We hope you already have Nagios installed and runnin
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
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.