CN102567185B - Monitoring method of application server - Google Patents

Monitoring method of application server Download PDF

Info

Publication number
CN102567185B
CN102567185B CN201110460680.1A CN201110460680A CN102567185B CN 102567185 B CN102567185 B CN 102567185B CN 201110460680 A CN201110460680 A CN 201110460680A CN 102567185 B CN102567185 B CN 102567185B
Authority
CN
China
Prior art keywords
atomic counters
snapshot
time
data
counters
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
CN201110460680.1A
Other languages
Chinese (zh)
Other versions
CN102567185A (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.)
Beijing Feinno Communication Technology Co Ltd
Original Assignee
Beijing Feinno Communication Technology 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 Beijing Feinno Communication Technology Co Ltd filed Critical Beijing Feinno Communication Technology Co Ltd
Priority to CN201110460680.1A priority Critical patent/CN102567185B/en
Publication of CN102567185A publication Critical patent/CN102567185A/en
Application granted granted Critical
Publication of CN102567185B publication Critical patent/CN102567185B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a monitoring method of an application server. The method comprises the following steps of: designing a program internally-embedded counter, and embedding the designed program internally-embedded counter in an application process of the application server; and obtaining monitoring politics in the application process of the application server, and carrying out monitoring on the program internally-embedded counter according to the obtained monitoring politics. The technical scheme of the monitoring method can preferably support recording and monitoring of business data in the application server.

Description

