CN103473164A - Monitoring and early-warning method for linux server - Google Patents

Monitoring and early-warning method for linux server Download PDF

Info

Publication number
CN103473164A
CN103473164A CN2013104390172A CN201310439017A CN103473164A CN 103473164 A CN103473164 A CN 103473164A CN 2013104390172 A CN2013104390172 A CN 2013104390172A CN 201310439017 A CN201310439017 A CN 201310439017A CN 103473164 A CN103473164 A CN 103473164A
Authority
CN
China
Prior art keywords
monitoring
early warning
keeper
server
resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2013104390172A
Other languages
Chinese (zh)
Inventor
李勋堂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN2013104390172A priority Critical patent/CN103473164A/en
Publication of CN103473164A publication Critical patent/CN103473164A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a monitoring and early-warning method for a linux server. The method is developed based on linux shell and is mainly used for monitoring a network flow, a memory usage condition, a processor usage condition and a magnetic disk usage condition which are attended to by a system manager, and setting a management threshold value according to a deployment and application condition of the server to help the manager to intervene with the server in time and prevent from causing application faults by exhaustion of resources. With regard to the fact that a lot of energy of the manager is consumed by monitoring a plurality of the servers, in-time early warning is difficult to realize and emergencies are difficult to dispose of in time, the monitoring and early-warning method can help the system manager to better manage and maintain the servers and can relieve the working load of the manager. The method is simple and practical, is good for maintaining and changing and is convenient to use; and the method can be placed into system services to be operated as a daemon process and does not need to be monitored by the manager at any time.

Description

A kind of method of the monitoring and early warning for the linux server
Technical field
The present invention relates to the relevant linux of computer technology, shell programming, system monitoring, warning aspect, is exactly to programme by shell specifically, realizes the pre-managing of monitoring resource, early warning and the linux server of linux operating system.
Background technology
Along with popularizing gradually of linux, and the characteristics such as linux high performance-price ratio, opening, virus is few, the linux server has become the first-selected operating system platform of a lot of application servers, but maintenance system how better, prevent that operating-system resources from exhausting, carry out in advance system early warning, also become the problem that the server admin personnel pay close attention to.
The method can help linux server admin personnel, and a large amount of servers are managed, and in advance the server resource behaviour in service is grasped, and helps the better operation and maintenance system of managerial personnel, the chance occurred to reduce fault.
Summary of the invention
The purpose of this invention is to provide a kind of method of the monitoring and early warning for the linux server.
The objective of the invention is to realize in the following manner, system monitoring is one of main contents of server admin personnel work, how better maintenance system is prevented trouble before it happens, it is the emphasis that each system manager pays close attention to, in order better to allow the System Administrator Management server, and a large amount of linux servers is managed, the behaviour in service of the processor of paying close attention to for the keeper, internal memory, network, disk resource is monitored.Monitored in real time by original keeper, change procedure auto-control into, concrete grammar comprises content:
1) keeper monitors postbox installment, receives the address of early warning mail for setting the keeper;
2) resource threshold values and variable set up part, this part allows the early warning threshold values of Administrator different resource service condition, when resource reaches respective thresholds, sends different mails and is reminded, and allows the system manager grasp at any time operation condition of server;
3) internal memory monitoring part, this part is mainly monitored the use state of internal memory, when memory usage surpasses specified threshold, sends alarm email to the keeper;
4) network flow monitoring part, this part is mainly used in monitor network turnover flow, and when flow is greater than the setting threshold values, system is sent alarm email;
5) network connects monitor portion, when linking number exceeds respective thresholds, carries out alarm;
6) disk resource monitor portion, send early warning information when the disk resource use exceeds respective thresholds, carries out monitoring and early warning;
7) processor monitor portion, send early warning information when the processor resource use exceeds respective thresholds, helps the keeper to carry out decision-making.
The invention has the beneficial effects as follows: this method is developed based on linux shell, the main network traffics that the system manager is relatively paid close attention to, internal memory are used, processor uses, the disk behaviour in service is monitored, and set the management threshold values according to the server disposition application feature, help the keeper in time server to be intervened, prevent that resource exhaustion from causing application and trouble.Monitoring for a large amount of servers can consume the energy that the keeper is a lot, and is difficult to accomplish timely early warning, in time accident is disposed, and energy help system keeper of the present invention better administers and maintains server, alleviates keeper's work load.And the method is simple and practical, be beneficial to and safeguard and change, the convenient use, can be put in system service and move as finger daemon, do not need the keeper to be guarded constantly.Concrete advantage is as follows:
1) the method is applicable to the monitoring of a large amount of linux servers, can realize unmanned, alleviates the burden of a large amount of linux servers of keeper's maintenance and management;
2) can bulk management, self-defined threshold values, selectively carry out monitoring resource, can make the linux finger daemon, and backstage is moved automatically.
Embodiment
System monitoring is one of main contents of server admin personnel work, and how better maintenance system is prevented trouble before it happens, and is the emphasis that each system manager pays close attention to.In order better to allow the System Administrator Management server, and a large amount of linux servers is managed, the behaviour in service of the processor of paying close attention to for the keeper, internal memory, network, disk resource is monitored.Monitored in real time by original keeper, change procedure auto-control into.
The method mainly is divided into following a few partial content:
The keeper monitors postbox installment, receives the address of early warning mail for setting the keeper;
Resource threshold values and variable set up part, this part can allow the early warning threshold values of Administrator different resource service condition, when resource reaches respective thresholds, sends different mails and is reminded, and allows the system manager grasp at any time operation condition of server;
The internal memory monitoring part, this part is mainly monitored the use state of internal memory, when memory usage surpasses specified threshold, sends alarm email to the keeper;
The network flow monitoring part, this part is mainly used in monitor network turnover flow, and when flow is greater than the setting threshold values, system is sent alarm email;
Network connects monitor portion, when linking number exceeds respective thresholds, carries out alarm;
The disk resource monitor portion, send early warning information when the disk resource use exceeds respective thresholds, carries out monitoring and early warning;
The processor monitor portion, send early warning information when the processor resource use exceeds respective thresholds, helps the keeper to carry out decision-making.
Except the described technical characterictic of instructions, be the known technology of those skilled in the art.

