CN103034802B - A kind of automatic tour inspection system based on intelligent rules coupling and method - Google Patents

A kind of automatic tour inspection system based on intelligent rules coupling and method Download PDF

Info

Publication number
CN103034802B
CN103034802B CN201210497990.5A CN201210497990A CN103034802B CN 103034802 B CN103034802 B CN 103034802B CN 201210497990 A CN201210497990 A CN 201210497990A CN 103034802 B CN103034802 B CN 103034802B
Authority
CN
China
Prior art keywords
module
time
journal file
polling module
database
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.)
Active
Application number
CN201210497990.5A
Other languages
Chinese (zh)
Other versions
CN103034802A (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.)
All pass education group (Guangdong) Limited by Share Ltd
Original Assignee
GUANGDONG QTONE EDUCATION 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 GUANGDONG QTONE EDUCATION CO Ltd filed Critical GUANGDONG QTONE EDUCATION CO Ltd
Priority to CN201210497990.5A priority Critical patent/CN103034802B/en
Publication of CN103034802A publication Critical patent/CN103034802A/en
Application granted granted Critical
Publication of CN103034802B publication Critical patent/CN103034802B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A kind of automatic tour inspection system based on intelligent rules coupling provided by the invention and method, this system comprises reading configuration module and logic polling module, and described reading configuration module, for obtaining the information of various configuration in computing machine; Described logic polling module, it is for carrying out automatic detecting according to the configuration information read to weblication, and described logic polling module comprises further: database polling module, journal file polling module and application function polling module.The method is patrolled and examined Computer Data library, journal file and weblication function respectively, Real-time Obtaining patrols and examines result, from result, judge whether application program exception occurs, send alarm when an exception occurs, thus provide more laborsaving and application program cruising inspection system and method more reliably for user.

Description