A kind of method for supervising of application server
Technical field
The present invention relates to field of computer technology, particularly a kind of method for supervising of application server.
Background technology
At the application server end development field of operation application service, performance counter is the key index of an application service operation conditions of reflection.There is at present the system resource counter that certain operations system is relevant, for example, under windows platform, there is the perfmon program can be for the keystone resources of supervisory system, and application program also can be to the type line item of going forward side by side of expansion perfmon, and check real time data by perfmon instrument, or storage, the kernel of linux latest edition is also supported performance counter.
But the system resource counter that aforesaid operations system is relevant meets the counting demand of service layer is more difficult.For example:
1. several often of the data of system resource counter records, are difficult to accomplish monitoring and show the business datum of several thousand;
2. the type of counter is confined to several types (numeral, frequency, mean value, hit rate) etc., and information that can not shorthand etc., the expansion comparatively difficulty of getting up;
3. the function of system resource counter more focuses in real-time monitoring, and the record operation to large-scale data day to day operation data is also unfriendly.
Visible,, also there is very large shortcoming aspect the record of service class data and monitoring in existing application server monitoring scheme.
Summary of the invention
Based on above consideration, the invention provides a kind of method for supervising of application server, the method can better be supported record and the monitoring of the service class data in application server.
For achieving the above object, technical scheme of the present invention is achieved in that
The method for supervising that the invention discloses a kind of application server, the method comprises:
The embedded counter of designing program, embeds the embedded counter of designed program in the application process in application server;
Application process in application server is obtained monitoring strategies, according to obtained monitoring strategies, the embedded counter of program is monitored.
In said method, described in the embedded counter of designing program comprise: the embedded counter of generator program comprises the classification that multiple names are unique; Each classification that the embedded counter of define program comprises, wherein each classification comprises multiple fixing row and the unique example of multiple name.
In said method, a classification in the embedded counter of generator program comprises:
Determine such other name, arrange such other output row, such other one group of atomic counters and atomic counters method of operating, such other snapshot data and such other calculate the method for output example according to snapshot data.
In said method, a classification in the embedded counter of define program also comprises:
Arrange such other output example method of summary.
In said method, a classification that realizes hit rate calculating in the embedded counter of generator program comprises:
Determine such other unique name;
Such other output is set to be classified as: access times per second, hit rate;
Such other two counters are set, and wherein the first atomic counters adds 1, the second atomic counters and when miss, adds 1 in the time hitting;
The data that such other snapshot is set are: the count value of first atomic counters in generating snapshot moment, the count value of the second atomic counters, system time;
Arrange such other according to snapshot data calculate output example method be: the interval time of calculating total access times, hit-count and twice snapshot according to the data of twice snapshot, then obtain access times per second according to the ratio of the interval time of total access times and twice snapshot, obtain hit rate according to the ratio of hit-count and total access times;
The method of summary that such other output example is set is: total access times that total access times of each example are sued for peace after obtaining gathering, the hit-count that the hit-count of each example is sued for peace after obtaining gathering, twice snapshot time interval after gathering equals twice snapshot time interval of example, and twice snapshot time interval of each example equates.
In said method, described the first atomic counters adds 1, the second atomic counters and when miss, adds 1 and comprise in the time hitting:
Service application in application process finds this according to class name and realizes the classification that hit rate is calculated, and find this according to Instance Name and realize the respective instance of classification that hit rate is calculated, in the time that business is hit, the first atomic counters in respective instance is added to 1, in the time that business is miss, the second atomic counters in respective instance is added to 1.
In said method, a classification that realizes online transaction statistics in the embedded counter of generator program comprises:
Determine such other unique name;
Such other output is set to be classified as: access times per second, number of concurrent, average response time, the rate that makes mistake, recent error;
Such other four integer type atomic counters, the first atomic counters, the second atomic counters, the 3rd atomic counters and the 4th atomic counters, and a character string type variable are set;
Wherein, service code adds one by the first atomic counters in the time that affairs start, and starts a timer and start to calculate duration;
Service code takes out the value consuming time of timer in the time that affairs finish, and calculates as follows:
A) successful affairs, add one by the second atomic counters, and the 4th atomic counters is added to described value consuming time;
B) failed affairs, add one by the 3rd atomic counters, the 4th atomic counters is added to described value consuming time, and be failure information by described character string type variable set up;
The data that such other snapshot is set are: the count value of first atomic counters in generating snapshot moment, the count value of the second atomic counters, the count value of the 3rd atomic counters, the count value of the 4th atomic counters, character string type variate-value and system time;
Arrange such other to calculate the method for output example according to snapshot data as follows: calculate the always consuming time of interval time of number of success, the frequency of failure, the affairs number of starts, twice snapshot and affairs according to the data of twice snapshot; Obtain the access time per second according to the ratio of the interval time of the affairs number of starts and twice snapshot; Deduct number of success and the frequency of failure from the affairs number of starts, obtain number of concurrent; According to the total consuming time and number of success and the frequency of failure of affairs and between ratio, obtain average response time; According to the frequency of failure and number of success and the frequency of failure and between ratio, obtain the rate that makes mistake; Using the value of the character string type variable in last snapshot as recent error.
Said method also comprises:
Finger daemon in application server obtains monitoring strategies, according to obtained monitoring strategies, system resource counter is monitored; The index of monitoring comprises: CPU index, indicator memory, disk index, network interface card flow indicator and/or MySQL index.
In said method,
In an application server, be deployed with a finger daemon and multiple application process;
Finger daemon and application process in application server are obtained monitoring strategies from central server.
In said method, described finger daemon and application process are obtained monitoring strategies from central server and are comprised:
Finger daemon and application process send monitoring strategies to central server and obtain request;
Central server obtains corresponding monitoring strategies from global monitoring database and returns to finger daemon and application process.
Said method further comprises: the finger daemon in application server and application process, monitor according to obtained monitoring strategies, and monitored results data are saved in the machine log database, and according to monitoring strategies, corresponding monitored results data are uploaded in global monitoring database by central server, and in the time that exceeding threshold values, the data that get add warning label;
Monitoring server is shown the monitored results data in global monitoring database, and prompting is reported to the police.
From above-mentioned, the embedded counter of designing program in the embodiment of the present invention, in application process in application server, embed the embedded counter of designed program, application process in application server is obtained monitoring strategies, the technical scheme of the embedded counter of program being monitored according to obtained monitoring strategies, owing to having embedded the embedded counter of program in the application process of operation application service, therefore can realize easily current entry and the operation to large-scale data, and the embedded counter of initiatively designing program, therefore can design the embedded counter of dissimilar program according to actual conditions, better record and the monitoring of supporting business class data.
Brief description of the drawings
Fig. 1 is the implementation schematic diagram of the embedded counter of program in the embodiment of the present invention;
Fig. 2 is the schematic diagram of the supervisory system in the embodiment of the present invention.
Embodiment
In the present invention, the embedded counter of the program that designed, embeds the embedded counter of designed program in the application process in application server; Application process in application server is monitored the embedded counter of program according to obtained monitoring strategies, and then realizes the monitoring of application server.
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
The present invention has designed the embedded counter of the program in application process, better record and the monitoring of supporting business class data.Here, application process is the process that is deployed in the operation application service on application server.
Fig. 1 is the implementation schematic diagram of the embedded counter of program in the embodiment of the present invention.Referring to Fig. 1, service code can output to relevant counting in embedded counter, and Client Agent can be at Startup time, obtain the acquisition strategies of counter by central server, and the data collection task of the embedded counter of program is carried out in timing, upload to central server, or be recorded in the machine log database, and carry out alarm according to threshold values.
The embedded counter of designing program specifically comprises: the classification that the embedded counter of designing program comprises that multiple names are unique; Each classification that the embedded counter of generator program comprises, wherein each classification comprises multiple fixing row and the unique example of multiple name.
Specifically, in the present invention, the data structure of the embedded counter of program is as follows:
The embedded counter of-program comprises the unique classification of multiple names (Category);
In-each classification, can comprise multiple fixing row;
-each classification comprises the unique example of multiple names (instance), also can be understood as row.
According to above definition, the output of an embedded counter of program defining is as shown in table 1:
Category:“rpc-client”
instance tx/sec. Elapse?ms Last?Error
“/Foo.Add” 32.0 16 “”
“/Foo.Echo” 48.0 8 “”
“/Foo.Ping” 32.0 22 “”
“/Foo.Hello” 16.0 124 Input?is?null;
Table 1
Wherein, row are fixed, and row is the same with the method name of request, may increase along with the increase of request.
In the present invention, a classification in the embedded counter of generator program comprises: determine such other name, arrange such other output row, such other one group of atomic counters and atomic counters method of operating, such other snapshot data layout and such other calculate the method for output example according to snapshot data.
Specifically, in an embodiment of the present invention, define classifications (Category) by following means:
A1. define unique name, specify such other name;
A2. defining such other output is listed as; The type of row can be integer, floating number and character string;
A3. define original data type and method of operating: the method for operating that defines such other one group of atomic counters and atomic counters;
A4. define the data of such other snapshot; Comprise the direct organization of taking out from atomic counters;
A5. define such other according to snapshot data calculate output example method; Define from the method for twice snapshot accounting report output row;
A6. the method for summary that defines such other output example, defines the method for summary of report line.
According to above description, the method that customizes a hit rate counter (realizing the classification that hit rate is calculated for) is as follows:
B1. determine such other unique name; Here be " cached-hit-ratio ";
B2., such other output is set to be classified as: access times per second (/sec), hit rate (ratio); Here there are two row;
B3., atomic counters and method of operating are set: the raw data of hit rate counter comprises two integer type atomic counters, the first atomic counters hitted and the second atomic counters missed;
Service code record can add one by hitted while hitting;
Service code records when miss can subtract one by missed;
B4., the data that such other snapshot is set are: count value, the count value of the second atomic counters, the system time of preserving first atomic counters in generating snapshot moment;
B5. arrange such other according to snapshot data calculate output example method, according to the method for twice snapshot accounting report output row be: the interval time of calculating total access times, hit-count and twice snapshot according to the data of twice snapshot, then obtain access times per second according to the ratio of the interval time of total access times and twice snapshot, obtain hit rate according to the ratio of hit-count and total access times;
For example, output row calculated the snapshot that is T from twice interval time, got snapshot snapshot1 when our definition time 0, when after elapsed time T again, obtained snapshot snapshot2 at this, and output computing formula is
report.total=(snapshot2.hitted+shapshot2.missed)-(snapshot1.hitted+snapshot1.missed)
report.hitted=(snapshot2.hitted–snapshot1.hitted)
report.interval=(snapshot2.time–snapshot1.time)
Output row demonstrating data is
(call./sec):total/interval
(hit?ratio):hitted/total
B6. the method for summary that defines such other output example is: total access times that total access times of each example are sued for peace after obtaining gathering, the hit-count that the hit-count of each example is sued for peace after obtaining gathering, twice snapshot time interval after gathering equals twice snapshot time interval of example, and twice snapshot time interval of each example equates.As:
summary.total=sum(report.total)
summary.hitted=sum(report.hitted)
summary.interval=report.interval;
Sum () computing represents summation, the each row data time consistency gathering
According to above description, the method that customizes an online transaction counter (realizing the classification of online transaction statistics for) is as follows:
C1. determine such other unique name; Here be " transaction ";
C2., such other output is set to be classified as: access times per second (qps), number of concurrent (concurrent), average response time (cost ms), the rate that makes mistake (error%); Recent error (last error), has five row here;
C3., atomic counters and method of operating are set: the raw data of online transaction counter comprises four integer type atomic counters, the first atomic counters fired, the second atomic counters successed, the 3rd atomic counters failed, the 4th atomic counters totalNanos; An and character string type variable lastError;
Service code adds one by fired in the time that affairs start, and starts a timer and start to calculate duration
Service code takes out the nanos consuming time of timer in the time that affairs finish, and calculates as follows
C) successful affairs, add one by successed, and totalNanos is added to nanos
D) failed affairs, add one by failed, and totalNanos is added to nanos, and lastError is established
Be set to failure information
C4., the data that such other snapshot is set are: preserve the count value of the first atomic counters fired in generating snapshot moment, the count value of the second atomic counters successed, value and the system time of the count value of the 3rd atomic counters failed, the count value of the 4th atomic counters totalNanos, character string type variable lastError;
C5. arrange such other to calculate the method for output example according to snapshot data as follows, according to the method for twice snapshot accounting report output row be:
Calculate the always consuming time of interval time of number of success, the frequency of failure, the affairs number of starts, twice snapshot and affairs according to the data of twice snapshot;
Obtain the access time per second according to the ratio of the interval time of the affairs number of starts and twice snapshot;
Deduct number of success and the frequency of failure from the affairs number of starts, obtain number of concurrent;
According to the total consuming time and number of success and the frequency of failure of affairs and between ratio, obtain average response time;
According to the frequency of failure and number of success and the frequency of failure and between ratio, obtain the rate that makes mistake;
Using the value of the character string type variable lastError in last snapshot as recent error.
For example, get snapshot snapshot1 when our definition time 0, when after elapsed time T again, obtain snapshot snapshot2 at this, output computing formula is
report.success=(snapshot2.successed–snapshot1.successed1)
report.failed=(snapshot2.failed–snapshot1.failed)
report.fired=snapshot2.fired–snapshot1.fired;
report.interval=(snapshot2.time–snapshot1.time)
report.totalNanos=(snapshot2.totalNanos–snapshot1.totalNanos)
report.concurrent=snapshot2.fired–snapshot2.successed–snapshot2.failed;
report.lastError=snapshot2.lastError;
report.total=report.success+report.failed;
Output row demonstrating data is
(qps):report.fired/report.interval;
(concurrent):report.concurrent;
(cost Ms): report.totalNanos/report.total/1000; (being converted to millisecond nanosecond)
(error%):report.failed/report.total
(lastError):report.lastError
C6. the method for summary that defines such other output example is: to total access times of each example, and total number of success, total frequency of failure, total cumulative time etc. sues for peace, as:
summary.fired=sum(report.fired)
summary.successed=sum(report.successed)
summary.failed=sum(report.failed)
summary.totalNanos=sum(report.totalNanos)
summary.interval=report.interval;
Sum () computing represents summation, the each row data time consistency gathering
Service code in application process finds this according to class name and realizes the classification that hit rate is calculated, and find this according to Instance Name and realize the respective instance of classification that hit rate is calculated, in the time that business is hit, the first atomic counters in respective instance is added to 1, in the time that business is miss, the second atomic counters in respective instance is added to 1.
The embedded Counter Design of program well after, after each code triggers, data all can be stored in the internal memory of application process, after application process starts, the step of monitoring is as follows:
D1. application process is set up long connection with central server;
D2. application process is obtained the monitoring strategies of the machine;
D3. central server, according to the title of application server, returns to the monitoring strategies that is suitable for application server;
D4. application server starts monitoring thread, fixed time operation;
D5. after fixed time, application process can be obtained the snapshot snapshot of the embedded counter of program, if there is the snapshot that the last time gets, will calculates last result with twice snapshot, otherwise this snapshot is contributed in the result of last time;
If d6. there is result of calculation, carry out following operation according to logging mode:
A) NONE, not record;
B) ALL: the record of all instance is stored in the machine log database;
C) SUMMARY: the record of all instance is carried out and gathered, and deposit in the machine log database;
If d7. there is result of calculation, carry out following operation according to upper arq mode;
A) NONE, not record;
B) ALL: the record packing of all instance is uploaded in the middle of central server
C) SUMMARY: the record of all instance is carried out and gathered, and packing is uploaded to central server;
D8. judge whether result of calculation breaks through threshold value, if break through threshold value, by additional result of calculation alarm logging, be uploaded to central server.
In addition, the method that in the present invention, application server is monitored also comprises: the finger daemon in application server obtains monitoring strategies, according to obtained monitoring strategies, system resource counter is monitored; The index of monitoring comprises: CPU index, indicator memory, disk index, network interface card flow indicator and/or MySQL index.Specifically as shown in Figure 2.
Below the preferred embodiment as shown in Figure 2 in the present invention is described.
Fig. 2 is the schematic diagram of the supervisory system in the embodiment of the present invention.As shown in Figure 2, this system comprises: central server, application server cluster, the global monitoring database being connected with central server, the monitoring server being connected with global monitoring database, and in each application server, increase the machine log database.Because length is limit, in Fig. 2, only schematically draw an application server in application server cluster, in an application server, be deployed with a finger daemon and multiple application process, finger daemon is used for managing application process.
In Fig. 2, in global monitoring database, preserve different monitoring strategy.Finger daemon in application server and application process, all obtain corresponding monitoring strategies by central server from global monitoring database, monitors according to obtained monitoring strategies.Specifically, finger daemon and application process send monitoring strategies to central server and obtain request; Central server obtains corresponding monitoring strategies from global monitoring database and returns to finger daemon and application process.
Finger daemon and application process are saved in monitored results data in the machine log database, and according to monitoring strategies, corresponding monitored results data are uploaded in global monitoring database by central server, and in the time that exceeding threshold values, the data that get add warning label.Monitoring server is responsible for showing the monitored results data in global monitoring database, and prompting is reported to the police.
In the system shown in Fig. 2, the Data Source of monitoring and alarm system is divided into two types:
1. system resource counter (comprise CPU, internal memory, disk, IO, the data that network traffics etc. can directly be taken out from operating system, are generally a floating number);
2. the embedded counter of program, for native system distinctive based on program internal technology, the form counter of dynamic specifications;
In system shown in Figure 2, system resource counter is monitored by finger daemon, and the embedded counter of program is monitored by application process.The monitoring strategies (being acquisition strategies) of all counters is all read by central server by finger daemon and application process from global monitoring database.Reading the later finger daemon of monitoring strategies and monitoring process can regularly store data in the machine log database into according to monitoring strategies, or uploads to central server, whether uploads the configuration of depending on monitoring strategies.
Finger daemon in application server is monitored system resource counter; The index of monitoring comprises: CPU index, indicator memory, disk index, network interface card flow indicator and MySQL index etc.
Specifically, finger daemon obtains monitoring strategies from central server, carry out script according to the content timing in monitoring strategies and obtain this item number certificate, this item number certificate is saved in the machine log database, and proceed as follows according to monitoring strategies: 1) if configured threshold values warning, and the value getting has exceeded threshold values, and packet is uploaded to central server, and additional warning label; 2) if having configured timing uploads, directly data packing is uploaded to central server.Central server is saved in uploading data in global monitoring database.
From above-mentioned, this embedded counter of designing program of the present invention, in application process in application server, embed the embedded counter of designed program, application process in application server is obtained monitoring strategies, the technical scheme of the embedded counter of program being monitored according to obtained monitoring strategies, owing to having embedded the embedded counter of program in the application process of operation application service, therefore can realize easily current entry and the operation to large-scale data, and the embedded counter of initiatively designing program, therefore can design the embedded counter of dissimilar program according to actual conditions, better record and the monitoring of supporting business class data.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments of doing within the spirit and principles in the present invention, be equal to replacement, improvement etc., be all included in protection scope of the present invention.