Claims (1)

1. the method for the monitoring and early warning for the linux server is characterized in that comprising following content:
1) keeper monitors postbox installment, receives the address of early warning mail for setting the keeper;
2) resource threshold values and variable set up part, this part allows the early warning threshold values of Administrator different resource service condition, when resource reaches respective thresholds, sends different mails and is reminded, and allows the system manager grasp at any time operation condition of server;
3) internal memory monitoring part, this part is mainly monitored the use state of internal memory, when memory usage surpasses specified threshold, sends alarm email to the keeper;
4) network flow monitoring part, this part is mainly used in monitor network turnover flow, and when flow is greater than the setting threshold values, system is sent alarm email;
5) network connects monitor portion, when linking number exceeds respective thresholds, carries out alarm;
6) disk resource monitor portion, send early warning information when the disk resource use exceeds respective thresholds, carries out monitoring and early warning;
7) processor monitor portion, send early warning information when the processor resource use exceeds respective thresholds, helps the keeper to carry out decision-making.
CN2013104390172A 2013-09-25 2013-09-25 Monitoring and early-warning method for linux server Pending CN103473164A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013104390172A CN103473164A (en) 2013-09-25 2013-09-25 Monitoring and early-warning method for linux server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013104390172A CN103473164A (en) 2013-09-25 2013-09-25 Monitoring and early-warning method for linux server

Publications (1)

Publication Number Publication Date
CN103473164A true CN103473164A (en) 2013-12-25

Family

ID=49798029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013104390172A Pending CN103473164A (en) 2013-09-25 2013-09-25 Monitoring and early-warning method for linux server

Country Status (1)