A kind of automatic tour inspection system based on intelligent rules coupling and method
Technical field
The present invention relates to moving communicating field, particularly relate to a kind of automatic tour inspection system based on intelligent rules coupling and method.
Background technology
The development network of technicalization affects our life day by day, and more people is received in shopping online, matchmaker or downloads to all kinds of electronic information of needs in online enquiries.Along with popularizing of computing machine, in computing machine, the use safety of weblication is also valued by the people day by day.
In the prior art, the weblication method for inspecting commonly used is generally adopt manual platform to detect, but just there is some weak point following by artificial method: manual platform is patrolled and examined and can not be accomplished 24 hours real-time onlines, and need manual inspection personnel relatively familiar to the function of platform, and require to grasp linux, database technology, also manual inspection is easily omitted.
In view of this, prior art haves much room for improvement and improves.
Summary of the invention
In view of the deficiencies in the prior art, the object of the invention is to provide a kind of automatic tour inspection system based on intelligent rules coupling and method, be intended to patrol and examine the use manual platform existed in prior art to accomplish that real time and on line monitoring and the situation easily going out to omit provide automatic tour inspection system based on system program and method, not only can realize automatically patrolling and examining in real time, and the mistake that occurs in weblication can be judged accurately.
Technical scheme of the present invention is as follows:
Based on an automatic tour inspection system for intelligent rules coupling, wherein, reading configuration module and logic polling module is comprised;
Read configuration module, for obtaining the information of various configuration in computing machine;
Logic polling module, it is for carrying out automatic detecting according to the configuration information read to weblication, and described logic polling module comprises further: database polling module, journal file polling module and application function polling module.
The described automatic tour inspection system based on intelligent rules coupling, wherein, described database polling module comprises with lower module:
Execution module, performs the health information of configuration file to the traffic table data volume in database and database and verifies;
Comparison module, compares with the threshold values preset for data execution module monitoring obtained, judges whether it locates normal operating conditions;
First sleep block, for after end is patrolled and examined in this time, enters dormant state by database polling module automatically;
First alarm module, during for finding that in patrolling and examining database information occurs abnormal, gives the alarm.
The described automatic tour inspection system based on intelligent rules coupling, wherein, described journal file is patrolled and examined block and is comprised with lower module:
Second time monitoring module, for carrying out time monitoring when patrolling and examining journal file;
Contrast judge module, compares for the last modification time of this journal file last modification time of this journal file file and last time monitored, judges whether last modification time changes;
Analysis and processing module, for obtaining the revised context of the file that last modification time changes, and analyzes additional content in journal file revised context, judges that this journal file belongs to the journal file that reports an error, generic log file or serious journal file;
Second sleep block, enters dormant state for patrolling and examining the rear journal file polling module of end in this time;
Second alarm module, in patrolling and examining in this time, finds that journal file finds automatically to give the alarm when reporting an error daily record.
The described automatic tour inspection system based on intelligent rules coupling, wherein, application function polling module comprises with lower module:
3rd time monitoring module, for when carrying out application function and patrolling and examining, monitors the time that this is patrolled and examined;
Request module, for sending HTTP request when patrolling and examining;
Status code acquisition module, for obtaining the status code obtained in request module;
Analysis module, if the status code obtained is 200, then analyzes its content, judges whether to export according to predetermined;
3rd sleep block, for after this patrols and examines end, this application function polling module enters dormant state automatically;
3rd alarm module, the status code non-200 returned for the http request when carrying out application function and patrolling and examining or request content can not export thereupon, then automatically give the alarm.
The described automatic tour inspection system based on intelligent rules coupling, wherein, the dormancy time of the first sleep block, the second sleep block and the 3rd sleep block is set as 2 seconds.
The described automatic tour inspection system based on intelligent rules coupling, wherein, the health information of database comprises: the space hold comprising database table, memory usage and CPU usage.
Based on an automatic detecting method for intelligent rules coupling, wherein, it comprises the following steps:
A, start-up simulation machine weblication automatic tour inspection system, first program reads every configuration of this computer program server end;
B, respectively the database in weblication in computing machine, journal file and application function to be patrolled and examined.
The described automatic detecting method based on intelligent rules coupling, is characterized in that, comprise step before patrolling and examining in above-mentioned steps B to database:
B0, in advance a threshold values is set to database table space occupancy rate, memory usage and CPU usage in computer server;
In stepb database is patrolled and examined and comprises the following steps:
B11, turn-on data storehouse are patrolled and examined, and first database polling module is monitored the time that this is patrolled and examined, and whether the time that judging distance was patrolled and examined last time reached for 2 seconds, if the time did not reach for 2 seconds, database polling module continues to keep dormant state; If reached, then enter into next step;
B12, database polling module perform configuration file by starting and obtain execution result;
B13, the result performed by data base configuration file compare with expection threshold values, if exceed the threshold values set by step B0, are then given the alarm by the first alarm module, if result normally, performs next group profile; After all configuration files are finished, database polling module enters dormant state.
The described automatic detecting method based on intelligent rules coupling, wherein, in above-mentioned steps B, journal file is patrolled and examined and comprise the following steps:
B21, unlatching journal file polling module, first journal file polling module utilizes the second time detecting module wherein to monitor the time that this is patrolled and examined, whether the time that judging distance was patrolled and examined last time reached for 2 seconds, if do not reached, this module proceeds dormancy, if reached, carries out next step;
If B22 dormancy time has reached 2 seconds, then the last modification time of journal file file that this obtained of journal file polling module and the last modification time of this journal file of acquisition monitored last time compare, and judge whether the last modification time of this file changes; If do not changed, this polling module enters dormant state, if changed, enters next step:
B23, reads the content revised in the journal file that last modification time changes;
B24, to read revised context analyze, judge that it is the daily record that reports an error, generic log still serious daily record, if be the daily record that reports an error, given the alarm by the second alarm module, if be generic log, this polling module carries out dormant state, if judge that this journal file is serious daily record, reboot process is carried out to it, operated rear polling module and entered dormant state.
The described automatic detecting method based on intelligent rules coupling, wherein, in above-mentioned steps B, web application function is patrolled and examined and comprise the following steps:
B31, use the 3rd time detecting module to application function patrol survey module whether dormancy 2 detect second, if the time does not reach, then this polling module keep dormant state, if the time arrives, enter next step:
B32, system send the request of http website visiting automatically, and obtain return state code, if the status code returned non-200, then the 3rd alarm module gives the alarm, if return state code is 200, carries out next step;
B33, analysis judge module are to the html state returned and content, if the head response desired by this request or data volume do not export by expection, then the 3rd alarm module gives the alarm, if the head response desired by request or data volume will return with this response, then this polling module will enter dormant state automatically.
Beneficial effect: a kind of automatic tour inspection system based on intelligent rules coupling of the present invention and method, by patrolling and examining the database in computer server, journal file and web application function, find wherein occur abnormal and give the alarm, grasp platform ruuning situation, the very first time discovery system failure in real time for website, service operation maintenance personnel, report an error thus just go to take counter-measure, for the worker based on browser/server provides convenience in time.
Accompanying drawing explanation
Fig. 1 is the structural representation of a kind of automatic tour inspection system based on intelligent rules coupling of the application.
Fig. 2 is the structural representation of database polling module in logic polling module in the application's system.
Fig. 3 is the structural representation of journal file polling module in logic polling module in the application's system.
Fig. 4 is the structural representation of application function polling module in logic polling module in the application's system.
Fig. 5 is the process flow diagram of a kind of automatic detecting method based on intelligent rules coupling of the application.
Fig. 6 is the process flow diagram in the application, database program being carried out to method for inspecting.
Fig. 7 is the process flow diagram in the application, journal file being carried out to method for inspecting.
Fig. 8 is the process flow diagram in the application, application function being carried out to method for inspecting.
Embodiment
For making object of the present invention, technical scheme and advantage clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
A kind of automatic tour inspection system based on intelligent rules coupling provided by the invention, as shown in Figure 1, comprises and reads configuration module 11 and logic configuration module 12.
Read configuration module 11, for obtaining the configuration information in computing machine corresponding to various application program.
After program of the present invention is opened, to automatically read the configuration information of each application software in computing machine dress system, obtain configuration file in application software, identify database program, journal file and weblication, be convenient to patrol and examine it respectively in follow-up process.
Logic polling module 12, it is for carrying out automatic detecting according to the configuration information read to weblication, concrete, described logic polling module 12 comprises further: database polling module 121, journal file polling module 122 and application function polling module 123.
Logic polling module 12 is patrolled and examined for database, journal file and the application function started weblication according to the configuration information reading configuration module acquisition, the 121 pairs of database programs of database polling module are are wherein patrolled and examined, journal file polling module 122 pairs of journal files are patrolled and examined, and application function polling module 123 is for patrolling and examining the weblication function in computer system.
Further, comprise with lower module at database polling module 121 as shown in Figure 2:
Very first time monitoring module 1211, for monitoring the dormancy time of polling module when carrying out database and patrolling and examining.
Very first time monitoring module is used for monitoring the dormancy time of database polling module, after last time of module patrols and examines the time terminating to meet 2 seconds, database polling module just start to carry out next time patrol and examine work.This setting not only can ensure real-time monitoring database program, and the unusual condition that Timeliness coverage may occur also saves power consumption.
Execution module 1212, performs the health information of configuration file to the traffic table data volume in database and database and verifies.
Meet after 2 seconds when the dormancy of database polling module, module starts to patrol and examine the database program in computing machine, and it starts to perform configuration file, inquires about the health status information of traffic table data volume and database in database and verifies.
The health information of concrete above-mentioned database comprises following components: the space hold of database table, memory usage and CPU usage.Polling module obtains above-mentioned data after performing configuration file.
Comparison module 1213, compares with the threshold values preset for data execution module monitoring obtained, judges whether it locates normal operating conditions.
Before starting to patrol and examine the Database Systems in computing machine, in comparison module, pre-set the relevant threshold values of the health status information of database.Such as: the space hold of database table is 90%, memory usage be 80% and CPU usage be 75%, after performing configuration file in execution module, comparison module by the value of information of acquisition with wherein preset the corresponding value of information compare.If compare the information this time obtained exceed pre-set threshold value, then start the first alarm module and report to the police, if do not exceed pre-set threshold value, then above-mentioned execution module performs next configuration file.
First sleep block 1214, for after end is patrolled and examined in this time, enters dormant state by database polling module automatically.
After completing whole execution configuration files, no abnormal, database polling module enters dormant state, and its dormancy is full after 2 seconds, will start patrolling and examining of next round.
First alarm module 1215, during for finding that in patrolling and examining database information occurs abnormal, gives the alarm.
After comparison module judges that the value of information obtained exceeds pre-set threshold value, the first alarm module sends warning.Type of alarm can send for the form of sound or word, may also be other mode, as long as can play suggesting effect.
Further, as shown in Figure 3, journal file polling module 122 comprises with lower module:
Second time monitoring module 1221, for monitoring the dormancy time of this polling module when patrolling and examining journal file;
Second time monitoring module is used for monitoring the dormancy time of the journal file polling module that it belongs to, when its dormancy time was less than 2 seconds, it controls this module and proceeds dormancy, if monitor dormancy time arrived 2 seconds, then it is opened this and patrols and examines.
Contrast judge module 1222, compares for the last modification time of this journal file last modification time of this journal file file and last time monitored, judges whether last modification time changes.
After journal file polling module 122 starts to patrol and examine, first the last modification time of journal file is obtained, compared with the last modification time of itself and last time being patrolled and examined middle acquisition, judge whether its last modification time changes, if do not have to change, illustrate that the operating system or Database Systems etc. belonging to this journal file does not all change, if the last modification time of journal file changes, operation analysis processing module 1223 carries out analyzing and processing to the content that it is revised.
Analysis and processing module 1223, for obtaining the revised context of the file that last modification time changes, and analyzes additional content in journal file revised context, judges that this journal file belongs to the journal file that reports an error, generic log file or serious journal file.
Analysis and processing module 1223 obtains the revised context of this journal file, additional content is wherein analyzed, judge that this journal file belongs to the journal file that reports an error, generic log file or serious journal file, if do not report an error journal file, the second alarm module 125 will give the alarm, if generic log file then this module enter dormant state, if be serious journal file, then application program corresponding for journal file is therewith carried out restarting process.
Second sleep block 1224, enters dormant state for patrolling and examining the rear journal file polling module 122 of end in this time.
Second sleep block is used for after patrolling and examining end, make this journal file polling module enter dormant state, and dormancy time is 2 seconds, and this polling module will start patrolling and examining next time after 2 seconds.
Second alarm module 1225, in patrolling and examining in this time, finds that journal file finds automatically to give the alarm when reporting an error journal file.
Second alarm module is used in patrolling and examining, and finds to give the alarm when reporting an error journal file, and this alarm can be undertaken by any mode that can play suggesting effect.
Further, as shown in Figure 4, application function polling module 123 comprises with lower module:
3rd time monitoring module 1231, for when carrying out application function and patrolling and examining, monitors the dormancy time of this polling module.
3rd time monitoring module is used for when application function is patrolled and examined, and monitor the dormancy time of this polling module, the dormancy time of this module was 2 seconds, when this patrol and examine terminate after 2 seconds just start patrolling and examining next time.
Request module 1232, for sending HTTP request when patrolling and examining.
When application function polling module starts to patrol and examine application function, program automatic imitation http accessed web page.
Status code acquisition module 1233, for obtaining the status code that server in request module returns.
Analysis module 1234, if the status code obtained is 200, then analyzes its content, judges whether to export according to predetermined.
The status code obtained in analysis module 1234 pairs of status code acquisition modules is analyzed, if its status code obtained is not 200, then this information is delivered to the 3rd alarm module by program, 3rd alarm module 1236 gives the alarm, if its status code obtained is 200, then the webpage state that its server returns is analyzed, judge whether head response this time desired by request or data volume return with this response.If it is this polling module enters into dormant state, and if not, then the 3rd alarm module 1236 gives the alarm, and prompting is is this time patrolled and examined and noted abnormalities.
3rd sleep block 1235, for after this patrols and examines end, this application function polling module 123 enters dormant state automatically.
When whole patrol and examine end after, the 3rd sleep block 1235 controls application function polling module and enters dormant state, and dormancy time was 2 seconds.
3rd alarm module 1236, can not export for http request return state code non-200 or request content when carrying out application function and patrolling and examining thereupon, then automatically give the alarm.
If at application function polling module when patrolling and examining, the content of the status code returned non-200 or requested webpage together can not return along with status code, then the 3rd alarm module gives the alarm.
A kind of automatic tour inspection system based on intelligent rules coupling provided by the invention, by carrying out automatically patrolling and examining in real time to database program, journal file and function of application in computer system respectively, wherein there is exception and the formula that gives the alarm in Timeliness coverage, website, service operation maintenance personnel is allowed to grasp platform ruuning situation, the very first time discovery system failure in real time, report an error thus just go to take counter-measure, for the worker based on browser/server provides convenience in time.
Present invention also offers a kind of automatic detecting method based on intelligent rules coupling, as shown in Figure 5, its method step is:
S1, start-up simulation machine weblication automatic tour inspection system, first program reads every configuration of this computer program server end;
S2, respectively the database in weblication in computing machine, journal file and application function to be patrolled and examined.
As shown in Figure 6, to the concrete grammar step that database is patrolled and examined be in step s 2:
Step is comprised before database being patrolled and examined in above-mentioned steps S2:
S02, in advance a threshold values is set to database table space occupancy rate, memory usage and CPU usage in computer server.Its specifically setting threshold values with arrange described in comparison module in database polling module identical.
In step s 2 database is patrolled and examined further comprising the steps of:
S211, turn-on data storehouse are patrolled and examined, and first database polling module is monitored the time that this is patrolled and examined, and whether the time that judging distance was patrolled and examined last time reached for 2 seconds, if the time did not reach for 2 seconds, database polling module continues to keep dormant state; If reached, then enter into next step;
B212, database polling module perform configuration file by starting and obtain execution result;
Database polling module starts performing database configuration file and obtains it to perform acquired results;
B213, the result performed by data base configuration file compare with expection threshold values, if exceed the threshold values set by step S02, are then given the alarm by the first alarm module, if result normally, performs next group profile; After all configuration files are finished, database polling module enters dormant state.
As shown in Figure 7, journal file is patrolled and examined comprise the following steps in step s 2:
B221, unlatching journal file polling module, first journal file polling module utilizes the second time detecting module wherein to monitor the time that this is patrolled and examined, whether the time that judging distance was patrolled and examined last time reached for 2 seconds, if do not reached, this module proceeds dormancy, if reached, carries out next step;
If B222 dormancy time has reached 2 seconds, then the last modification time of journal file file that this obtained of journal file polling module and the last modification time of this journal file of acquisition monitored last time compare, and judge whether the last modification time of this file changes; If do not changed, this polling module enters dormant state, if changed, enters next step:
B223, reads the content revised in the journal file that last modification time changes;
B224, to read revised context analyze, judge that it is the daily record that reports an error, generic log still serious daily record, if be the daily record that reports an error, given the alarm by the second alarm module, if be generic log, this polling module carries out dormant state, if judge that this journal file is serious daily record, reboot process is carried out to it, operated rear polling module and entered dormant state.
As shown in Figure 8, in above-mentioned steps S2, web application function is patrolled and examined and comprises the following steps:
B231, use the 3rd time detecting module to application function patrol survey module whether dormancy 2 detect second, if the time does not reach, then this polling module keep dormant state, if the time arrives, enter next step:
B232, system send the request of http website visiting automatically, and obtain return state code, if the status code returned non-200, then the 3rd alarm module gives the alarm, if return state code is 200, carries out next step;
B233, analysis judge module are to the html state returned and content, if the head response desired by this request or data volume inexpectancy export, then the 3rd alarm module gives the alarm, if the head response desired by request or data volume will return with this response, then this polling module will enter dormant state automatically.
A kind of automatic tour inspection system based on intelligent rules coupling provided by the invention and method, this system comprises reading configuration module and logic polling module, and described reading configuration module, for obtaining the information of various configuration in computing machine; Described logic polling module, it is for carrying out automatic detecting according to the configuration information read to weblication, and described logic polling module comprises further: database polling module, journal file polling module and application function polling module.The method is patrolled and examined Computer Data library, journal file and weblication function respectively, Real-time Obtaining patrols and examines result, from result, judge whether application program exception occurs, send alarm when an exception occurs, not only can overcome the shortcoming that manual platform is difficult to accomplish monitoring in real time, and it can obtain the accuracy higher than manual inspection, thus provide more laborsaving and application program cruising inspection system and method more reliably for user.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection domain that all should belong to claims of the present invention.