Claims (7)

1. a method for supervising for application server, is characterized in that, the method comprises:
The embedded counter of designing program, embeds the embedded counter of designed program in the application process in application server;
Application process in application server is obtained monitoring strategies, according to obtained monitoring strategies, the embedded counter of program is monitored;
The described embedded counter of designing program comprises: the classification that the embedded counter of designing program comprises that multiple names are unique; Each classification that the embedded counter of generator program comprises, wherein each classification comprises multiple fixing row and the unique example of multiple name;
A classification in the embedded counter of generator program comprises:
Determine such other name, arrange such other output row, such other one group of atomic counters and atomic counters method of operating, such other snapshot data and such other calculate the method for output example according to snapshot data;
Wherein, a classification that realizes online transaction statistics in the embedded counter of generator program comprises:
Determine such other unique name;
Such other output is set to be classified as: access times per second, number of concurrent, average response time, the rate that makes mistake, recent error;
Such other four integer type atomic counters, the first atomic counters, the second atomic counters, the 3rd atomic counters and the 4th atomic counters, and a character string type variable are set;
Wherein, service code adds one by the first atomic counters in the time that affairs start, and starts a timer and start to calculate duration;
Service code takes out the value consuming time of timer in the time that affairs finish, and calculates as follows:
A) successful affairs, add one by the second atomic counters, and the 4th atomic counters is added to described value consuming time;
B) failed affairs, add one by the 3rd atomic counters, the 4th atomic counters is added to described value consuming time, and be failure information by described character string type variable set up;
The data that such other snapshot is set are: the count value of first atomic counters in generating snapshot moment, the count value of the second atomic counters, the count value of the 3rd atomic counters, the count value of the 4th atomic counters, character string type variate-value and system time;
Arrange such other to calculate the method for output example according to snapshot data as follows: calculate the always consuming time of interval time of number of success, the frequency of failure, the affairs number of starts, twice snapshot and affairs according to the data of twice snapshot; Obtain the access time per second according to the ratio of the interval time of the affairs number of starts and twice snapshot; Deduct number of success and the frequency of failure from the affairs number of starts, obtain number of concurrent; According to the total consuming time and number of success and the frequency of failure of affairs and between ratio, obtain average response time; According to the frequency of failure and number of success and the frequency of failure and between ratio, obtain the rate that makes mistake; Using the value of the character string type variable in last snapshot as recent error.
2. method according to claim 1, its feature with, a classification in the embedded counter of generator program also comprises:
Arrange such other output example method of summary.
3. method according to claim 1, is characterized in that, a classification that realizes hit rate calculating in the embedded counter of generator program comprises:
Determine such other unique name;
Such other output is set to be classified as: access times per second, hit rate;
Such other two counters are set, and wherein the first atomic counters adds 1, the second atomic counters and when miss, adds 1 in the time hitting;
The data that such other snapshot is set are: the count value of first atomic counters in generating snapshot moment, the count value of the second atomic counters, system time;
Arrange such other according to snapshot data calculate output example method be: the interval time of calculating total access times, hit-count and twice snapshot according to the data of twice snapshot, then obtain access times per second according to the ratio of the interval time of total access times and twice snapshot, obtain hit rate according to the ratio of hit-count and total access times;
Wherein, described the first atomic counters adds 1, the second atomic counters and when miss, adds 1 and comprise in the time hitting:
Service application in application process finds this according to class name and realizes the classification that hit rate is calculated, and find this according to Instance Name and realize the respective instance of classification that hit rate is calculated, in the time that business is hit, the first atomic counters in respective instance is added to 1, in the time that business is miss, the second atomic counters in respective instance is added to 1.
4. according to the method in any one of claims 1 to 3, it is characterized in that, the method also comprises:
Finger daemon in application server obtains monitoring strategies, according to obtained monitoring strategies, system resource counter is monitored; The index of monitoring comprises: CPU index, indicator memory, disk index, network interface card flow indicator and/or MySQL index.
5. method according to claim 4, is characterized in that,
In an application server, be deployed with a finger daemon and multiple application process;
Finger daemon and application process in application server are obtained monitoring strategies from central server.
6. method according to claim 5, is characterized in that, described finger daemon and application process are obtained monitoring strategies from central server and comprised:
Finger daemon and application process send monitoring strategies to central server and obtain request;
Central server obtains corresponding monitoring strategies from global monitoring database and returns to finger daemon and application process.
7. method according to claim 6, is characterized in that, the method further comprises:
Finger daemon in application server and application process, monitor according to obtained monitoring strategies, and monitored results data are saved in the machine log database, and according to monitoring strategies, corresponding monitored results data are uploaded in global monitoring database by central server, and in the time that exceeding threshold values, the data that get add warning label;
Monitoring server is shown the monitored results data in global monitoring database, and prompting is reported to the police.
CN201110460680.1A 2011-12-31 2011-12-31 Monitoring method of application server Active CN102567185B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110460680.1A CN102567185B (en) 2011-12-31 2011-12-31 Monitoring method of application server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110460680.1A CN102567185B (en) 2011-12-31 2011-12-31 Monitoring method of application server

Publications (2)

Publication Number Publication Date
CN102567185A CN102567185A (en) 2012-07-11
CN102567185B true CN102567185B (en) 2014-11-12

Family

ID=46412653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110460680.1A Active CN102567185B (en) 2011-12-31 2011-12-31 Monitoring method of application server

Country Status (1)

Country Link
CN (1) CN102567185B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104410671B (en) * 2014-11-03 2017-11-10 深圳市蓝凌软件股份有限公司 A kind of snapshot grasping means and data supervising device
CN104683180B (en) * 2015-02-12 2019-05-03 北京蓝海讯通科技有限公司 A kind of method for monitoring performance, system and application server
CN104794039B (en) * 2015-04-23 2018-11-16 努比亚技术有限公司 The remote monitoring method and device of service software
CN107426210A (en) * 2017-07-25 2017-12-01 合肥红铭网络科技有限公司 A kind of real-time traffic detection information storage method
CN107623610A (en) * 2017-09-22 2018-01-23 郑州云海信息技术有限公司 A kind of monitoring method of application apparatus, device and computer-readable storage medium
CN108804035A (en) * 2018-05-22 2018-11-13 深圳忆联信息系统有限公司 Reduce method, apparatus, computer equipment and the storage medium of IO delays
CN109920130B (en) * 2019-03-06 2022-08-12 百度在线网络技术(北京)有限公司 Monitoring method, monitoring device, electronic equipment and computer readable storage medium
CN111459905A (en) * 2020-02-28 2020-07-28 上海维信荟智金融科技有限公司 Method and system for realizing MySQ L database monitoring script
CN114385387B (en) * 2022-03-23 2022-07-19 恒生电子股份有限公司 Access information generation method and device and computer equipment
CN114416106B (en) * 2022-03-31 2022-08-02 云账户技术(天津)有限公司 Method, system, electronic device and storage medium for updating compiling count value

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1662901A (en) * 2002-06-25 2005-08-31 国际商业机器公司 Method and system for monitoring performance of application in a distributed environment
CN101346699A (en) * 2005-12-26 2009-01-14 国际商业机器公司 System, method, and program for logging a transaction process and system building method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1662901A (en) * 2002-06-25 2005-08-31 国际商业机器公司 Method and system for monitoring performance of application in a distributed environment
CN101346699A (en) * 2005-12-26 2009-01-14 国际商业机器公司 System, method, and program for logging a transaction process and system building method

