NagiosThe device and setup of the remote monitoring software are as follows:
Figure-Nagios
As a system administrator, I'm most depressed when my main online systems stop or stop collecting services without my knowledge, in addition, it may take a long time for the faulty services or hosts to know. Especially when it comes to the festival, the system administrator is very important. To change this passive
Zabbix SNMP interface template, found that the Zabbix sampling time is 1 minutes, in our due to large flow, quickly cleared, and sometimes counted 0 after the new value, more than the last count, Zabbix thought not clear 0, The direct subtraction is divided by the time interval, resulting in "the illusion of a steep drop in network traffic".After finding the reason, the rest is good, and what we need is to use the OID data of counter64.Export Templat
Nagios Structure Description
Nagios structure, can be divided into core and plug-in two parts. The core of Nagios only provides a little monitoring function, so to build a perfect IT monitoring management system, users also need to install the appropriate plug-ins in the
Deploying Nagios monitoring on the MySQL server
Deploying Nagios monitoring on the MySQL server
-- Ulimit-n 65535-- Monitor the forced installation of nagios Client1. Install[Root @ localhost nagios] # llTotal 768-Rw-r -- 1 root 7
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 the Web server IP: "Webip read-p" please input the Web alias name: "
Zabbix monitoring router steps based on SNMP protocolThe procedure is super convenient.1. Turn on SNMP on the router2. Ensure that the extranet can access3. Test with Snmpwalk4. Add Zabbix host, add IP in SNMP Interfaces, remove the default Zabbix agent, module select template SNMP
Nagios is an open source free network monitoring tool that can monitor Windows, Linux and UNIX host status, switch routers and other network equipment, in the system or service status anomalies when sending mail or SMS alarm, the first time to notify the site operations personnel. Traffic monitoring is not his forte, traffic
Cacti is a set of graphical analysis tools for network traffic monitoring based on PHP,MYSQL,SNMP and RRDtool development.Mysqlreport is the most commonly used tool for MySQL performance monitoring, and it helps to understand MySQL running status and configuration tuning.Mysqlsla is a MySQL log analysis tool launched by hackmysql.com, which is very powerful. Data
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
The Nagios server does not have a Check_nrpe plug-in by default and needs to compile and install Nrpe.Nrpe provides the CHECK_NRP and Nrpe binaries and the configuration files required to start the process.For the Nagios server, it only needs to Check_nrpe plug-in to send monitoring instructions, while the monitored side needs to be monitored by the Nrpe process
In Nagios, the alarm Shell script for monitoring MySQL transactions that have been RUNNING but not finished, nagiosmysqlPreface:An error occurred while submitting the business alarm order. The page was not responded. After troubleshooting, the transaction was not committed or rolled back. I thought that if the operation status of the transaction was monitored in time, in this way, you can troubleshoot the p
description of the location in long-term storage (e.g. a disk) from which this software is loaded.The path where the process resides. Individual processes are empty, usually ending with a path-delimited character..1.3.6.1.2.1.25.4.2.1.5. iso.org.dod.internet.mgmt.mib-2.host.hrswrun.hrswruntable.hrswrunentry.hrswrunparametersA description of the parameters supplied to this software when it was initially loaded.command-line arguments. Strangely, Chrome's parameters don't seem to be taken..1.3.6.1
Recently need to monitor all the servers in the company, of course, there are many software can perform this function, such as Microsoft's scom, there is today's Nagios software, but the former is okay to say that the Windows platform products, or better configuration and installation, But if we're going to install Nagios, there may be a little bit bad, because this dongdong is installed on the Linux platfo
(worktime). Then, if the defined monitoring is not in the defined alarm time period, Nagios will not send an alert notification message, no matter what happens.Notification_options: Defines the circumstances under which the monitored host (object) sends an alert notification message, the optional status is as follows:(1) w:warning, warning(2) U:unknown, unknown(3) C:critical, Danger (reached critical value
Check if the package is installed because Nagios needs to rely on these packages to provide services [[emailprotected]nagios]#rpm-qgccglibc Glibc-commongdgd-develxinetdopenssl-devel[[emailprotected]nagios] #yum install-ygdgd-develxinetdopenssl-devel Build Nagios Account [[email protected]~]#useraddnagios-s/sbin/nologin
Nrpe is based on the correct installation of Nagios-plugins, nagios-plugins installation details, please go to:[Nagios monitoring Nagios-plugins installation]http://4709096.blog.51cto.com/4699096/17022241. Dependency packet Detection#rpm-Q xinetd openssl-devel#yum Install xi
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 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.