Claims (2)

1. based on an automatic tour inspection system for intelligent rules coupling, it is characterized in that, for carrying out automatic detecting to application program in computing machine, it comprises reading configuration module and logic polling module;
Read configuration module, for obtaining the information of various configuration in computing machine;
Logic polling module, it is for carrying out automatic detecting according to the configuration information read to weblication, and described logic polling module comprises further: database polling module, journal file polling module and application function polling module;
Application function polling module comprises with lower module:
3rd time monitoring module, for when carrying out application function and patrolling and examining, monitors the dormancy time of this polling module;
Request module, for sending HTTP request when patrolling and examining;
Status code acquisition module, for obtaining the status code obtained in request module;
Analysis module, if the status code obtained is 200, then analyzes its content, judges whether to export according to predetermined;
3rd sleep block, for after this patrols and examines end, this application function polling module enters dormant state automatically;
3rd alarm module, can not export for http request return state code non-200 and request content when carrying out application function and patrolling and examining thereupon, then automatically give the alarm;
If its status code obtained is 200, then the webpage state that its server returns is analyzed, judge whether head response this time desired by request or data volume return with this response, if it is this polling module enters into dormant state, if not, then the 3rd alarm module gives the alarm, and prompting is is this time patrolled and examined and noted abnormalities;
Described database polling module comprises with lower module:
Very first time monitoring module, for monitoring the dormancy time of database polling module when carrying out database and patrolling and examining;
Execution module, performs the health information of configuration file to the traffic table data volume in database and database and verifies;
Comparison module, compares with the threshold values preset for data execution module monitoring obtained, judges whether it locates normal operating conditions;
First sleep block, for after end is patrolled and examined in this time, enters dormant state by database polling module automatically;
First alarm module, during for finding that in patrolling and examining database information occurs abnormal, gives the alarm; Described journal file polling module comprises with lower module:
Second time monitoring module, for monitoring the dormancy time of this polling module when patrolling and examining journal file;
Contrast judge module, compares for the last modification time of this journal file last for this journal file modification time and last time monitored, judges whether last modification time changes;
Analysis and processing module, for obtaining the revised context of the file that last modification time changes, and analyzes additional content in journal file revised context, judges that this journal file belongs to the journal file that reports an error, generic log file or serious journal file;
Second sleep block, enters dormant state for patrolling and examining the rear journal file polling module of end in this time;
Second alarm module, in patrolling and examining in this time, finds that journal file finds automatically to give the alarm when reporting an error daily record;
The dormancy time of the first sleep block, the second sleep block and the 3rd sleep block is set as 2 seconds;
The health information of database comprises: the space hold comprising database table, memory usage and CPU usage.
2., based on an automatic detecting method for intelligent rules coupling, it is characterized in that, for carrying out automatic detecting to application program in computing machine, its method comprises the following steps:
A, start-up simulation machine weblication automatic tour inspection system, first program reads every configuration of this computer program server end;
B, respectively the database in weblication in computing machine, journal file and application function to be patrolled and examined;
In above-mentioned steps B, application function is patrolled and examined and comprises the following steps:
B31, use the 3rd time detecting module to application function polling module whether dormancy 2 detect second, if the time does not reach, then this polling module keep dormant state, if the time arrives, enter next step:
B32, system send the request of http website visiting automatically, and obtain return state code, if the status code returned non-200, then the 3rd alarm module gives the alarm, if return state code is 200, carries out next step;
B33, analysis judge module are to the html state returned and content; if the head response desired by this request or data volume inexpectancy export; then the 3rd alarm module gives the alarm; if the head response desired by request or data volume will return with this response, then this polling module will enter dormant state automatically;
Step is comprised before database being patrolled and examined in above-mentioned steps B:
B0, in advance a threshold values is set to database table space occupancy rate, memory usage and CPU usage in computer server;
In stepb database is patrolled and examined and comprises the following steps:
B11, turn-on data storehouse polling module, first database polling module is monitored the time that this is patrolled and examined, whether the time that judging distance was patrolled and examined last time reached for 2 seconds, if the time did not reach for 2 seconds, database polling module continues to keep dormant state; If reached, then enter into next step;
B12, database polling module perform configuration file by starting and obtain execution result;
B13, the result performed by data base configuration file compare with expection threshold values, if exceed the threshold values set by step B0, are then given the alarm by the first alarm module, if result normally, performs next group profile; After all configuration files are finished, database polling module enters dormant state;
In above-mentioned steps B, journal file is patrolled and examined and comprises the following steps:
B21, unlatching journal file polling module, first journal file polling module utilizes the second time detecting module wherein to monitor the time that this is patrolled and examined, whether the time that judging distance was patrolled and examined last time reached for 2 seconds, if do not reached, this journal file polling module proceeds dormancy, if reached, carries out next step;
If B22 dormancy time has reached 2 seconds, the last modification time of this journal file of acquisition that then the last modification time of this journal file obtained and last time are monitored by journal file polling module compares, and judges whether the last modification time of this file changes; If do not changed, this polling module enters dormant state, if changed, enters next step:
B23, reads the content revised in the journal file that last modification time changes;
B24, to read revised context analyze, judge that it is the daily record that reports an error, generic log still serious daily record, if be the daily record that reports an error, given the alarm by the second alarm module, if be generic log, this polling module carries out dormant state, if judge that this journal file is serious daily record, reboot process is carried out to it, operated rear polling module and entered dormant state.
CN201210497990.5A 2012-11-29 2012-11-29 A kind of automatic tour inspection system based on intelligent rules coupling and method Active CN103034802B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210497990.5A CN103034802B (en) 2012-11-29 2012-11-29 A kind of automatic tour inspection system based on intelligent rules coupling and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210497990.5A CN103034802B (en) 2012-11-29 2012-11-29 A kind of automatic tour inspection system based on intelligent rules coupling and method