Country Link
CN (1) CN103473164A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104820628A (en) * 2015-04-01 2015-08-05 浪潮电子信息产业股份有限公司 Method for monitoring system load and system resource use condition based on BASH
CN106095638A (en) * 2016-05-30 2016-11-09 浪潮电子信息产业股份有限公司 The method of a kind of server resource alarm, Apparatus and system
CN106233261A (en) * 2014-04-17 2016-12-14 起元技术有限责任公司 The integration of processing environment monitors and controls
CN106649028A (en) * 2016-09-29 2017-05-10 郑州云海信息技术有限公司 Automated Linux system maintenance task method
CN107231263A (en) * 2017-07-13 2017-10-03 郑州云海信息技术有限公司 A kind of failure monitoring method and supervising device
CN108959017A (en) * 2017-05-23 2018-12-07 北京视联动力国际信息技术有限公司 A kind of super expected occupancy method for early warning of disk and device
CN108959025A (en) * 2018-06-27 2018-12-07 郑州云海信息技术有限公司 A kind of server alarm method, device and server
CN109800131A (en) * 2018-12-18 2019-05-24 平安健康保险股份有限公司 Monitor processing method, device, computer equipment and the storage medium of Linux server
CN112083893A (en) * 2020-09-25 2020-12-15 酒泉钢铁(集团)有限责任公司 Disk space optimization method based on Linux

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002366390A (en) * 2001-06-12 2002-12-20 Mitsubishi Electric Corp Pc server and straight material management method
CN1547121A (en) * 2003-12-10 2004-11-17 中国科学院计算技术研究所 Method for monitoring large-scale cluster system
US20060195561A1 (en) * 2005-02-28 2006-08-31 Microsoft Corporation Discovering and monitoring server clusters
CN101707632A (en) * 2009-10-28 2010-05-12 浪潮电子信息产业股份有限公司 Method for dynamically monitoring performance of server cluster and alarming real-timely
CN102420869A (en) * 2011-12-02 2012-04-18 浪潮集团有限公司 Security monitoring method for cloud data center

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002366390A (en) * 2001-06-12 2002-12-20 Mitsubishi Electric Corp Pc server and straight material management method
CN1547121A (en) * 2003-12-10 2004-11-17 中国科学院计算技术研究所 Method for monitoring large-scale cluster system
US20060195561A1 (en) * 2005-02-28 2006-08-31 Microsoft Corporation Discovering and monitoring server clusters
CN101707632A (en) * 2009-10-28 2010-05-12 浪潮电子信息产业股份有限公司 Method for dynamically monitoring performance of server cluster and alarming real-timely
CN102420869A (en) * 2011-12-02 2012-04-18 浪潮集团有限公司 Security monitoring method for cloud data center

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10235204B2 (en) 2014-04-17 2019-03-19 Ab Initio Technology Llc Integrated monitoring and control of processing environment
CN106233261A (en) * 2014-04-17 2016-12-14 起元技术有限责任公司 The integration of processing environment monitors and controls
US11188381B2 (en) 2014-04-17 2021-11-30 Ab Initio Technology Llc Integrated monitoring and control of processing environment
CN106233261B (en) * 2014-04-17 2020-03-20 起元技术有限责任公司 Integrated monitoring and control of processing environment
CN104820628A (en) * 2015-04-01 2015-08-05 浪潮电子信息产业股份有限公司 Method for monitoring system load and system resource use condition based on BASH
CN106095638A (en) * 2016-05-30 2016-11-09 浪潮电子信息产业股份有限公司 The method of a kind of server resource alarm, Apparatus and system
CN106649028A (en) * 2016-09-29 2017-05-10 郑州云海信息技术有限公司 Automated Linux system maintenance task method
CN108959017A (en) * 2017-05-23 2018-12-07 北京视联动力国际信息技术有限公司 A kind of super expected occupancy method for early warning of disk and device
CN107231263A (en) * 2017-07-13 2017-10-03 郑州云海信息技术有限公司 A kind of failure monitoring method and supervising device
CN108959025A (en) * 2018-06-27 2018-12-07 郑州云海信息技术有限公司 A kind of server alarm method, device and server
CN109800131A (en) * 2018-12-18 2019-05-24 平安健康保险股份有限公司 Monitor processing method, device, computer equipment and the storage medium of Linux server
CN109800131B (en) * 2018-12-18 2024-04-05 平安健康保险股份有限公司 Monitoring processing method and device of Linux server, computer equipment and storage medium
CN112083893A (en) * 2020-09-25 2020-12-15 酒泉钢铁(集团)有限责任公司 Disk space optimization method based on Linux

Similar Documents

Publication Publication Date Title
CN103473164A (en) Monitoring and early-warning method for linux server
CN110224894B (en) Intelligent substation process level network monitoring management system
CN107423198B (en) EAM platform monitoring management method and system
CN106201754A (en) Mission bit stream analyzes method and device
CN101605065A (en) The implementation method of security incident monitoring in the system of security centre
WO2015131744A1 (en) Network device alarm reporting method and network device
CN104539716A (en) Cloud desktop management system desktop virtual machine dispatching control system and method
CN109240863A (en) A kind of cpu fault localization method, device, equipment and storage medium
CN104021438A (en) Method for monitoring physical equipment in business system based on business model and device thereof
CN112346924A (en) Server monitoring method and system
CN107704359A (en) A kind of monitoring system of big data platform
CN102521701A (en) Early warning command system and Early warning command method of power system
CN110135604A (en) Fault handling method, device and processing equipment
DE102017208293A1 (en) Industrial facility management systems and methods therefor
CN107071045A (en) A kind of resource scheduling system based on multi-tenant
MY171606A (en) Server and method for managing access of terminal to connection blocked reaource, and terminal
CN102571413A (en) Method for resource management under cluster environment
CN107205008A (en) The loaded self-adaptive method of WEB application fire wall under cloud computing environment
CN111262815A (en) Virtual host management system
WO2024082861A1 (en) Cloud storage scheduling system applied to video monitoring
CN103905271B (en) A kind of alarm windstorm suppressing method
WO2024037328A1 (en) Global data control method and apparatus for network security of industrial control system of nuclear power plant
CN106714219A (en) Parallel processing automatic dispatch method of mobile communication network management
TWI644540B (en) Flow meter flexible cutting system for virtual network in multi-tenant software-defined network
CN109992471A (en) A kind of method and device of internal memory monitoring

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20131225