Nagios Add a custom monitoring project++++++++++++++++++++++++++++++++++++++++++++++++++++++++++System Environment: CentOS Linux release 7.2.1511 (Core)Nagios Version: 2.15Here with the Pt-dead-logger plug-in, run the plug-in, there will be a deadlock in the Test.deadlocks table to write the deadlock informationThis is done by detecting if the table has increased the number of rows to send an alarm.Nagios C
The previous article (see http: www.linuxidc.comLinux2011-0943910.htm) introduced how to set up the nagios monitoring service on a linux host and monitor the service status change on the windows host, this time we continue with the previous content. First, the nagios Service monitors other linux Hosts. Secondly, when the monitored mysql service is offline
Previou
= "Wkiol1pa6nmri194aag_lmuqsxc819.jpg"/>So that the external can be accessed?Wrong!The firewall also wants to open TCP port 12489, otherwise Nagios will error when checking the service.So the configuration of the monitor is done, it waits for Nagios to issue a monitoring request, and then it performs a request to send the monitored results back to the
be accessed?Wrong!The firewall also wants to open TCP port 12489, otherwise Nagios will error when checking the service.So the configuration of the monitor is done, it waits for Nagios to issue a monitoring request, and then it performs a request to send the monitored results back to the Nagios monitoring host.3, in t
Nagios monitoring mysql Server:1. Create a dedicated database:[Root @ svr3 ~] #/Usr/local/webserver/mysql/bin/mysql-u root-pEnter password:Welcome to the MySQL monitor. Commands end with; or \ g.Your MySQL connection id is 51910Server version: 5.5.3-m3-log Source distributionType 'help; 'or' \ H' for help. type' \ C' to clear the current input statement.Mysql> create database
-serviceHOST_NAME 100.61.73.2,100,61,73.3Service_description MemoryCheck_command Check_nrpe!check_used_memNotifications_enabled 1}using Python scripts to monitor Linux hosts in Nagios192.168.5.110 at the monitored end1. Put the getload.py in the/usr/local/nagios/libexec first.[Root@nhserver1 ~]# vim/usr/local/nagios/libexec/getload.py#! /usr/bin/env pythonImport
0.24KB. The Check Interval is 30s |In=0.12kb;1200;1700;0;0Out=0.12kb;1500;1800;0;0Total=0.24kb;2700;3500;0;0 Interval=30s;1200;1800;0;0Explain:-V SNMP Protocol version-C Community NameThe-I parameter corresponds to the network card of the above-l output index value. Flag to monitor the appropriate network card.-W Warning value-C Alarm ValueConfiguration of the 4,nagiosIncrease the command.cfg of NagiosVim/etc/nag
/mrtg/usr/local/mrtg/shareOrder Deny,allow# Deny from allAllow from allAllow from 127.0.0.1Allow from:: 1# Allow from. example.comWe can access it through HTTP://IP/MRTG, the effect is as follows:Through the above we can view the traffic information of the switch in real-time, but we want to realize the traffic monitoring alarm, we need nagios to read the MRTG monitor traffic information to achieveIn the ne
Release date:Updated on: 2012-4 4
Affected Systems:Nagios XI Network Monitor 2011R1. 9Description:--------------------------------------------------------------------------------Bugtraq id: 56761
Nagios XI Network Monitor is a server monitoring and Network monitoring device.
Nagios XI Network
Sharing how to monitor Linux servers, let's take a look at how Nagios monitors Windows servers.Part I: Configuring Windows servers to be monitoredFirst, visit http://sourceforge.net/projects/nscplus/and download the nsclinent++ that matches your server. After I download it, the file name is: Nscp-0.4.1.73-win32.msiDouble-click the installer, select Complete Install, and choose Build instance profile, and th
There are a lot of ways to monitor MySQL under Ossim, and today the instructions are monitored under the command line. Usually you run under OSSIM5 to monitor the problem files that are missing libmysqlclient.so.15, but you do not have such problems in Ossim 2.3 and Ossim 3.0 systems.virtualusmallinone:~#/usr/lib/nagios/plugins/check_mysql-s/var/run/mysqld/mysqld
: [External scripts] instead of [External script]4. Restart Nsclinet5. The directory where the monitored end Check_nrpe is located (the CentOS default installation directory is:/usr/lib64/nagios/plugins/)./check_nrpe-h hostip-c Check_runNote :-H after the script just before the machine,-C after the write command, which corresponds to the Check_run in the configuration fileIf the results are consistent with expectations, then you can continue to confi
In general, we only need to monitor the program process. But this time we encountered such a problem, the company developed the program, the program process is still in progress, but the deadlock. This has caused a wide range of impact. What's even worse is that I don't know where the problem is, or what other test colleagues have helped me find out. I really lost my O M face. hellip; to avoid this situation, we analyzed the deadlock of the process
We recommend that you use SNMP to monitor the performance of WIndows servers, but the configuration is cumbersome. It would be more convenient to use NSCLIENT ++ plug-in, provided that the plug-in needs to be installed on a specific monitored server. In case the application affects the server itself, it is not good. Therefore, I have been searching for the SNMP method for monitoring Windows servers.
1. Add the following script:
Cat/usr/lib/
Use a custom script in nagios to monitor DataMate3000 precision air conditioning temperature and other statusesFirst, let's briefly introduce an environment where one nagios warning server and one precision air conditioner DataMata3000 (old models, comes with a single-host management software that does not support email and SMS alarm functions, and can only view
Set all monitoring items to turn on mail alerts:Vim/usr/local/nagios/etc/nagios.cfgSet upEnable_notifications=1 1 for turn on, 0 for off as individual monitoring items only monitor no alarms: For example load only monitor not alarm vim/usr/local/ Nagios/etc/objects/services.cfgdefine Service{use local-service-15x7,s
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.