Publications (2)

Publication Number Publication Date
CN103034802A CN103034802A (en) 2013-04-10
CN103034802B true CN103034802B (en) 2015-10-28

Family

ID=48021689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210497990.5A Active CN103034802B (en) 2012-11-29 2012-11-29 A kind of automatic tour inspection system based on intelligent rules coupling and method

Country Status (1)

Country Link
CN (1) CN103034802B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103346907A (en) * 2013-06-25 2013-10-09 宁夏新航信息科技有限公司 Method for website safety monitoring management
CN104346562B (en) * 2013-08-01 2018-09-07 腾讯科技(深圳)有限公司 A kind of method and apparatus of the invisible application program of identification
CN104750041B (en) * 2013-12-27 2019-01-04 研祥智能科技股份有限公司 Abnormality monitoring method and system in WinCE system
WO2019047070A1 (en) * 2017-09-06 2019-03-14 富璟科技(深圳)有限公司 Database maintenance method and system
CN108681493B (en) * 2018-05-29 2022-04-19 深圳乐信软件技术有限公司 Data anomaly detection method, device, server and storage medium
CN109684160A (en) * 2018-09-07 2019-04-26 平安科技(深圳)有限公司 Database method for inspecting, device, equipment and computer readable storage medium
CN110300283B (en) * 2019-06-26 2020-11-27 视联动力信息技术股份有限公司 Monitoring and inspection control method and device based on video networking
CN110390198B (en) * 2019-07-31 2023-09-29 创新先进技术有限公司 Risk inspection method and device for small program and electronic equipment
CN110851324B (en) * 2019-10-25 2023-03-21 泰康保险集团股份有限公司 Log-based routing inspection processing method and device, electronic equipment and storage medium
CN112181786B (en) * 2020-10-30 2022-11-04 杭州海康威视系统技术有限公司 Configuration method, device and equipment for inspection application
CN113590432A (en) * 2021-09-28 2021-11-02 云和恩墨(北京)信息技术有限公司 Database inspection method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547120A (en) * 2003-12-10 2004-11-17 沈阳东软软件股份有限公司 Network monitoring management system
CN101291256A (en) * 2008-06-02 2008-10-22 杭州华三通信技术有限公司 Method and system for upgrading system log to alarm
CN101997925A (en) * 2010-11-22 2011-03-30 北京亮点时间科技有限公司 Server monitoring method with early warning function and system thereof
CN102420851A (en) * 2011-11-10 2012-04-18 百度在线网络技术(北京)有限公司 HTTP (hypertext transfer protocol) service monitoring method and system
CN102437935A (en) * 2011-12-16 2012-05-02 江西省电力公司信息通信中心 WEB application monitoring method and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547120A (en) * 2003-12-10 2004-11-17 沈阳东软软件股份有限公司 Network monitoring management system
CN101291256A (en) * 2008-06-02 2008-10-22 杭州华三通信技术有限公司 Method and system for upgrading system log to alarm
CN101997925A (en) * 2010-11-22 2011-03-30 北京亮点时间科技有限公司 Server monitoring method with early warning function and system thereof
CN102420851A (en) * 2011-11-10 2012-04-18 百度在线网络技术(北京)有限公司 HTTP (hypertext transfer protocol) service monitoring method and system
CN102437935A (en) * 2011-12-16 2012-05-02 江西省电力公司信息通信中心 WEB application monitoring method and equipment

Also Published As

Publication number Publication date
CN103034802A (en) 2013-04-10

Similar Documents

Publication Publication Date Title
CN103034802B (en) A kind of automatic tour inspection system based on intelligent rules coupling and method
CN105446328B (en) Generating set remote fault diagnosis and health monitoring systems and data capture method
CN103246265B (en) Electromechanical equipment detection maintaining method
CN105306272B (en) Information system fault scenes formation gathering method and system
CN109032099A (en) Engineering machinery assemble production line online awareness system
CN106940678B (en) System real-time health degree evaluation and analysis method and device
CN103698489B (en) The verification method of test data and device
CN102541013B (en) Remote monitoring, early warning and fault-diagnosing system and method for anodic protection device
CN111353911A (en) Power equipment operation and maintenance method, system, equipment and storage medium
CN103581951B (en) Base station detection method and device
CN104502753A (en) Networked on-line real-time analysis system for electric power fault recording device and application of system
CN109240126A (en) A kind of distributed application services monitoring system and method with simulated operation function
CN111220872A (en) Method and system for monitoring electric equipment in real time
CN106649043B (en) Automatic fault diagnosis method and system for operation and maintenance system
CN102937802A (en) System and method for monitoring operating state of device
CN104616063A (en) System and method for automatically detecting key device maintenance time based on Internet of Things
CN107579861A (en) Website Usability alarm method, device and electronic equipment based on multi-line monitoring
CN102541885A (en) Method and device for detecting database blockage
CN107102929A (en) The detection method and device of failure
CN114978883B (en) Network wakeup management method and device, electronic equipment and storage medium
CN111341063A (en) Intelligent control system, method and device for safety early warning and monitoring of electric equipment and terminal equipment
CN116980958B (en) Radio equipment electric fault monitoring method and system based on data identification
CN113608507A (en) Industrial internet yield real-time monitoring system and method based on SaaS (software as a service) level
CN106706000B (en) Theodolite intelligent network monitoring method and system
CN104485991A (en) Optical module fault automatic alarm method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP03 Change of name, title or address

Address after: 528400, Guangdong, Zhongshan, four East Road, Zhongshan, 88, Shang Feng finance business center 5, one of the 18 layers

Patentee after: All pass education group (Guangdong) Limited by Share Ltd

Address before: 528400 Guangdong City, east of the East Bank of the library on the 1st comprehensive commercial building, the first floor of the fifth floor, Zhongshan

Patentee before: Guangdong Qtone Education Co., Ltd.