Also Published As

Publication number Publication date
CN102567185A (en) 2012-07-11

Similar Documents

Publication Publication Date Title
CN102567185B (en) Monitoring method of application server
US9262260B2 (en) Information processing apparatus, information processing method, and recording medium
Mayer et al. An approach to extract the architecture of microservice-based software systems
US8667334B2 (en) Problem isolation in a virtual environment
US9612892B2 (en) Creating a correlation rule defining a relationship between event types
CN101088072B (en) A method and system for monitoring transaction based systems
US8850263B1 (en) Streaming and sampling in real-time log analysis
US9069668B2 (en) Diagnosing distributed applications using application logs and request processing paths
US7509343B1 (en) System and method of collecting and reporting system performance metrics
CN102231673B (en) System and method for monitoring business server
US9424157B2 (en) Early detection of failing computers
US20140172371A1 (en) Adaptive fault diagnosis
US8661125B2 (en) System comprising probe runner, monitor, and responder with associated databases for multi-level monitoring of a cloud service
JP2019502191A (en) Service call information processing method and device
CN109977089A (en) Blog management method, device, computer equipment and computer readable storage medium
JP5886712B2 (en) Efficient collection of transaction-specific metrics in a distributed environment
US10177984B2 (en) Isolation of problems in a virtual environment
CN105302697B (en) A kind of running state monitoring method and system of density data model database
CN105589782A (en) User behavior collection method based on browser
US20110218843A1 (en) Non intrusive system and method for monitoring business processes
CN107807872A (en) A kind of power transmission and transformation system method for monitoring operation states
CN110147470B (en) Cross-machine-room data comparison system and method
CN103368771A (en) Collecting method and device for fault site information of multi-node server system
CN109558299A (en) Business monitoring and the method, apparatus of early warning, equipment and storage medium
CN105468502A (en) Log collection method, device 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
CP02 Change in the address of a patent holder

Address after: Room 810, 8 / F, 34 Haidian Street, Haidian District, Beijing 100080

Patentee after: BEIJING D-MEDIA COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 100089 Beijing city Haidian District wanquanzhuang Road No. 28 Wanliu new building 6 storey block A room 602

Patentee before: BEIJING D-MEDIA COMMUNICATION TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder