CN105893211A - Method and system for monitoring - Google Patents
Method and system for monitoring Download PDFInfo
- Publication number
- CN105893211A CN105893211A CN201610206083.9A CN201610206083A CN105893211A CN 105893211 A CN105893211 A CN 105893211A CN 201610206083 A CN201610206083 A CN 201610206083A CN 105893211 A CN105893211 A CN 105893211A
- Authority
- CN
- China
- Prior art keywords
- monitoring
- monitored
- information
- equipment
- plug
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a method and a system for monitoring. The method comprises the steps of presetting a main monitoring program, installing a monitoring plug-in on each to-be-monitored device in advance, and installing a monitoring sensor on each to-be-monitored device in advance; using the monitoring plug-in to monitor the system services of the corresponding to-be-monitored devices to generate first monitoring information, and sending the first monitoring information to the main monitoring program; using the monitoring sensors to monitor hardware information of the corresponding to-be-monitored devices to generate second monitoring information, and sending the second monitoring information to the corresponding monitoring plug-in; using the monitoring plug-in to acquire the second monitoring information generated by the corresponding monitoring sensors, and sending the second monitoring information to the main monitoring program; using the main monitoring program to receive the first monitoring information and the second monitoring information which are sent by all the monitoring plug-in. The method and the system for monitoring can more comprehensively monitor.
Description
Technical field
The present invention relates to field of computer technology, particularly to the method and system of a kind of monitoring.
Background technology
The scale of data center is annual all constantly to be increased, in order to ensure the normal of the equipment of data center
Run, it is ensured that the overall operation of data center, need the equipment in data center is monitored.
In prior art, the monitoring to equipment is largely divided into two aspects, and one is the prison to physical equipment
Control, another is the monitoring to system service.Monitoring to physical equipment is mainly by Cacti system
Realize, be monitored system service mainly being realized by Ganglia monitoring system.If wanted
The two aspect of data center is all monitored, it is necessary to build Cacti system and Ganglia simultaneously
Monitoring system.
Visible by foregoing description, in the prior art, do not have the one can be simultaneously to physical equipment be
The scheme that system service is monitored, the scheme of prior art is the most comprehensive.
Summary of the invention
Embodiments provide the method and system of a kind of monitoring, it is possible to be monitored more fully hereinafter.
On the one hand, a kind of method embodiments providing monitoring, including:
S1: pre-set monitoring mastery routine, installs monitoring plug-in unit, in advance in advance on each equipment to be monitored
Monitoring sensor is first installed on each equipment to be monitored;
S2: by the system service of the equipment to be monitored of described monitoring plug-in unit monitoring correspondence, generate the first prison
Control information, is sent to described monitoring mastery routine by described first monitoring information;
S3: by the hardware information of the equipment to be monitored of described monitoring sensor monitoring correspondence, generate second
Monitoring information, is sent to the monitoring plug-in unit of correspondence by described second monitoring information;
S4: obtain the described second monitoring letter that corresponding monitoring sensor generates by described monitoring plug-in unit
Breath, is sent to described monitoring mastery routine by described second monitoring information;
S5: by described monitoring mastery routine receive the described first monitoring information sent of each monitoring plug-in unit and
Described second monitoring information.
Further, also include:
By described monitoring mastery routine according to the described first monitoring information and described the of each equipment to be monitored
Two monitoring information, determine whether each equipment to be monitored breaks down, and when breaking down, send pre-
Alarming information.
Further, also include:
Described first monitoring information includes: system load information;
By described monitoring mastery routine according to the system load information of each equipment to be monitored and each to be monitored
The disposal ability of equipment, regulates the load of each equipment to be monitored.
Further, also include:
Pre-set the attribute to be monitored of each equipment to be monitored;
The system service of the described equipment to be monitored by described monitoring plug-in unit monitoring place in described S2,
Generate the first monitoring information, including:
By described monitoring plug-in unit according to attribute to be monitored corresponding to corresponding equipment to be monitored, to corresponding
The system service of equipment to be monitored is monitored, and generates described first monitoring according to corresponding attribute to be monitored
Information;
The described hardware information by described monitoring sensor to the equipment to be monitored at place in described S3
It is monitored, generates the second monitoring information, including:
By described monitoring sensor according to attribute to be monitored corresponding to corresponding equipment to be monitored, to correspondence
The hardware information of equipment to be monitored be monitored, generate described second prison according to corresponding attribute to be monitored
Control information.
Further, before described S2, also include:
Installation agent client on each equipment to be monitored in advance, it is right to be run by described agent client
The monitoring plug-in unit answered.
On the other hand, embodiments provide the system of a kind of monitoring, including:
Monitoring plug-in unit, monitoring sensor, monitoring main program module;
In each its upper side to be monitored, there is described monitoring plug-in unit in administration;
In each its upper side to be monitored, there is described monitoring sensor in administration;
Described monitoring plug-in unit, for monitoring the system service of the equipment to be monitored of correspondence, generates the first monitoring
Information, is sent to described monitoring main program module by described first monitoring information;
Described monitoring sensor, for monitoring the hardware information of the equipment to be monitored of correspondence, generates the second prison
Control information, is sent to the monitoring plug-in unit of correspondence by described second monitoring information;
Described monitoring plug-in unit, for obtaining the described second monitoring information that the monitoring sensor of correspondence generates,
Described second monitoring information is sent to described monitoring main program module;
Described monitoring main program module, for receiving the described first monitoring information that each monitoring plug-in unit is sent
With described second monitoring information.
Further, described monitoring main program module, it is additionally operable to described according to each equipment to be monitored
One monitoring information and described second monitoring information, determine whether each equipment to be monitored breaks down, and
When breaking down, send early warning information.
Further, also include:
Described first monitoring information includes: system load information;
Described monitoring mastery routine, is additionally operable to the system load information according to each equipment to be monitored and each treats
The disposal ability of monitoring device, regulates the load of each equipment to be monitored.
Further, also include:
Unit is set, for arranging the attribute to be monitored of each equipment to be monitored;
Described monitoring plug-in unit, in the system service of the equipment to be monitored performing monitoring place, generates the first prison
During control information, for the to be monitored attribute corresponding according to corresponding equipment to be monitored, to corresponding to be monitored
The system service of equipment is monitored, and generates described first monitoring information according to corresponding attribute to be monitored;
Described monitoring sensor, is monitored the hardware information of the equipment to be monitored at place in execution, raw
When becoming the second monitoring information, for the to be monitored attribute corresponding according to corresponding equipment to be monitored, to correspondence
The hardware information of equipment to be monitored be monitored, generate described second prison according to corresponding attribute to be monitored
Control information.
Further, also include: agent client;
In each its upper side to be monitored, there is described agent client in administration;
Described agent client, for running the monitoring plug-in unit of correspondence.
In embodiments of the present invention, all according to monitoring plug-in unit and monitoring sensor on each equipment to be monitored,
By monitoring plug-in unit, system service is monitored, is monitored by monitoring sensor correspondence hardware information,
Then, it is sent to monitor mastery routine be uniformly processed, it is achieved monitor equipment to be monitored more fully hereinafter.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality
Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that below,
Accompanying drawing in description is some embodiments of the present invention, for those of ordinary skill in the art, not
On the premise of paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of the method for a kind of monitoring that one embodiment of the invention provides;
Fig. 2 is the flow chart of the method for the another kind of monitoring that one embodiment of the invention provides;
Fig. 3 is the schematic diagram of the system of a kind of monitoring that one embodiment of the invention provides.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this
Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention,
Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments, based on
Embodiment in the present invention, those of ordinary skill in the art are institute on the premise of not making creative work
The every other embodiment obtained, broadly falls into the scope of protection of the invention.
As it is shown in figure 1, a kind of method embodiments providing monitoring, the method can include with
Lower step:
S1: pre-set monitoring mastery routine, installs monitoring plug-in unit, in advance in advance on each equipment to be monitored
Monitoring sensor is first installed on each equipment to be monitored;
S2: by the system service of the equipment to be monitored of described monitoring plug-in unit monitoring correspondence, generate the first prison
Control information, is sent to described monitoring mastery routine by described first monitoring information;
S3: by the hardware information of the equipment to be monitored of described monitoring sensor monitoring correspondence, generate second
Monitoring information, is sent to the monitoring plug-in unit of correspondence by described second monitoring information;
S4: obtain the described second monitoring letter that corresponding monitoring sensor generates by described monitoring plug-in unit
Breath, is sent to described monitoring mastery routine by described second monitoring information;
S5: by described monitoring mastery routine receive the described first monitoring information sent of each monitoring plug-in unit and
Described second monitoring information.
In embodiments of the present invention, all according to monitoring plug-in unit and monitoring sensor on each equipment to be monitored,
By monitoring plug-in unit, system service is monitored, is monitored by monitoring sensor correspondence hardware information,
Then, it is sent to monitor mastery routine be uniformly processed, it is achieved monitor equipment to be monitored more fully hereinafter.
In order to monitor whether equipment to be monitored breaks down, in a kind of possible implementation, the method
Also include:
By described monitoring mastery routine according to the described first monitoring information and described the of each equipment to be monitored
Two monitoring information, determine whether each equipment to be monitored breaks down, and when breaking down, send pre-
Alarming information.
In this implementation, monitoring mastery routine is by the first monitoring information obtained and the second monitoring information
Discriminate whether to break down, and provide early warning when breaking down so that fault can be solved in time
Certainly, it is ensured that the trouble-free operation of equipment to be monitored.Here early warning information can be by color, sound,
The form of mail or SMS alarm realizes, and can send the normal notice of recovery after recovering normally.
In order to ensure the load balancing of each equipment to be monitored, in a kind of possible implementation, the party
Method also includes:
Described first monitoring information includes: system load information;
By described monitoring mastery routine according to the system load information of each equipment to be monitored and each to be monitored
The disposal ability of equipment, regulates the load of each equipment to be monitored.
In this implementation, according to the current load situation of each equipment to be monitored with each to be monitored set
Standby disposal ability is come for equipment to be monitored distribution load.By this implementation, it is possible to achieve system is born
Carry the optimal scheduling of balance.When the load of certain equipment exceedes the preset ratio of its disposal ability, permissible
More idle equipment is distributed in the fractional load of this equipment.The current loading of equipment can pass through equipment
The percentage ratio of disposal ability determine.For example, the disposal ability of device A is 100, currently bears
Load is 80, and loading is 80%;The disposal ability of equipment B is 50, and present load is 20, loading
It is 40%;In this case, it is possible to the fractional load of device A is distributed to equipment B process.
When distribution load, keep the loading of each equipment within default threshold value as far as possible.
In a kind of possible implementation, the method also includes:
Pre-set the attribute to be monitored of each equipment to be monitored;
The system service of the described equipment to be monitored by described monitoring plug-in unit monitoring place in described S2,
Generate the first monitoring information, including:
By described monitoring plug-in unit according to attribute to be monitored corresponding to corresponding equipment to be monitored, to corresponding
The system service of equipment to be monitored is monitored, and generates described first monitoring according to corresponding attribute to be monitored
Information;
The described hardware information by described monitoring sensor to the equipment to be monitored at place in described S3
It is monitored, generates the second monitoring information, including:
By described monitoring sensor according to attribute to be monitored corresponding to corresponding equipment to be monitored, to correspondence
The hardware information of equipment to be monitored be monitored, generate described second prison according to corresponding attribute to be monitored
Control information.
In this implementation, owing to being not that all information of equipment are required for monitoring, can be by treating
Monitoring attributes determines the information needing monitoring.The most more there is specific aim, it is possible to increase the effect of monitoring
Rate.
In a kind of possible implementation, before described S2, also include:
Installation agent client on each equipment to be monitored in advance, it is right to be run by described agent client
The monitoring plug-in unit answered.
In embodiments of the present invention, there is a kind of scene: in data center, have two equipment to be monitored respectively
It is device A and equipment B;The two equipment may is that router, switch, printer etc..Need
Device A and equipment B to data center are monitored.
As in figure 2 it is shown, a kind of method embodiments providing monitoring, the method can include with
Lower step:
Step 201: pre-set monitoring mastery routine, be respectively mounted prison in device A and equipment B in advance
Control plug-in unit A and monitoring plug-in unit B, is respectively mounted monitoring sensor A in advance in device A and equipment B
With monitoring sensor B.
This monitoring mastery routine can be arranged in a server, and monitoring mastery routine and monitoring plug-in unit are by mutually
Networking connects.Here monitoring sensor can be temperature sensor, humidity sensor, vibrating sensor
Deng, arrange according to the needs of user.
Furthermore it is possible to pre-set the attribute to be monitored of device A and equipment B.Such as: temperature, humidity,
Cpu busy percentage, memory usage etc..
Step 202: by monitoring the system service of plug-in unit A monitoring device A, generates the first monitoring information
A, is sent to monitor mastery routine by the first monitoring information A, by monitor plug-in unit B monitoring device B is
System service, generates the first monitoring information B, is sent to monitor mastery routine by the first monitoring information B.
Step 203: by the hardware information A of monitoring sensor A monitoring device A, generates the second monitoring
Information A, is sent to monitor plug-in unit A, by monitoring sensor B monitoring device by the second monitoring information A
The hardware information B of B, generates the second monitoring information B, is sent to monitor plug-in unit by the second monitoring information B
B。
Step 204: obtain the second monitoring information A that monitoring sensor A generates by monitoring plug-in unit A,
It is sent to monitor mastery routine by the second monitoring information A, obtains monitoring sensor B by monitoring plug-in unit B
The second monitoring information B generated, is sent to monitor mastery routine by the second monitoring information B.
Step 205: receive monitoring plug-in unit A first by monitoring mastery routine and monitor information A and the second monitoring
Information A, receives monitoring plug-in unit B first by monitoring mastery routine and monitors information B and the second monitoring information B.
Step 206: believed according to the first monitoring information A and second monitoring of device A by monitoring mastery routine
Breath A, determines whether device A breaks down, and when breaking down, sends early warning information, by prison
Control mastery routine monitors information B according to first monitoring information B and second of equipment B, whether determines equipment B
Break down, and when breaking down, send early warning information.
For example, according to the temperature information in the second monitoring information A, the temperature of discovering device A is
Exceed predetermined threshold value, then send early warning information.
The embodiment of the present invention can complete the system of the concentration to large scale network equipment, server, system service
One monitoring, has the highest real-time, effectiveness and extensibility, has and provides monitoring in 24 hours all the year round
Ability with alert notice.
In embodiments of the present invention, monitoring mastery routine may operate in a Linux server.According to
Monitor the first monitoring information and the second monitoring information that mastery routine receives, show use by graphical interfaces
Family.Wherein, main control function can include network monitoring, system monitoring, hardware monitoring, resource prison
Control, service monitoring, report generation, alert notice, troubleshooting measure etc..
Furthermore, it is contemplated that data center systems and COS are various, in conjunction with actively monitoring and passive monitoring
Respective pluses and minuses, in embodiments of the present invention, use hybrid monitoring mode, i.e. actively monitoring and quilt
The mode that dynamic monitoring combines, it is achieved the monitoring of total system environment.In system environments during implementing monitoring,
Meet the tendency and can grasp the operation shape of current system environment by actively monitoring and the method that passively prison sky combines comprehensively
State, operation trend and overall quality of service.
As it is shown on figure 3, the system of a kind of monitoring of the present embodiment offer, including:
Monitoring plug-in unit 301, monitoring sensor 302, monitoring main program module 303;
In each its upper side to be monitored, there is described monitoring plug-in unit in administration;
In each its upper side to be monitored, there is described monitoring sensor in administration;
Described monitoring plug-in unit, for monitoring the system service of the equipment to be monitored of correspondence, generates the first monitoring
Information, is sent to described monitoring main program module by described first monitoring information;
Described monitoring sensor, for monitoring the hardware information of the equipment to be monitored of correspondence, generates the second prison
Control information, is sent to the monitoring plug-in unit of correspondence by described second monitoring information;
Described monitoring plug-in unit, for obtaining the described second monitoring information that the monitoring sensor of correspondence generates,
Described second monitoring information is sent to described monitoring main program module;
Described monitoring main program module, for receiving the described first monitoring information that each monitoring plug-in unit is sent
With described second monitoring information.
In a kind of possible implementation, described monitoring main program module, it is additionally operable to supervise according to each waiting
Whether the described first monitoring information of control equipment and described second monitoring information, determine each equipment to be monitored
Break down, and when breaking down, send early warning information.
In a kind of possible implementation, also include:
Described first monitoring information includes: system load information;
Described monitoring mastery routine, is additionally operable to the system load information according to each equipment to be monitored and each treats
The disposal ability of monitoring device, regulates the load of each equipment to be monitored.
In a kind of possible implementation, also include:
Unit is set, for arranging the attribute to be monitored of each equipment to be monitored;
Described monitoring plug-in unit, in the system service of the equipment to be monitored performing monitoring place, generates the first prison
During control information, for the to be monitored attribute corresponding according to corresponding equipment to be monitored, to corresponding to be monitored
The system service of equipment is monitored, and generates described first monitoring information according to corresponding attribute to be monitored;
Described monitoring sensor, is monitored the hardware information of the equipment to be monitored at place in execution, raw
When becoming the second monitoring information, for the to be monitored attribute corresponding according to corresponding equipment to be monitored, to correspondence
The hardware information of equipment to be monitored be monitored, generate described second prison according to corresponding attribute to be monitored
Control information.
In a kind of possible implementation, also include: agent client;
In each its upper side to be monitored, there is described agent client in administration;
Described agent client, for running the monitoring plug-in unit of correspondence.
The embodiment of the present invention can use the framework design of Nagios, and for it structurally and functionally
Deficiency, further design and exploitation, use distributed frame can be applied to various complex environment, can
Maintainability is strong.
In embodiments of the present invention, according to the built environment of monitored system, in conjunction with monitoring integrated demand,
And logical structure of based on Nagios framework, according to realizing the difference of logic, this system be designed as from lower and
On three layers of population structure, respectively monitor physical layer, monitoring level of abstraction, monitoring logic layer.
Monitoring physical layer is made up of various types of monitored object, and monitored object can be equipment to be monitored
Hardware, such as: server, switch, router, printer etc., it is also possible in monitoring device should
With service, such as: share storage service etc..For the ease of these objects are managed, according in data
These monitored object are carried out partition management by the actual application of the heart, can be divided into grid, cluster, several
According to monitoring regions such as, cloud computing, GPU application.
The virtual level that monitoring level of abstraction is made up of various monitoring plug-in units.Need to detect main frame or clothes
Performing a plug-in card program always during the state being engaged in, various plug-in units play connection monitoring logic service and reality
Border be monitored main frame and service between bridge function, play the pivotal role formed a connecting link.Level of abstraction master
Including for the various monitoring plug-in units of Data Detection with call the Agent of these plug-in units.Monitor main journey
Sequence can pass through dispatching management module operation monitoring plug-in command, the monitoring agent on distance host or nothing
Proxy sends monitoring request, and the testing result returned is stored according to established form.Data acquisition
Pattern use aggressive mode to combine with Passive Mode according to the concrete condition of monitoring host computer and service, generation
The mode that reason monitoring combines with without agent monitors.It is to say, monitoring mastery routine can be actively to monitoring
Plug-in unit sends monitor command, obtains the monitoring information returned, it is also possible to, wait monitoring plug-in unit to be received actively
The information sent.
Monitoring logic layer mainly includes some systemic-functions realizing specifically monitoring, as monitored object management,
Scheduling realization, displaying, alert notice etc..Wherein the management of object is mainly used for the genus to monitoring device
The definition of property;Management and running are for realizing the optimal scheduling of system load balance;Exposition is based on journey
Sequence, by servicing the monitoring management interface providing unified, is used for concentrating displaying monitoring information, to manager one
The most real-time individual system operation situation;Rights management realizes accessing user and the classification pipe of operating right
Reason;Warning function realizes the timely failure notification of the mode such as note, mail.
In embodiments of the present invention, based on Logic Structure Design based on Nagios framework, binding number
According to the demand at center, extensive monitoring system has needed design and the realization of function in detail below.First
Complete to monitor the definition of physical layer monitored object, then according to main Passive Mode and the mode with or without agency,
Use monitoring mastery routine management and running monitoring level of abstraction plug-in unit, monitoring objective carried out state or performance detection,
And Monitoring Data result is uploaded onto the server.The data collected are processed and store by mastery routine,
Realize, to monitoring data analysis and process, completing to concentrate displaying, rights management, configuration at monitoring logic layer
Management and the function of alert notice.Nagios frame structure is suitable for large scale deployment, and its pin function is rich
Rich, it is possible to meet the monitoring demand of various customization, the structure of modular insert is very beneficial for setting up
Secondary development environment easily so that it is cope with the IT environment of large-scale complex.Nagios is a
Infrastructure monitoring system, complete function, application is flexible, energy effective monitoring various operating system main frame
State and switch, the network condition etc. of router.
Provide the centralized and unified monitoring of the network equipment, server, system service in embodiments of the present invention
System, has the highest real-time, effectiveness and extensibility, it is possible to has and provides 24 hours prisons all the year round
Control and the ability of alert notice.The embodiment of the present invention can be applied to the monitoring at large-scale data center, carries
For a concentration, unification, response is timely, high availability, safety are high, the monitoring system of effect.
The contents such as the information between each unit in said apparatus is mutual, execution process, due to the present invention
Embodiment of the method is based on same design, and particular content can be found in the narration in the inventive method embodiment, this
Place repeats no more.
The embodiment of the present invention at least has the advantages that
1, in embodiments of the present invention, all according to monitoring plug-in unit and monitoring sensing on each equipment to be monitored
Device, is monitored system service by monitoring plug-in unit, is carried out by monitoring sensor correspondence hardware information
Monitoring, then, is sent to monitor mastery routine and is uniformly processed, it is achieved monitor to be monitored setting more fully hereinafter
Standby.
2 in embodiments of the present invention, it is provided that a kind of framework realizing various function, monitor, detect,
The functions such as alarm notification are completed by plug-in unit, and frame structure can adapt to the system of complexity flexibly
Environment, exploitation based on this framework disclosure satisfy that various monitoring demand.
It should be noted that in this article, the relational terms of such as first and second etc be used merely to by
One entity or operation separate with another entity or operating space, and not necessarily require or imply this
Relation or the order of any this reality is there is between a little entities or operation.And, term " includes ",
" comprise " or its any other variant is intended to comprising of nonexcludability, so that include that one is
The process of row key element, method, article or equipment not only include those key elements, but also include the brightest
Other key elements really listed, or also include intrinsic for this process, method, article or equipment
Key element.In the case of there is no more restriction, statement " include one " and limit
Key element, it is not excluded that there is also another in including the process of described key element, method, article or equipment
Outer same factor.
One of ordinary skill in the art will appreciate that: realize all or part of step of said method embodiment
Can be completed by the hardware that programmed instruction is relevant, aforesaid program can be stored in embodied on computer readable
Storage medium in, this program upon execution, performs to include the step of said method embodiment;And it is aforementioned
Storage medium include: various Jie that can store program code such as ROM, RAM, magnetic disc or CD
In matter.
Last it should be understood that the foregoing is only presently preferred embodiments of the present invention, it is merely to illustrate this
The technical scheme of invention, is not intended to limit protection scope of the present invention.All spirit in the present invention and former
Any modification, equivalent substitution and improvement etc. done within then, are all contained in protection scope of the present invention.
Claims (10)
1. the method for a monitoring, it is characterised in that including:
S1: pre-set monitoring mastery routine, installs monitoring plug-in unit, in advance in advance on each equipment to be monitored
Monitoring sensor is first installed on each equipment to be monitored;
S2: by the system service of the equipment to be monitored of described monitoring plug-in unit monitoring correspondence, generate the first prison
Control information, is sent to described monitoring mastery routine by described first monitoring information;
S3: by the hardware information of the equipment to be monitored of described monitoring sensor monitoring correspondence, generate second
Monitoring information, is sent to the monitoring plug-in unit of correspondence by described second monitoring information;
S4: obtain the described second monitoring letter that corresponding monitoring sensor generates by described monitoring plug-in unit
Breath, is sent to described monitoring mastery routine by described second monitoring information;
S5: by described monitoring mastery routine receive the described first monitoring information sent of each monitoring plug-in unit and
Described second monitoring information.
Method the most according to claim 1, it is characterised in that also include:
By described monitoring mastery routine according to the described first monitoring information and described the of each equipment to be monitored
Two monitoring information, determine whether each equipment to be monitored breaks down, and when breaking down, send pre-
Alarming information.
Method the most according to claim 1, it is characterised in that also include:
Described first monitoring information includes: system load information;
By described monitoring mastery routine according to the system load information of each equipment to be monitored and each to be monitored
The disposal ability of equipment, regulates the load of each equipment to be monitored.
Method the most according to claim 1, it is characterised in that also include:
Pre-set the attribute to be monitored of each equipment to be monitored;
The system service of the described equipment to be monitored by described monitoring plug-in unit monitoring place in described S2,
Generate the first monitoring information, including:
By described monitoring plug-in unit according to attribute to be monitored corresponding to corresponding equipment to be monitored, to corresponding
The system service of equipment to be monitored is monitored, and generates described first monitoring according to corresponding attribute to be monitored
Information;
The described hardware information by described monitoring sensor to the equipment to be monitored at place in described S3
It is monitored, generates the second monitoring information, including:
By described monitoring sensor according to attribute to be monitored corresponding to corresponding equipment to be monitored, to correspondence
The hardware information of equipment to be monitored be monitored, generate described second prison according to corresponding attribute to be monitored
Control information.
5. according to described method arbitrary in claim 1-4, it is characterised in that before described S2,
Also include:
Installation agent client on each equipment to be monitored in advance, it is right to be run by described agent client
The monitoring plug-in unit answered.
6. the system of a monitoring, it is characterised in that including:
Monitoring plug-in unit, monitoring sensor, monitoring main program module;
In each its upper side to be monitored, there is described monitoring plug-in unit in administration;
In each its upper side to be monitored, there is described monitoring sensor in administration;
Described monitoring plug-in unit, for monitoring the system service of the equipment to be monitored of correspondence, generates the first monitoring
Information, is sent to described monitoring main program module by described first monitoring information;
Described monitoring sensor, for monitoring the hardware information of the equipment to be monitored of correspondence, generates the second prison
Control information, is sent to the monitoring plug-in unit of correspondence by described second monitoring information;
Described monitoring plug-in unit, for obtaining the described second monitoring information that the monitoring sensor of correspondence generates,
Described second monitoring information is sent to described monitoring main program module;
Described monitoring main program module, for receiving the described first monitoring information that each monitoring plug-in unit is sent
With described second monitoring information.
System the most according to claim 6, it is characterised in that
Described monitoring main program module, is additionally operable to the described first monitoring information according to each equipment to be monitored
With described second monitoring information, determine whether each equipment to be monitored breaks down, and when breaking down,
Send early warning information.
System the most according to claim 6, it is characterised in that also include:
Described first monitoring information includes: system load information;
Described monitoring mastery routine, is additionally operable to the system load information according to each equipment to be monitored and each treats
The disposal ability of monitoring device, regulates the load of each equipment to be monitored.
System the most according to claim 6, it is characterised in that also include:
Unit is set, for arranging the attribute to be monitored of each equipment to be monitored;
Described monitoring plug-in unit, in the system service of the equipment to be monitored performing monitoring place, generates the first prison
During control information, for the to be monitored attribute corresponding according to corresponding equipment to be monitored, to corresponding to be monitored
The system service of equipment is monitored, and generates described first monitoring information according to corresponding attribute to be monitored;
Described monitoring sensor, is monitored the hardware information of the equipment to be monitored at place in execution, raw
When becoming the second monitoring information, for the to be monitored attribute corresponding according to corresponding equipment to be monitored, to correspondence
The hardware information of equipment to be monitored be monitored, generate described second prison according to corresponding attribute to be monitored
Control information.
10. according to described system arbitrary in claim 6-9, it is characterised in that also include: agency
Client;
In each its upper side to be monitored, there is described agent client in administration;
Described agent client, for running the monitoring plug-in unit of correspondence.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610206083.9A CN105893211A (en) | 2016-04-05 | 2016-04-05 | Method and system for monitoring |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610206083.9A CN105893211A (en) | 2016-04-05 | 2016-04-05 | Method and system for monitoring |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105893211A true CN105893211A (en) | 2016-08-24 |
Family
ID=57012165
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610206083.9A Pending CN105893211A (en) | 2016-04-05 | 2016-04-05 | Method and system for monitoring |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105893211A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107391343A (en) * | 2017-07-25 | 2017-11-24 | 郑州云海信息技术有限公司 | A kind of performance monitoring system and method |
CN107800783A (en) * | 2017-10-18 | 2018-03-13 | 广东神马搜索科技有限公司 | The method and device of remote monitoring server |
CN109977173A (en) * | 2019-04-02 | 2019-07-05 | 山东浪潮云信息技术有限公司 | Distribution, plug-in type data monitoring system and method based on cloud data center |
CN110674781A (en) * | 2019-10-07 | 2020-01-10 | 黎剑猛 | Monitoring upgrading method and system |
CN111045375A (en) * | 2019-12-31 | 2020-04-21 | 北京北信源软件股份有限公司 | Machine room safety operation and maintenance monitoring system and method |
CN112559293A (en) * | 2020-12-22 | 2021-03-26 | 上海哔哩哔哩科技有限公司 | Application package monitoring method and device |
CN114640607A (en) * | 2022-05-12 | 2022-06-17 | 武汉四通信息服务有限公司 | Monitoring service registration method and device, computer equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101854270A (en) * | 2010-04-23 | 2010-10-06 | 山东中创软件工程股份有限公司 | Multisystem running state monitoring method and system |
CN102135932A (en) * | 2011-03-08 | 2011-07-27 | 浪潮(北京)电子信息产业有限公司 | Monitoring system and monitoring method thereof |
CN102739452A (en) * | 2012-06-28 | 2012-10-17 | 浪潮(北京)电子信息产业有限公司 | Method and system for monitoring resources |
CN102937930A (en) * | 2012-09-29 | 2013-02-20 | 重庆新媒农信科技有限公司 | Application program monitoring system and method |
CN104268060A (en) * | 2014-10-17 | 2015-01-07 | 浪潮电子信息产业股份有限公司 | Data center monitoring system capable of realizing custom extension of monitoring items |
-
2016
- 2016-04-05 CN CN201610206083.9A patent/CN105893211A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101854270A (en) * | 2010-04-23 | 2010-10-06 | 山东中创软件工程股份有限公司 | Multisystem running state monitoring method and system |
CN102135932A (en) * | 2011-03-08 | 2011-07-27 | 浪潮(北京)电子信息产业有限公司 | Monitoring system and monitoring method thereof |
CN102739452A (en) * | 2012-06-28 | 2012-10-17 | 浪潮(北京)电子信息产业有限公司 | Method and system for monitoring resources |
CN102937930A (en) * | 2012-09-29 | 2013-02-20 | 重庆新媒农信科技有限公司 | Application program monitoring system and method |
CN104268060A (en) * | 2014-10-17 | 2015-01-07 | 浪潮电子信息产业股份有限公司 | Data center monitoring system capable of realizing custom extension of monitoring items |
Non-Patent Citations (1)
Title |
---|
DAVID_TANG: "Linux下Nagios的安装与配置", 《HTTPS://WWW.CNBLOGS.COM/MCHINA/ARCHIVE/2013/02/20/2883404.HTML》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107391343A (en) * | 2017-07-25 | 2017-11-24 | 郑州云海信息技术有限公司 | A kind of performance monitoring system and method |
CN107800783A (en) * | 2017-10-18 | 2018-03-13 | 广东神马搜索科技有限公司 | The method and device of remote monitoring server |
CN107800783B (en) * | 2017-10-18 | 2020-11-24 | 阿里巴巴(中国)有限公司 | Method and device for remotely monitoring server |
CN109977173A (en) * | 2019-04-02 | 2019-07-05 | 山东浪潮云信息技术有限公司 | Distribution, plug-in type data monitoring system and method based on cloud data center |
CN110674781A (en) * | 2019-10-07 | 2020-01-10 | 黎剑猛 | Monitoring upgrading method and system |
CN110674781B (en) * | 2019-10-07 | 2023-01-10 | 福建新宇电子有限公司 | Monitoring upgrading method and system |
CN111045375A (en) * | 2019-12-31 | 2020-04-21 | 北京北信源软件股份有限公司 | Machine room safety operation and maintenance monitoring system and method |
CN111045375B (en) * | 2019-12-31 | 2023-03-10 | 北京北信源软件股份有限公司 | Machine room safety operation and maintenance monitoring system and method |
CN112559293A (en) * | 2020-12-22 | 2021-03-26 | 上海哔哩哔哩科技有限公司 | Application package monitoring method and device |
CN114640607A (en) * | 2022-05-12 | 2022-06-17 | 武汉四通信息服务有限公司 | Monitoring service registration method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105893211A (en) | Method and system for monitoring | |
CN105335273B (en) | A kind of cloud management platform towards private clound | |
US11533234B2 (en) | Autonomous distributed workload and infrastructure scheduling | |
AU2017207319B2 (en) | Architecture for data center infrastructure monitoring | |
CN105830394B (en) | Configuration method, system and its Virtual NE and network management system of virtual network strategy | |
CN103607297B (en) | Fault processing method of computer cluster system | |
WO2016101638A1 (en) | Operation management method for electric power system cloud simulation platform | |
US8175863B1 (en) | Systems and methods for analyzing performance of virtual environments | |
CN103348328B (en) | For monitoring and manage the system and method for data center resource in real time | |
CN108270726B (en) | Application instance deployment method and device | |
CN105095001B (en) | Virtual machine abnormal restoring method under distributed environment | |
WO2023142054A1 (en) | Container microservice-oriented performance monitoring and alarm method and alarm system | |
EP3255833B1 (en) | Alarm information processing method, relevant device and system | |
CN110134518A (en) | A kind of method and system improving big data cluster multinode high application availability | |
CN104360878B (en) | A kind of method and device of application software deployment | |
CN111552556B (en) | GPU cluster service management system and method | |
CN105703940A (en) | Multistage dispatching distributed parallel computing-oriented monitoring system and monitoring method | |
CN107534570A (en) | Virtualize network function monitoring | |
CN107786616A (en) | Main frame intelligent monitor system based on high in the clouds | |
CN105871957B (en) | Monitoring framework design method and monitoring server, agent unit, control server | |
CN212183550U (en) | Novel urban rail transit integrated monitoring system based on cloud platform | |
CN106850549B (en) | Distributed encryption service gateway and implementation method | |
CN106612312A (en) | Virtualized data center scheduling system and method | |
CN103546313A (en) | Cloud computing based IT (information technology) operation and maintenance management system | |
CN106199696A (en) | Earthquake data processing system and method |
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: 20160824 |