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-devel httpdUseradd-m
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 install
1. Introduction to nagios Default Configuration File
Read more: cyclic and progressive Nagios --- operation (1) install the Nagios Monitoring System
After nagios is installed, the default configuration file is in the/usr/local/nagios/etc directory. The following table lists
Nagios cannot be started, but the syntax check is disabled, and nagios cannot.
[root@mode objects]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfgNagios Core 3.4.3Copyright (c) 2009-2011 Nagios Core Development T
Welcome to the network technology community forum and interact with 2 million technical staff. nagios is generally used to monitor Intranet machines. In fact, if the network conditions are good, it is also feasible to monitor machines on the public network. We used to monitor 28 SQLServer2008 databases on the public network (Telecom to telecom). It turns out that the results are also good.
Welcome to the network technology community forum and interact
download with YumYum Install Nagios Nagios-plugins1, the native monitoring HTTP SSH notifications display warning error, the workaround:#vim/usr/local/nagios/etc/objects/localhost.cfgDefine Service{Use Local-service; Name of service template to useHOST_NAME localhostService_description SSHCheck_command Check_sshNotifications_enabled 1 #改为1, you can}# Define a se
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.
those online servers. But it was not perfect. Then I set up an item, A new monitoring platform nagios has been deployed to monitor all online servers. So far, 413 hosts and 754 services have been monitored.
Although Nagios is very useful, it is really troublesome to set up the equipment and decoration. I can give it a Chinese name based on its pronunciation-it is hard to die. Based on such reasons, I will
Nagios monitors dell server hardware and nagios monitors dell
We have mentioned earlier that omsa is used to monitor dell servers, but it must be accessed through web. This time we use nagios + check_openmanage to monitor the hardware of dell servers.
First, let's look at the figure below:
We can see that there are two ways to achieve monitoring:
1. The
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 + Nconf deploy Nagioscroe source code to install and install the basic environment. Package: ForRHEL/CentOSusers: yuminstall-ywgethttpdphpgccglibcglibc-commongdgd-develmakenet-snmpopenssl-devel. use Nagios + Nconf to deploy the Nagios croe source code to install and install the basic environment. software package: For RHEL/
nagios requires the monitored side to send data to the Nagios side in the agreed format. Monitoring includes 2 types of nodes and services. The node Monitoring convention data format is as follows:[The format is easy to understand, data commit timestamp, monitored node name, node State (up/down/unrearchable), plugin custom extra data. The state-specific explanations for each field are as follows:1. Timestam
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
Nagios doing the front deskI analyzed the pros and cons of Nagios and Nagiosql, based on previous experience and exploration. decided to use Nagios as the monitoring data display layer, temporarily called the "foreground". The nagiosql is the configuration layer of the monitor body, which is called "backstage" temporarily. In short, the backend is a server-side c
1. IntroductionNagios is a plug-in structure, it does not have any monitoring function, all the monitoring is through the plug-in, so it is highly modular and flexible. Nagios monitors objects into two categories: Hosts and services. Hosts typically refer to physical hosts, such as servers, routers, workstations, and printers, where hosts can also be virtual devices, such as Xen virtual Linux systems, and services typically refer to a particular featu
About NagiosNagios is an open source computer system and network monitoring tool that can effectively monitor Windows, Linux and UNIX host status, switch routers and other network settings, printers, etc. Send mail or SMS alarm when the system or service status is abnormal the first time to notify the site operators, after the status of the resumption of normal mail or SMS notification.Nagios, formerly known as Netsaint, was developed and maintained by Ethan Galstad.
sectors/track, 23497 cylindersUnits = cylinders of 16065*512 = 8225280 bytes
Device Boot Start End Blocks Id System/Dev/sda1*1 13 104391 83 Linux/Dev/sda2 14 23497 188635230 8e Linux LVM
Use/dev/sda after Disk as Disk monitoring
4. Failed to restart nagios.
5. Delete and then start[Root @ rdb-s108 bin] # killall nrpe [] Delete first[Root @ rdb-s108 local] #/usr/sbin/nrpe-c/etc/nagios/nrpe. cfg-d[Root @ rdb
Because the Nagios source code installation process is more cumbersome, so the entire compilation of the installation process into a script to allow the system to automatically run, so as to reduce human intervention, improve efficiency.
Ideas from the "dl528888" blog, http://dl528888.blog.51cto.com/
Experimental environment: CentOS 6.3 x86_64, close firewall, SELinux set to Disabled
Installation package
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.