CN108845916A - Platform monitoring and alarm method, device, equipment and computer readable storage medium - Google Patents

Platform monitoring and alarm method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN108845916A
CN108845916A CN201810717436.0A CN201810717436A CN108845916A CN 108845916 A CN108845916 A CN 108845916A CN 201810717436 A CN201810717436 A CN 201810717436A CN 108845916 A CN108845916 A CN 108845916A
Authority
CN
China
Prior art keywords
monitored
monitoring
platform
application
currently
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.)
Granted
Application number
CN201810717436.0A
Other languages
Chinese (zh)
Other versions
CN108845916B (en
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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201810717436.0A priority Critical patent/CN108845916B/en
Publication of CN108845916A publication Critical patent/CN108845916A/en
Application granted granted Critical
Publication of CN108845916B publication Critical patent/CN108845916B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/20Administration of product repair or maintenance

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Computing Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Tourism & Hospitality (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Mathematical Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention provides a kind of platform monitoring and alarm method, device, equipment and computer readable storage medium, and method includes:The configuration information for periodically reading the platform to be monitored in monitor supervision platform configuration file, determines current process to be monitored;Periodically the different processes to be monitored is monitored using different monitor modes;If monitoring any process to be monitored to break down, O&M notice is sent to operation maintenance personnel.All monitoring of process to be monitored in monitor supervision platform are treated so as to realize, and operation maintenance personnel is reminded to carry out O&M in time, improve the safety of platform to be monitored.

Description

Platform monitoring and alarm method, device, equipment and computer readable storage medium
Technical field
The present invention relates to the communications fields more particularly to a kind of platform monitoring and alarm method, device, equipment and computer can Read storage medium.
Background technique
With Internet technology continuous development and progress, performance and place of the application platform Internet-based to application platform The requirement of reason ability is higher and higher, and distributed and cluster environment uses also more and more, thus also brings new problem:It is right The monitoring work of the working condition of application program and component in distributed and cluster environment is also more and more important.
Whether the application or component that existing monitoring method generally can only all dispose on monitor supervision platform survive, if detecting The application of current monitor or component are in non-existing state, then send a warning message to user, so that user is timely to platform Carry out O&M.
But application can only often be monitored or whether component survives by being monitored using the above method to platform, but nothing Method judges application or the state of component, therefore, can not when application or component current operating conditions break down User is notified to carry out O&M in time, to influence platform normal operation.For example, the application when platform upper administration or component When currently there is zombie process, existing monitor mode thinks that process is existing state, therefore, it is impossible to alert in time, and then influences Platform operates normally.
Summary of the invention
The present invention provides a kind of platform monitoring and alarm method, device, equipment and computer readable storage medium, for solving Certainly cause to apply or group since platform monitoring method can not judge the state of application or component in the prior art When part current operating conditions break down, user can not be notified to carry out O&M in time, to influence the technology of platform normal operation Problem.
The first aspect of the invention is to provide a kind of platform monitoring and alarm method, including:
The configuration information for periodically reading the platform to be monitored in monitor supervision platform configuration file, determine it is current it is to be monitored into Journey;
Periodically the different processes to be monitored is monitored using different monitor modes;
If monitoring any process to be monitored to break down, O&M notice is sent to operation maintenance personnel.
Another aspect of the present invention is to provide a kind of platform monitoring and alarm device, including:
Read module, for periodically reading the configuration information of the platform to be monitored in monitor supervision platform configuration file, determination is worked as Preceding process to be monitored;
Monitoring module, for being periodically monitored using different monitor modes to the different processes to be monitored;
Notification module sends O&M to operation maintenance personnel if breaking down for monitoring any process to be monitored Notice.
An additional aspect of the present invention is to provide a kind of platform monitoring and alarm equipment, including:Memory, processor;
Memory;For storing the memory of the processor-executable instruction;
Wherein, the processor is configured to:Periodically read the configuration of the platform to be monitored in monitor supervision platform configuration file Information determines current process to be monitored;
Periodically the different processes to be monitored is monitored using different monitor modes;
If monitoring any process to be monitored to break down, O&M notice is sent to operation maintenance personnel.
An additional aspect of the present invention is to provide a kind of computer readable storage medium, the computer readable storage medium In be stored with computer executed instructions, for realizing above-mentioned platform monitoring when the computer executed instructions are executed by processor With alarm method.
Platform monitoring provided by the invention and alarm method, device, equipment and computer readable storage medium, by regular The configuration information of the platform to be monitored in monitor supervision platform configuration file is read, determines current process to be monitored, and using different Monitor mode is monitored currently determining whole process to be monitored, and monitor any process to be monitored it is out of order when It waits, sends O&M notice to operation maintenance personnel, treat all monitoring of process to be monitored in monitor supervision platform so as to realize, in turn Be able to solve causes to apply since platform monitoring method can not judge the state of application or component in the prior art Or component current operating conditions can not notify user to carry out O&M when breaking down in time, to influence platform normal operation The technical issues of.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments be also possible to obtain other drawings based on these drawings for those of ordinary skill in the art.
Fig. 1 is the flow diagram of platform monitoring and alarm method that the embodiment of the present invention one provides;
Fig. 2 is the flow diagram of platform monitoring provided by Embodiment 2 of the present invention and alarm method;
Fig. 3 is the structural schematic diagram of platform monitoring and alarm device that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram of platform monitoring and alarm device that the embodiment of the present invention four provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Every other reality obtained based on the embodiments of the present invention Example is applied, shall fall within the protection scope of the present invention.
Fig. 1 is the flow diagram of platform monitoring and alarm method that the embodiment of the present invention one provides, as shown in Figure 1, institute The method of stating includes:
Step 101, the configuration information for periodically reading platform to be monitored in monitor supervision platform configuration file, determine it is current to Monitoring process.
In the present embodiment, it in order to realize the monitoring for treating monitor supervision platform, can read in monitor supervision platform configuration file Platform to be monitored configuration information, so as to determine current process to be monitored according to the configuration file.Further, by In the operation with platform, it is likely to break down at any time, it therefore, can be regularly in order to ensure the normal operation of platform The configuration information for reading the platform to be monitored in monitor supervision platform configuration file determines whether what newly-increased needs were monitored Process to be monitored.Specifically, the time for periodically reading platform to be monitored can be by user's self-setting, for example, Ke Yigen Significance level according to platform to be monitored is the time that different reading configuration files is arranged in different platforms to be monitored, if to be monitored The business of platform processes is more important, then the time of shorter reading configuration file can be arranged, for it to ensure that this is to be monitored Platform can operate normally, if the business different degree of platform processes to be monitored is general, longer reading can be arranged for it and match The time of file is set, to achieve the effect that economize on resources.In addition, reading matching for the platform to be monitored in monitor supervision platform configuration file After confidence breath, current monitor module data can also be initialized, to realize the prison to the process to be monitored got Control.
Step 102 periodically uses different monitor modes to be monitored the different processes to be monitored.
In the present embodiment, the configuration information for periodically reading the platform to be monitored in monitor supervision platform configuration file, determines It after current process to be monitored, needs to be monitored current whole process to be monitored, specifically, in order to increase the standard of monitoring True property, can to different processes to be monitored use different monitor modes, wherein process to be monitored include it is to be monitored apply into Journey and component processes to be monitored, so as to realize the prison for treating the current operation process of component and application all in monitor supervision platform Control.It should be noted that periodically treat time that monitoring process is monitored can by user's self-setting, can with it is regular The time consistency for reading platform configuration file to be monitored, can also be inconsistent, and the present invention is herein with no restrictions.
If step 103 monitors any process failure to be monitored, O&M notice is sent to operation maintenance personnel.
In the present embodiment, if being periodically monitored it to different processes to be monitored using different monitor modes Afterwards, if monitoring show that any one process to be monitored breaks down, O&M notice can be sent to operation maintenance personnel, so that O&M people Member carries out timely O&M to out of order process according to O&M notice, further, it is also possible to make operation maintenance personnel to current platform Operating status is understood in time.
Platform monitoring and alarm method provided in this embodiment, by periodically read in monitor supervision platform configuration file wait supervise The configuration information of platform is controlled, determines current process to be monitored, and uses different monitor modes to currently determining all wait supervise Control process is monitored, and monitor any process to be monitored it is out of order when, to operation maintenance personnel send O&M notice, from And it can be realized and treat all monitoring of process to be monitored in monitor supervision platform, and then can be avoided in the prior art since platform is supervised Prosecutor method can not judge the state of application or component and cause to apply or component current operating conditions break down When, user can not be notified to carry out O&M in time, to influence the technical issues of platform operates normally.
Further, on the basis of the above embodiments, step 102 specifically includes:
If the process to be monitored is database process, added by preset database interface into the database One data determines that the database process currently operates normally if the data can be deleted successfully, if cannot successfully delete Except the data, then determine that the database process currently breaks down;
If the process to be monitored is encryption equipment process, adding for the encryption equipment, is called by preset encryption equipment interface Close algorithm determines that the encryption equipment process currently operates normally if receiving the feedback of the encryption equipment;If not receiving institute The feedback of encryption equipment is stated, then determines that the encryption equipment process currently breaks down;
If the process to be monitored is the first application process, described first is called to answer by preset first application interface With monitoring method preset in process and receive the feedback information of first application process, by the feedback information with it is preset Standard feedback information is compared, if unanimously, determining that first application process currently operates normally, if inconsistent, sentencing Fixed first application process currently breaks down;
If the process to be monitored is the second application process, pass through preset second application process interface calling described the The work at present file of two application processes and a upper working document, obtain the life of the work at present file Yu a upper working document At the time, if the generation time of the work at present file after the generation time of a upper working document, and close to Current time then determines that second application process currently operates normally, if the generation time of the work at present file and institute It states current time and differs by more than preset threshold value, then determine that second application process currently breaks down;
If the process to be monitored is third application process, pass through preset third application process interface access described the The page that three application processes return to present system time determines institute if the page can normally return to present system time It states third application process currently to operate normally, if the page cannot normally return to present system time, determines the third Application process currently breaks down.
It in the present embodiment, can be to difference in order to improve the accuracy for treating monitor component to be monitored in monitor supervision platform Platform to be monitored take different monitor modes.Specifically, if process to be monitored is database process, in order to determine data Library currently operates normally, and a data can be added into database, and delete the data of addition, if can successfully delete It except the data, then can be determined that database process currently operates normally, if the data cannot be deleted successfully, determine database Process currently breaks down.Wherein, database includes but is not limited to MySQL, Redis, MongoDB.It is with process to be monitored MySQL component for example, after periodically being inserted into a data into the specific table of database, then this data is deleted, It whether is operable state so as to validation database, if insertion and delete operation success, illustrate that current MySQL is positive Normal working condition illustrates that current MySQL breaks down if any one of insertion or deletion operation failure.
If process to be monitored is encryption equipment process, due to being provided with the encryption side for obtaining random number at any time in encryption equipment Method can call the Encryption Algorithm of encryption equipment, if energy to judge current crypto machine whether normal operation by preset interface The feedback of encryption equipment is enough received, then can be determined that current crypto machine operates normally, it, can be with if not being connected to the feedback of deciphering machine Determine that the operation of current crypto machine is broken down.
If process to be monitored is the first application process, for example, the first application process can in platform to be monitored with User terminal interact application or with operator carry out order communication application.Due to without failure in the first application In the case of, when interacting with the first application, the first application has the feedback information of a standard, the feedback information is recorded, When test the first application process, preset monitoring side in the first application process can be called by preset interface Method and the feedback information for receiving the first application process, feedback information is compared with preset standard feedback information, if unanimously, Then determine that the first application process currently operates normally, if inconsistent, determines that the first application process currently breaks down.Citing comes It says, for the application interacted with user terminal, at the beginning of the certification of the application interacted with user terminal is called in timing Beginning method is illustrating the application work currently interacted with user terminal just when return " certification initialization failure " information Often, when there is no feedback information such as, then illustrate that the application node shape currently interacted with user terminal breaks down.
If process to be monitored is the second application process, wherein second application process can at card order management application, The work at present file and a upper working document that the second application process can be called by preset second application process interface, are obtained The generation time of work at present file Yu a upper working document is taken, if the generation time of work at present file is in a upper working document The generation time after, and close to current time, then determine that the second application process currently operates normally, if work at present file The generation time and current time differ by more than preset threshold value, then determine that the second application process currently breaks down.Specifically, The work at present file of available second application process and a upper working document, and obtain work at present file and a upper job The generation time of file, if the second application operates normally, the generation time of the work at present file obtained should be in a upper work After making the generation time of file, and therefore the time closer may should can pass through current work with the current time Make the generation time of file and a upper working document to judge that the second application is current whether normal operation, correspondingly, if detecting The generation time of work at present file and current time differ by more than preset threshold value, that is to say, that the second application is more than default Time do not generate new working document, then can be determined that the current operation of the second application is broken down.
If process to be monitored is third application process, wherein third application process can be the application of the platform management page, can To access the page that third application process returns to present system time by preset third application process interface, if the page can It is normal to return to present system time, then determine that third application process currently operates normally, if the page cannot normally return to current system It unites the time, then determines that third application process currently breaks down.
Platform monitoring and alarm method provided in this embodiment, by using different modes to different processes to be monitored It is monitored, so as to improve the accuracy with monitoring process, and then provides base to improve the monitoring O&M efficiency of platform Plinth.
Further, based on any of the above embodiments, step 103 specifically includes:
If monitoring any process to be monitored to break down, it is determined that the mark of the process to be monitored of failure with Fault time;
The O&M notice is sent to the operation maintenance personnel by way of short message or mail, is wrapped in the O&M notice Include the mark fault time of the process to be monitored.
In the present embodiment, it is determined that after the process to be monitored that current operation is broken down, can be sent out to operation maintenance personnel Send notice, specifically, in order to make operation maintenance personnel to currently break down it is to be monitored meticulously understood, monitoring After any process to be monitored breaks down, mark and the fault time of the process to be monitored of failure can be determined, and with The mode of mail or short message sends O&M notice to operation maintenance personnel, wherein includes the to be monitored of failure in O&M notice The mark of process and fault time, thus operation maintenance personnel can according to the O&M notify positioning break down process and in time into Row is repaired.As a kind of enforceable mode, the mark and failure of the process to be monitored of failure are carried in O&M notice Time, operation maintenance personnel can determine the significance level of process to be monitored according to the mark of process to be monitored, and according to different weights Want time and the sequencing of the time reasonable arrangement O&M of degree and failure.
Platform monitoring and alarm method provided in this embodiment, if being broken down by monitoring any process to be monitored, Then determine mark and the fault time of the process to be monitored to break down;It is sent out by way of short message or mail to operation maintenance personnel O&M is sent to notify.So as to the node to be monitored progress O&M of failure, system to be monitored be avoided to break down in time, Improve the operational efficiency of system to be monitored.
Fig. 2 is the flow diagram of platform monitoring provided by Embodiment 2 of the present invention and alarm method, as shown in Fig. 2, On the basis of any of the above-described embodiment, the method also includes:
Step 201, the configuration information for periodically reading platform to be monitored in monitor supervision platform configuration file, determine it is current to Monitoring process;
Step 202 is directed to each process to be monitored, and whether judgement currently increases node to be monitored newly, wherein Mei Yisuo Stating process to be monitored includes at least one node to be monitored;
Step 203, if so, determining the nodal information of the node to be monitored, the nodal information is added to currently The corresponding monitoring configuration file of process to be monitored in, with realize to the monitoring for increasing node to be monitored newly;
Step 204 periodically uses different monitor modes to be monitored the different processes to be monitored;
If step 205 monitors any process failure to be monitored, O&M notice is sent to operation maintenance personnel.
In the present embodiment, in order to completing the business that platform to be monitored is presently in reason, platform to be monitored high-qualityly Node in interior process may be increased according to current demand, for example, in the case where having 3 MySQL nodes, A MySQL node can be increased newly.Therefore, in order to guarantee that whole nodes can be monitored, monitor supervision platform configuration is periodically read After the configuration information of platform to be monitored in file, for each process to be monitored, it can be determined that it is current whether it is newly-increased to Monitor node, wherein each process to be monitored includes at least one node to be monitored, if so, in order to realize to newly-increased node Monitoring, need to obtain the nodal information of newly-increased node, specifically, the nodal information can for IP address or other can be only One characterizes the information of the node, and the present invention is herein with no restrictions.After getting nodal information, which can be added Into the currently corresponding monitoring configuration file of process to be monitored, so as to realize the monitoring to newly-increased node.
Platform monitoring and alarm method provided in this embodiment, by whether increasing section newly in periodic detection process to be monitored Point, if so, the nodal information of newly-increased node is added in the corresponding monitoring configuration file of current process to be monitored, so as to Enough monitoring realized to newly-increased node, improve the monitoring efficiency of system to be monitored.
Further, based on any of the above embodiments, after step 201, the method also includes:
It determines whether to increase process to be monitored newly;
If so, receiving the monitoring capacity source code for increasing process to be monitored newly of operation maintenance personnel exploitation;
The monitoring capacity source code for increasing process to be monitored newly is added to the corresponding monitoring capacity of current process to be monitored In source code.
In the present embodiment, in order to completing the business that platform to be monitored is presently in reason, platform to be monitored high-qualityly Interior process may be increased according to current demand, for example, platform to be monitored can increase newly to Elasticsearch group The monitoring capacity of part.Therefore, it in order to guarantee that process whole in platform to be monitored can be monitored, periodically reads monitor supervision platform and matches After the configuration information for setting the platform to be monitored in file, it can determine currently it is enough newly-increased process to be monitored, if so, prompt Operation maintenance personnel exploitation about the monitoring capacity source code for increasing process to be monitored newly, receive operation maintenance personnel exploitation it is described increase newly it is to be monitored The monitoring capacity source code of process, and on the basis of existing process to be monitored corresponding monitoring capacity source code, it will be newly-increased wait supervise The monitoring capacity source code of control process adds, and so as on the basis of not changing current monitor ability source code, realizes pair The monitoring of newly-increased component.
Method provided in this embodiment, by whether increasing process to be monitored newly in periodic detection process to be monitored, if so, Receive the monitoring capacity source code for increasing process to be monitored newly of operation maintenance personnel exploitation;The monitoring capacity source code of process to be monitored will be increased newly It is added in the corresponding monitoring capacity source code of current process to be monitored.So as to realize the monitoring to process to be monitored is increased newly, Improve the monitoring efficiency of system to be monitored.
Fig. 3 is the structural schematic diagram of platform monitoring and alarm device that the embodiment of the present invention three provides, as shown in figure 3, institute Stating device includes:
Read module 31 is determined for periodically reading the configuration information of the platform to be monitored in monitor supervision platform configuration file Current process to be monitored.
Monitoring module 32, for being periodically monitored using different monitor modes to the different processes to be monitored.
Notification module 33 sends to operation maintenance personnel and transports if breaking down for monitoring any process to be monitored Dimension notice.
Platform monitoring and alarm device provided in this embodiment, by periodically read in monitor supervision platform configuration file wait supervise The configuration information of platform is controlled, determines current process to be monitored, and uses different monitor modes to currently determining all wait supervise Control process is monitored, and monitor any process to be monitored it is out of order when, to operation maintenance personnel send O&M notice, from And it can be realized and treat all monitoring of process to be monitored in monitor supervision platform, and then can be avoided in the prior art since platform is supervised Prosecutor method can not judge the state of application or component and cause to apply or component current operating conditions break down When, user can not be notified to carry out O&M in time, to influence the technical issues of platform operates normally.
Further, on the basis of the above embodiments, monitoring module 32 specifically includes:
First judging unit passes through preset database interface if being database process for the process to be monitored A data is added into the database, if the data can be deleted successfully, determines the database process currently just Often operation, if the data cannot be deleted successfully, determines that the database process currently breaks down;
Second judging unit passes through preset encryption equipment interface if being encryption equipment process for the process to be monitored The Encryption Algorithm of the encryption equipment is called, if receiving the feedback of the encryption equipment, determines the encryption equipment process currently just Often operation;If not receiving the feedback of the encryption equipment, determine that the encryption equipment process currently breaks down;
Third judging unit is applied if being the first application process for the process to be monitored by preset first Interface calls preset monitoring method in first application process and receives the feedback information of first application process, by institute It states feedback information to be compared with preset standard feedback information, if unanimously, determining that first application process is currently normal Operation, if inconsistent, determines that first application process currently breaks down;
4th judging unit is applied if being the second application process for the process to be monitored by preset second Process interface calls the work at present file and a upper working document of second application process, obtains the work at present file With the generation time of a upper working document, if the work at present file generate the time a upper working document generation After time, and close to current time, then determine that second application process currently operates normally, if the work at present is literary The generation time of part and the current time differ by more than preset threshold value, then determine that event currently occurs in second application process Barrier;
5th judging unit passes through preset third application if being third application process for the process to be monitored Process interface accesses the page that the third application process returns to present system time, if the page can be returned normally currently System time then determines that the third application process currently operates normally, if the page cannot normally return to current system Between, then determine that the third application process currently breaks down.
Platform monitoring and alarm device provided in this embodiment, by using different modes to different processes to be monitored It is monitored, so as to improve the accuracy with monitoring process, and then provides base to improve the monitoring O&M efficiency of platform Plinth.
Further, based on any of the above embodiments, notification module 33 specifically includes:
Determination unit, if breaking down for monitoring any process to be monitored, it is determined that failure wait supervise The mark of control process and fault time;
Transmission unit, for sending the O&M notice, institute to the operation maintenance personnel by way of short message or mail State the mark fault time including the process to be monitored in O&M notice.
Platform monitoring and alarm device provided in this embodiment, if being broken down by monitoring any process to be monitored, Then determine mark and the fault time of the process to be monitored to break down;It is sent out by way of short message or mail to operation maintenance personnel O&M is sent to notify.So as to the node to be monitored progress O&M of failure, system to be monitored be avoided to break down in time, Improve the operational efficiency of system to be monitored.
Fig. 4 is the structural schematic diagram of platform monitoring and alarm device that the embodiment of the present invention four provides, as shown in figure 4, On the basis of any of the above-described embodiment, described device further includes:
Read module 41 is determined for periodically reading the configuration information of the platform to be monitored in monitor supervision platform configuration file Current process to be monitored;
Judgment module 42, for being directed to each process to be monitored, whether judgement currently increases node to be monitored newly, In, each process to be monitored includes at least one node to be monitored;
First adding module 43, for if so, the nodal information of the node to be monitored is determined, by the nodal information It is added in the corresponding monitoring configuration file of current process to be monitored, to realize to the monitoring for increasing node to be monitored newly;
Monitoring module 44, for being periodically monitored using different monitor modes to the different processes to be monitored;
Notification module 45 sends to operation maintenance personnel and transports if breaking down for monitoring any process to be monitored Dimension notice.
Platform monitoring and alarm device provided in this embodiment, by whether increasing section newly in periodic detection process to be monitored Point, if so, the nodal information of newly-increased node is added in the corresponding monitoring configuration file of current process to be monitored, so as to Enough monitoring realized to newly-increased node, improve the monitoring efficiency of system to be monitored.
Further, based on any of the above embodiments, described device further includes:
It increases process determining module to be monitored newly, increases process to be monitored newly for determining whether;
Development module, for if so, receiving the monitoring capacity source for increasing process to be monitored newly of operation maintenance personnel exploitation Code;
Second adding module, for by the monitoring capacity source code for increasing process to be monitored newly be added to it is current it is to be monitored into In the corresponding monitoring capacity source code of journey.
Device provided in this embodiment, by whether increasing process to be monitored newly in periodic detection process to be monitored, if so, Receive the monitoring capacity source code for increasing process to be monitored newly of operation maintenance personnel exploitation;The monitoring capacity source code of process to be monitored will be increased newly It is added in the corresponding monitoring capacity source code of current process to be monitored.So as to realize the monitoring to process to be monitored is increased newly, Improve the monitoring efficiency of system to be monitored.
Another embodiment of the present invention also provides a kind of platform monitoring and alarm equipment, which is characterized in that including:Storage Device, processor;
Memory;For storing the memory of the processor-executable instruction;
Wherein, the processor is configured to:Periodically read the configuration of the platform to be monitored in monitor supervision platform configuration file Information determines current process to be monitored;
Periodically the different processes to be monitored is monitored using different monitor modes;
If monitoring any process to be monitored to break down, O&M notice is sent to operation maintenance personnel.
Another embodiment of the present invention also provides a kind of computer readable storage medium, which is characterized in that the computer Computer executed instructions are stored in readable storage medium storing program for executing, for realizing upper when the computer executed instructions are executed by processor The platform monitoring and alarm method stated.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description Specific work process, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
Those of ordinary skill in the art will appreciate that:Realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned includes:ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Present invention has been described in detail with reference to the aforementioned embodiments for pipe, those skilled in the art should understand that:Its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (10)

1. a kind of platform monitoring and alarm method, which is characterized in that including:
The configuration information for periodically reading the platform to be monitored in monitor supervision platform configuration file, determines current process to be monitored;
Periodically the different processes to be monitored is monitored using different monitor modes;
If monitoring any process to be monitored to break down, O&M notice is sent to operation maintenance personnel.
2. the method according to claim 1, wherein described periodically using different monitor modes to different institutes Process to be monitored is stated to be monitored, including:
If the process to be monitored is database process, one is added into the database by preset database interface Data determine that the database process currently operates normally if the data can be deleted successfully, if institute cannot successfully be deleted Data are stated, then determine that the database process currently breaks down;
If the process to be monitored is encryption equipment process, the encryption of the encryption equipment is called to calculate by preset encryption equipment interface Method determines that the encryption equipment process currently operates normally if receiving the feedback of the encryption equipment;If not receiving described add The feedback of close machine then determines that the encryption equipment process currently breaks down;
If the process to be monitored be the first application process, by preset first application interface call it is described first application into Preset monitoring method and the feedback information of first application process is received in journey, by the feedback information and preset standard Feedback information is compared, if unanimously, determining that first application process currently operates normally, if inconsistent, determining institute The first application process is stated currently to break down;
If the process to be monitored is the second application process, described second is called to answer by preset second application process interface With the work at present file of process and a upper working document, when obtaining the generation of the work at present file and a upper working document Between, if the generation time of the work at present file after the generation time of a upper working document, and close to current Time then determines that second application process currently operates normally, if the generation time of the work at present file works as with described Preceding time phase difference is greater than preset threshold value, then determines that second application process currently breaks down;
If the process to be monitored is third application process, the third is accessed by preset third application process interface and is answered The page that present system time is returned with process determines described the if the page can normally return to present system time Three application processes currently operate normally, if the page cannot normally return to present system time, determine the third application Process currently breaks down.
3. the method according to claim 1, wherein if described monitor the process to be monitored and break down, O&M notice then is sent to operation maintenance personnel, including:
If monitoring any process to be monitored to break down, it is determined that the mark and failure of the process to be monitored of failure Time;
The O&M notice is sent to the operation maintenance personnel by way of short message or mail, includes institute in the O&M notice State the mark fault time of process to be monitored.
4. the method according to claim 1, wherein it is described it is regular read monitor supervision platform configuration file in wait supervise After the configuration information for controlling platform, further include:
For each process to be monitored, whether judgement currently increases node to be monitored newly, wherein each process to be monitored Including at least one node to be monitored;
If so, determining the nodal information of the node to be monitored, the nodal information is added to current process to be monitored In corresponding monitoring configuration file, to realize to the monitoring for increasing node to be monitored newly.
5. the method according to claim 1, wherein it is described it is regular read monitor supervision platform configuration file in wait supervise After the configuration information for controlling platform, further include:
It determines whether to increase process to be monitored newly;
If so, receiving the monitoring capacity source code for increasing process to be monitored newly of operation maintenance personnel exploitation;
The monitoring capacity source code for increasing process to be monitored newly is added to the corresponding monitoring capacity source code of current process to be monitored In.
6. a kind of platform monitoring and alarm device, which is characterized in that including:
Read module determines currently for periodically reading the configuration information of the platform to be monitored in monitor supervision platform configuration file Process to be monitored;
Monitoring module, for being periodically monitored using different monitor modes to the different processes to be monitored;
Notification module sends O&M notice to operation maintenance personnel if breaking down for monitoring any process to be monitored.
7. device according to claim 6, which is characterized in that the monitoring module includes:
First judging unit passes through preset database interface to institute if being database process for the process to be monitored It states and adds a data in database, if the data can be deleted successfully, determine that the database process is currently normally transported Row, if the data cannot be deleted successfully, determines that the database process currently breaks down;
Second judging unit is called if being encryption equipment process for the process to be monitored by preset encryption equipment interface The Encryption Algorithm of the encryption equipment determines that the encryption equipment process is currently normally transported if receiving the feedback of the encryption equipment Row;If not receiving the feedback of the encryption equipment, determine that the encryption equipment process currently breaks down;
Third judging unit passes through preset first application interface if being the first application process for the process to be monitored It calls preset monitoring method in first application process and receives the feedback information of first application process, it will be described anti- Feedforward information is compared with preset standard feedback information, if unanimously, determining that first application process currently operates normally, If inconsistent, determine that first application process currently breaks down;
4th judging unit passes through preset second application process if being the second application process for the process to be monitored Interface call second application process work at present file and a upper working document, obtain the work at present file with it is upper The generation time of one working document, if the work at present file generates the time in the generation time of a upper working document Later, and close to current time, then determine that second application process currently operates normally, if the work at present file It generates the time and the current time differs by more than preset threshold value, then determine that second application process currently breaks down;
5th judging unit passes through preset third application process if being third application process for the process to be monitored Interface accesses the page that the third application process returns to present system time, if the page can normally return to current system Time then determines that the third application process currently operates normally, if the page cannot normally return to present system time, Determine that the third application process currently breaks down.
8. device according to claim 6, which is characterized in that the notification module includes:
Determination unit, if breaking down for monitoring any process to be monitored, it is determined that failure it is to be monitored into The mark of journey and fault time;
Transmission unit, for sending the O&M notice, the fortune to the operation maintenance personnel by way of short message or mail It include the mark fault time of the process to be monitored in dimension notice.
9. a kind of platform monitoring and alarm equipment, which is characterized in that including:Memory, processor;
Memory;For storing the memory of the processor-executable instruction;
Wherein, the processor is configured to:The configuration information of the platform to be monitored in monitor supervision platform configuration file is periodically read, Determine current process to be monitored;
Periodically the different processes to be monitored is monitored using different monitor modes;
If monitoring any process to be monitored to break down, O&M notice is sent to operation maintenance personnel.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium It executes instruction, for realizing such as described in any one of claim 1 to 5 flat when the computer executed instructions are executed by processor Platform monitoring and alarm method.
CN201810717436.0A 2018-07-03 2018-07-03 Platform monitoring and alarming method, device, equipment and computer readable storage medium Active CN108845916B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810717436.0A CN108845916B (en) 2018-07-03 2018-07-03 Platform monitoring and alarming method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810717436.0A CN108845916B (en) 2018-07-03 2018-07-03 Platform monitoring and alarming method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108845916A true CN108845916A (en) 2018-11-20
CN108845916B CN108845916B (en) 2022-02-22

Family

ID=64201331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810717436.0A Active CN108845916B (en) 2018-07-03 2018-07-03 Platform monitoring and alarming method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108845916B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110515795A (en) * 2019-07-29 2019-11-29 北京百分点信息科技有限公司 A kind of monitoring method of big data component, device, electronic equipment
CN111130926A (en) * 2019-12-03 2020-05-08 中国建设银行股份有限公司 State monitoring method, system and device suitable for encryption machine and storage medium
CN111651322A (en) * 2020-05-29 2020-09-11 山东中创软件商用中间件股份有限公司 Process monitoring alarm method, system and device
CN113258685A (en) * 2021-05-17 2021-08-13 宁波奥斯达光电科技有限公司 Charging and discharging method and alarm clock wireless charger

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1904852A (en) * 2006-08-01 2007-01-31 西安西电捷通无线网络通信有限公司 Method for monitoring and abnormal processing of computer application program
CN101777020A (en) * 2009-12-25 2010-07-14 北京讯鸟软件有限公司 Fault tolerance method and system used for distributed program
WO2011002169A2 (en) * 2009-07-02 2011-01-06 엔에이치엔(주) High availability database management system and database management method using same
CN105320615A (en) * 2014-07-30 2016-02-10 宇龙计算机通信科技(深圳)有限公司 Data storage method and data storage device
CN106330523A (en) * 2015-07-03 2017-01-11 中国移动通信集团广西有限公司 Cluster server disaster recovery system and method, and server node
CN106681930A (en) * 2017-01-23 2017-05-17 北京思特奇信息技术股份有限公司 Distributed automatic application operation abnormity detecting method and system
CN107391344A (en) * 2017-07-28 2017-11-24 郑州云海信息技术有限公司 A kind of event-monitoring method, platform and system
CN107391343A (en) * 2017-07-25 2017-11-24 郑州云海信息技术有限公司 A kind of performance monitoring system and method
CN107491371A (en) * 2016-06-13 2017-12-19 阿里巴巴集团控股有限公司 A kind of method and device for monitoring deployment
CN107729184A (en) * 2017-10-23 2018-02-23 国云科技股份有限公司 A kind of system component services self-healing method
CN107861867A (en) * 2017-10-24 2018-03-30 阿里巴巴集团控股有限公司 Page fault monitoring method, device, system and electronic equipment
CN108363653A (en) * 2018-02-07 2018-08-03 平安科技(深圳)有限公司 Dispositions method, device, computer equipment and the storage medium of monitoring system

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1904852A (en) * 2006-08-01 2007-01-31 西安西电捷通无线网络通信有限公司 Method for monitoring and abnormal processing of computer application program
WO2011002169A2 (en) * 2009-07-02 2011-01-06 엔에이치엔(주) High availability database management system and database management method using same
CN101777020A (en) * 2009-12-25 2010-07-14 北京讯鸟软件有限公司 Fault tolerance method and system used for distributed program
CN105320615A (en) * 2014-07-30 2016-02-10 宇龙计算机通信科技(深圳)有限公司 Data storage method and data storage device
CN106330523A (en) * 2015-07-03 2017-01-11 中国移动通信集团广西有限公司 Cluster server disaster recovery system and method, and server node
CN107491371A (en) * 2016-06-13 2017-12-19 阿里巴巴集团控股有限公司 A kind of method and device for monitoring deployment
CN106681930A (en) * 2017-01-23 2017-05-17 北京思特奇信息技术股份有限公司 Distributed automatic application operation abnormity detecting method and system
CN107391343A (en) * 2017-07-25 2017-11-24 郑州云海信息技术有限公司 A kind of performance monitoring system and method
CN107391344A (en) * 2017-07-28 2017-11-24 郑州云海信息技术有限公司 A kind of event-monitoring method, platform and system
CN107729184A (en) * 2017-10-23 2018-02-23 国云科技股份有限公司 A kind of system component services self-healing method
CN107861867A (en) * 2017-10-24 2018-03-30 阿里巴巴集团控股有限公司 Page fault monitoring method, device, system and electronic equipment
CN108363653A (en) * 2018-02-07 2018-08-03 平安科技(深圳)有限公司 Dispositions method, device, computer equipment and the storage medium of monitoring system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110515795A (en) * 2019-07-29 2019-11-29 北京百分点信息科技有限公司 A kind of monitoring method of big data component, device, electronic equipment
CN111130926A (en) * 2019-12-03 2020-05-08 中国建设银行股份有限公司 State monitoring method, system and device suitable for encryption machine and storage medium
CN111130926B (en) * 2019-12-03 2021-12-03 中国建设银行股份有限公司 State monitoring method, system and device suitable for encryption machine and storage medium
CN111651322A (en) * 2020-05-29 2020-09-11 山东中创软件商用中间件股份有限公司 Process monitoring alarm method, system and device
CN113258685A (en) * 2021-05-17 2021-08-13 宁波奥斯达光电科技有限公司 Charging and discharging method and alarm clock wireless charger

Also Published As

Publication number Publication date
CN108845916B (en) 2022-02-22

Similar Documents

Publication Publication Date Title
CN108845916A (en) Platform monitoring and alarm method, device, equipment and computer readable storage medium
TW200915063A (en) Remote health monitoring and control
CN103856345B (en) Server account number and password management method and system and server
CN107800783B (en) Method and device for remotely monitoring server
CN111245656B (en) Method and system for remote monitoring through mobile equipment
CN103812675A (en) Method and system for realizing allopatric disaster recovery switching of service delivery platform
CN104967537A (en) Alarm information pushing method and device
CN103501237A (en) Device management method, management platform, device and system
CN113507691B (en) Information pushing system and method based on power distribution network cross-region service
JP4055765B2 (en) Network monitoring method and system
US9639414B1 (en) Remote real-time storage system monitoring and management
CN111949421B (en) SDK calling method, device, electronic equipment and computer readable storage medium
CN111464393A (en) Method and device for monitoring running state of block chain and storage medium
CN108243061A (en) Apparatus monitoring method, device and computer equipment based on Nagios
CN112054925A (en) Method and device for deploying background service
CN111147542A (en) Secret-free access setting method, device, equipment and medium
CN116192885A (en) High-availability cluster architecture artificial intelligent experiment cloud platform data processing method and system
CN114386047A (en) Application vulnerability detection method and device, electronic equipment and storage medium
CN107528730A (en) Multiple redundancy method, multiple redundancy server and system
CN115174356B (en) Cluster alarm reporting method, device, equipment and medium
JP2004126982A (en) Operational management system
CN110750418B (en) Information processing method, electronic equipment and information processing system
TWI738277B (en) Monitoring alarm method and its server end
KR102229613B1 (en) Method and apparatus for web firewall maintenance based on non-face-to-face authentication using maching learning self-check function
CN115242463B (en) Method, system and computer equipment for monitoring dynamic change of network asset

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant