Recently there are many students on nagios and cacti integration is very tangled, close-up this article for your reference, to solve everyone in nagios and cacti integration process encountered problems.One, cacti installation deploymentAs a Linux SA, the most important thing in daily life is to ensure the normal and stable operation of the website, we need to monitor the running state of the website and th
1, monitoring plug-in downloadMongodb plug-ins are: git://github.com/mzupan/nagios-plugin-mongodb.git, just started I did not install the gitpub Environment here, Find the user grassroots help download. Then uploaded to the csdn Resources page, the new is:http://download.csdn.net/detail/mchdba/80190772, add a newMongoDBMonitoring CommandsBecause the MongoDB service is a physical machine that is shared with
Nagios system MonitoringNagios is a free, open source IT infrastructure monitoring system that is powerful, flexible, and capable of monitoring Windows, Linux, VMware and Unix host status, switches, routers and other network settings. Once the host or service status is abnormal, a message or SMS alert will be sent to the IT operator for the first time to send a n
IntroductionThis are intended to provide if you have simple instructions on how to install Nagios from source (code) on Ubuntu and H Ave It monitoring your local machine inside of minutes. No Advanced installation Options is discussed here-just the basics that would work for 95% of the users who want to get star Re ".These instructions should work with the most recent vesrions of Ubuntu with minor changes o
In previous articles, I have introduced Nagios installation and plug-in compiling. In practice, it is found that the Nagios service is not powerful in monitoring remote hosts, and the nrpe module must be installed to support it. The following describes how Nagios uses nrpe to monitor remote host survival, disk space, l
monitored by default:10. nagios configuration file descriptionAfter nagios is installed, the main directory is/usr/local/nagios. All configuration files are in the/usr/local/nagios/etc directory:Cgi. cfgHtpasswd. users // used for web login verification.Nagios. cfg // Main configuration file of
Check_disk (on server)If normal, it will output a row of disk detection data, or may be error.cd/etc/nagios/conf.d/Vim 192.168.0.12.cfg (your IP address name) # Add the following: Define host{ use linux-server host_name 192.168.0.12 alias 0.12 address 192.168.0.12 } Define Service{Use Generic-serviceHOST_NAME 192.168.0.12Service_description Check_diskCheck_command Check_nrpe!check_diskMax_check_attempts 5Normal_c
Build Nagios monitoring under LinuxOne, what is Nagios1.nagios IntroductionNagios is a monitoring system that monitors the system's operational status and network information.Nagios can monitor the specified local or remote host and service, as well as provide exception notification functionality.Nagios runs on top of
username (Nagiosadmin) And password, which you just set, use the browser installed by default in the system, and use the hyperlink below
Http: // localhost/nagios/Note: if the error "You don't have permission to access/nagios/on this server" is reported, You need to installPhpThe plug-in can solve the problem by running the command yum install php-y (yum must ensure that your linux system can be connected
1.Nagios IntroductionNagios is a powerful network monitoring tool, it can effectively monitor the Windows, Linux, UNIX host status and router switch network settings, printer work status, and the status of abnormal services in a timely manner in the form of mail, MSN SMS, such as the first time to notify the administrator. Because it is a follow GPLV2 open-source network
The first two days to the Nagios under a monitoring item to add monitoring data, found that the monitoring data is there, but later found that the graphics data is not, and suddenly do not know where the problemHere are my steps to troubleshoot the issue:Log on to the Nagios
After sharing how to monitor Linux servers, let's take a look at how Nagios monitors Windows servers.
Part 1: configure the monitored Windows Server
First, visit http://sourceforge.net/projects/nscplus/and download the NSClinent ++ of the License Server. The file I downloaded was named: NSCP-0.4.1.73-Win32.msi
Double-click the installer, select Complete Install, and select generate the instance configuration file. The other one will be OK after
server via direct routing vs/ DR (Virtual Server via Direct Routing), which can greatly improve the scalability of the system. Vs/nat, Vs/tun and VS/DR technologies are three IP load balancing technologies implemented in LVS cluster.
Nagios Introduction
Nagios is a monitoring system that monitors system operation status and network information.
I. Experimental environment
OS
CentOS 6.8 x86_64
Nagios Main Program
Nagios-4.1.1.tar.gz
Nagios Plugin
Nagios-plugins-2.1.1.tar.gz
Two. Configure domestic sources#备份系统自带的yum源并更新缓存mv/etc/yum.repos.d/centos-base.repo/etc/yum.repos.d/centos-bas
The monitoring side of the work has been done, now as long as the monitoring side of the operation;
Note: be monitored MySQL remember to set the password AH
The addition of service types is also 2:
1.web Server
2.mysql Server
The following is a script to add a Web service:
WebServices () {read-p "" Please input
DescriptionThe work consists of two parts of the monitoring side (123) and the monitored end (iv)One, add script in Nrpe.cfgAdd Command index in NRPE.CFGCOMMAND[CHECK_USED_MEM]=/USR/LOCAL/NAGIOS/LIBEXEC/CHECK_USED_MEM.SH 80 90Description: Actual memory usage exceeds 80% warning; more than 90% critical warningsSecond, add the specific scriptReference Script check_used_mem.shWarn=$1Critical=$2 All= ' Free | S
-c100000,200000}Note: The definition service is: The max_check_attempts parameter is recommended to be modified to 6 (default is 4), because this plug-in must run at least 3 to 4 times or more to be normal, read the data once and record in the temporary file, as follows:650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7F/44/wKioL1cYaiLROoWTAAEACZkTARQ563.png "title=" 1.png " alt= "Wkiol1cyailroowtaaeaczktarq563.png"/>To check and reload the configuration file:Service
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.