CN104009883A - Computer resource centralized remote real-time monitoring system and method - Google Patents

Computer resource centralized remote real-time monitoring system and method Download PDF

Info

Publication number
CN104009883A
CN104009883A CN201410196713.XA CN201410196713A CN104009883A CN 104009883 A CN104009883 A CN 104009883A CN 201410196713 A CN201410196713 A CN 201410196713A CN 104009883 A CN104009883 A CN 104009883A
Authority
CN
China
Prior art keywords
monitoring
application program
server
background service
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410196713.XA
Other languages
Chinese (zh)
Inventor
张珺
赵里卓
喻宗杰
张启俊
刘焱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201410196713.XA priority Critical patent/CN104009883A/en
Publication of CN104009883A publication Critical patent/CN104009883A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a computer resource centralized remote real-time monitoring system and method, and relates to the field of monitoring of computer resources. The system is of a client side/ server structure and comprises a monitoring client side application program and a monitoring backstage service application program, wherein the monitoring backstage service application program runs on a webmaster server and is used for monitoring system resources, the webmaster service, a disc drive and a webmaster database of the webmaster server according to a monitoring strategy made by a user; the monitoring client side application program runs on a computer serving as a client side and is used for displaying the monitoring result in a graphical mode and providing a graphical monitoring strategy making interface. The computer resource centralized remote real-time monitoring system and method can monitor the running conditions of the webmaster server and the webmaster system backstage service, achieves uniform monitoring and management on the server, and simplifies the daily inspection work of operation and maintenance workers.

Description

The system and method for the centralized remote real-time monitoring of computer resource
Technical field
The present invention relates to the monitoring field of computer resource, specifically relate to the system and method for the centralized remote real-time monitoring of a kind of computer resource.
Background technology
Along with the complexity day by day of communication network, the number of devices that network management system is managed and type all increase day by day, and self also becomes network management system and become increasingly complex.User is when using network management system, need to understand the current or history run situation of NM server, and wish that network management system possesses the management function to self, the management of shielding user to the numerous background services of network management system, improves the operating efficiency that existing network O&M personnel are safeguarded in communication.But existing network management system cannot be monitored the ruuning situation of NM server itself and network management system background service.
Summary of the invention
The object of the invention is in order to overcome the deficiency of above-mentioned background technology, the system and method for the centralized remote real-time monitoring of a kind of computer resource is provided, can monitor the ruuning situation of NM server itself and network management system background service, the soft and hardware environment that maintenance network guard system is good, auxiliary its normally moves; Under environment of multi-server, can realize the unified monitoring of these servers and management, simplify the Daily Round Check work that existing network O&M personnel are safeguarded in communication.
The invention provides the system of the centralized remote real-time monitoring of a kind of computer resource, this system is user terminal/server framework, this system comprises monitor client application program and monitoring background service application program, described monitoring background service application program operates on NM server, be used for according to the monitoring strategies of customization, to the system resource of NM server, network manager service, disc driver, network management data storehouse implementing monitoring; Described monitor client application program operates on a computer as client, for monitored results is graphically shown, and provides patterned monitoring strategies Custom Interface.
On the basis of technique scheme, described monitoring background service application program comprises first communication module, monitoring module, data memory module, system interface module, log pattern, wherein:
Described first communication module, for: realize monitor client application program and monitor communicating by letter of background service application program, realizing synchronization call, asynchronous call, the information reporting of monitor client application program to monitoring background service application program;
Described monitoring module, for: the ruuning situation of monitoring NM server: according to monitoring strategies, the status data of timing scan NM server, background service process, hard disk, database; CPU usage, EMS memory occupation amount, the Disk State of NM server, database positioning when described status data comprises server operation, the status items for surpassing warning value, provides alarm at interface; For the status items that surpasses threshold value, according to monitoring strategies, take countermeasure: restart process, end process, defrag; And by status data and the result of the action, report monitor client application program, by data memory module, deposit in database simultaneously;
Described data memory module, for: for monitoring background service application program provides the interface of data base read-write and data, store, realize and preserve monitored results, comprise the monitored results data of indices and the result that monitoring strategies is implemented;
Described system interface module, be used for: encapsulation operation system interface function, functional entrance is provided, and access NM server system, obtains following system parameters: CPU usage, EMS memory occupation amount, network manager service ruuning situation, Disk State, database service condition;
Described log pattern, for: for recording the supervisory control action of monitoring background service application program to monitoring server: restart or finish background service, deletion inactive file, release disk space.
On the basis of technique scheme, the interface of described monitor client application program is graphic interface, for concentrating connection and managing a plurality of monitoring background service application programs, monitor client application program comprises second communication module, form display module, dynamic graph display module, subscriber policy customized module, statistical module, enquiry module, Reports module, running status that can many NM servers of centralized monitoring, wherein:
Described second communication module, for: communicate with backstage;
Described form display module, for: the status data, alarm prompt, the monitored results information that adopt form display monitoring background service application program to report;
Described dynamic graph display module, for: by graphical interfaces intuitively, adopt the monitored item of dynamic graph display monitoring background service application program, the situation of change of observing institute's monitor data in a period of time for user;
Described subscriber policy customized module, for: customized user monitoring strategies;
Described statistical module, for: in statistics a period of time, the monitoring situation of NM server, meets the needs that user patrols and examines;
Described enquiry module, for: user initiatively initiates to inquire about the state of webmaster background service, and shows Query Result;
Described Reports module, for: the ruuning situation that requires to generate NM server in a period of time according to user.
The present invention also provides a kind of method of the centralized remote real-time monitoring of computer resource based on said system, comprises the following steps:
Monitoring background service application program is manually started, and in service activation process, loads successively also initialization log pattern, static data, data memory module, first communication module; After starting successfully, background service foundation is connected with database, and initialization completes inquiry adapter and the data publish device with client, and starts monitoring function;
When monitoring function starts, first load monitoring strategies, according to strategy, create monitored object; Each monitored object comprises a regularly thread, and regularly the triggered time interval of thread is the trace interval of this monitored item of monitoring strategies definition;
If monitoring thread is triggered, carry out following steps:
Step 101: monitoring thread creates a monitored results packet in internal memory;
Step 102: monitoring thread, by distributing operation system interface function, is obtained institute's monitored item destination data result, and result is inserted to monitored results packet;
Step 103: monitoring thread compares the warning value of monitoring strategies appointment in result data and internal memory if result is less than warning value, extends this as the state of this monitoring normally in monitored results packet, forwards step 106 to; If result is greater than warning value, forward step 104 to;
Step 104: monitoring thread compares corresponding threshold value in result data and internal memory, if result is less than threshold value, inserting state in monitored results packet is alarm, forwards step 106 to; If result is greater than threshold value, forward step 105 to;
Step 105: monitoring thread is defined as the state of result data to exceed threshold value, and read internal memory and obtain the action that now should take: to interface, send alarm prompt, force end process, force to restart process, force release disk space; And wait for and to have operated, the result of operation is write to monitored results packet in the lump, forward step 106 to;
Step 106: monitoring thread calling data bank interface, deposits monitored results in corresponding tables of data; Monitoring thread is obtained the information reporting queue access limit of the background system overall situation, after obtaining authority, monitored results packet is write to reporting message queue;
Above step cycle is carried out, and monitoring background service application program completes monitoring function, and monitored results leaves in reporting message queue.
On the basis of technique scheme, described monitored results is further comprising the steps of after leaving in reporting message queue: monitoring background service application program, by the data in reporting message queue, reports to monitor client:
Step 201: create and initial message distributor;
Step 202: create and initiation message queue monitoring thread and information reporting thread;
Step 203: message queue monitoring thread is started working, this thread first obtains the access limit of reporting message queue, disposablely subsequently from message queue, takes out all reported result packets, deposits memory variable in, then release read write permission;
Step 204: information reporting thread detects memory variable, when in memory variable, the number of packet is greater than 0, one by one by packet by reporting function to send to client;
Above step cycle is carried out, and monitoring background service application program completes packet reporting to monitor client application program.
On the basis of technique scheme, described monitoring background service application program completes packet and comprises and start monitor client application program to reporting of monitor client application program, and its flow process is as follows:
Step 301: after monitor client application program launching, first the monitoring background service application program that connects assigned ip, send connection request, client is by far call query interface, call the interface function of monitoring background service application program, after receiving and returning, determine client and server successful connection, newly-built connecting object; The corresponding connecting object of each server, all connecting objects are set up take and are monitored the concordance list that background service application program IP address is major key in client internal memory, manage;
Step 302: monitor client application program connects after the success of monitoring background service application program, open the graphic monitoring page, a corresponding monitoring content of the page, monitoring content comprises: server resource monitoring, process monitoring, disc driver monitoring, database monitoring;
Step 303: the packet that the second communication module reception server of monitor client application program reports, packet is resolved, first analyze the IP address of the server that sends packet, then analyze packet content, data are sent to the corresponding monitoring page;
Step 304: the monitoring page is received monitor data, analyzes as follows:, show corresponding Warning Icon, and eject dialog box for warning monitoring project for monitored results, reminding user is paid close attention to, and takes appropriate measures; For monitored results, for surpassing the monitoring project of thresholding, is processing on reminding user backstage, and Graphics Processing result.
On the basis of technique scheme, further comprising the steps of after step 304:
Step 401: on NM server, complete the customization of monitoring strategies static file; After completing the customization of monitoring strategies, start the monitoring background service application program on server, monitoring is carried out according to monitoring strategies;
Step 402: monitoring background service application program implementing monitoring function: during monitoring background service application program launching, first load monitoring configuration file, then create monitored object, initialization internal memory according to deploy content; Each monitored object has the timing thread of oneself, according to trace interval, carries out work;
Step 403: start monitor client application program, monitor client application program comprises a plurality of monitoring subwindows and an overall monitoring background service application program connecting object Manage Containers, carries out the connection management of distribution and the interface inquiry of server reporting message.
On the basis of technique scheme, the static file of monitoring strategies described in step 401 comprises following key element: be set, monitoring background service application program is carried out policer operation according to interval the server monitoring time interval; The standard of server monitoring is set: the real-time CPU usage of the utilization rate of server CPU usage, memory usage, disc driver, the utilization rate of system disk, background service process, real-time occupancy, real-time handle count; Each Standard of Monitoring defines a warning value and a threshold value, defines monitored item simultaneously and reaches the operation that warning value and threshold value are taked.
Compared with prior art, advantage of the present invention is as follows:
The present invention can monitor the ruuning situation of NM server itself and network management system background service, the soft and hardware environment that maintenance network guard system is good, and auxiliary its normally moves; Under environment of multi-server, can realize the unified monitoring of these servers and management, simplify O&M personnel's Daily Round Check work.
Accompanying drawing explanation
Fig. 1 is the software architecture figure of the system of embodiment of the present invention Computer resource set Chinese style remote real-time monitoring.
Fig. 2 is the software architecture figure that monitors background service application program in the embodiment of the present invention.
Fig. 3 is the software architecture figure of monitor client application program in the embodiment of the present invention.
Fig. 4 is the flow chart of monitoring background service application program launching in the embodiment of the present invention.
Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention is described in further detail.
The embodiment of the present invention provides the system of the centralized remote real-time monitoring of a kind of computer resource, be applicable to the multiple computer operating systems such as windows, linux, shown in Figure 1, this system is user terminal/server framework, this system comprises monitor client application program and monitoring background service application program, monitoring background service application program operates on NM server, be used for according to the monitoring strategies of customization, to implementing monitorings such as the system resource of NM server, network manager service, disc driver, network management data storehouses; Monitor client application program operates on a computer as client, for monitored results is graphically shown, and provides patterned monitoring strategies Custom Interface.
Monitoring background service application program comprises first communication module, monitoring module, data memory module, system interface module, log pattern, wherein:
First communication module, for: realize monitor client application program and monitor communicating by letter of background service application program, realizing monitor client application program to the synchronization call of monitoring background service application program, asynchronous call, information reporting etc.;
Monitoring module, for: the ruuning situation of monitoring NM server: according to monitoring strategies, the status data of timing scan NM server, background service process, hard disk, database; The Disk State of CPU usage when these status datas specifically comprise server operation, EMS memory occupation amount, NM server, database positioning etc., the status items for surpassing warning value, provides alarm at interface; For the status items that surpasses threshold value, according to monitoring strategies, take countermeasure, these measures comprise: restart process, end process, defrag etc.; And by status data and the result of the action, report monitor client application program, by data memory module, deposit in database simultaneously;
Data memory module, for: for monitoring background service application program provides the interface of data base read-write and data, store, realize and preserve monitored results, comprise the monitored results data of indices and the result that monitoring strategies is implemented;
System interface module, be used for: encapsulation operation system interface function, provides functional entrance, access NM server system, obtain system parameters, as basic datas such as CPU usage, EMS memory occupation amount, network manager service ruuning situation, Disk State, database service conditions;
Log pattern, for: for recording the supervisory control action of monitoring background service application program to monitoring server, as restart or finish background service, deleting inactive file, release disk space, etc.;
The interface of monitor client application program is graphic interface, for concentrating connection and managing a plurality of monitoring background service application programs, monitor client application program comprises second communication module, form display module, dynamic graph display module, subscriber policy customized module, statistical module, enquiry module, Reports module, running status that can many NM servers of centralized monitoring, wherein:
Second communication module, for: communicate with backstage;
Form display module, for: the status data, alarm prompt, the monitored results information that adopt form display monitoring background service application program to report;
Dynamic graph display module, for: by graphical interfaces intuitively, adopt the monitored item of dynamic graph display monitoring background service application program, the situation of change of observing institute's monitor data in a period of time for user;
Subscriber policy customized module, for: customized user monitoring strategies;
Statistical module, for: in statistics a period of time, the monitoring situation of NM server, meets the needs that user patrols and examines;
Enquiry module, for: user initiatively initiates to inquire about the state of webmaster background service, and shows Query Result;
Reports module, for: the ruuning situation that requires to generate NM server in a period of time according to user.
The embodiment of the present invention also provides a kind of method of the centralized remote real-time monitoring of computer resource based on said system, comprises the following steps:
Monitoring background service application program is manually started, in service activation process, load successively also initialization log pattern, static data (initial data that this need to load when just service starts is not module), data memory module, first communication module; After starting successfully, background service foundation is connected with database, and initialization completes inquiry adapter and the data publish device with client, and starts monitoring function;
When monitoring function starts, first load monitoring strategies, according to strategy, create monitored object; Each monitored object has comprised a regularly thread, and regularly the triggered time interval of thread is the trace interval of this monitored item of monitoring strategies definition.
Shown in Figure 2, the enforcement of monitoring background service application program is divided into three levels, and the bottom is system interface layer, comprises data memory module, log pattern, three parts of system interface module; Intermediate layer is monitoring module, comprises background service monitoring, disk state monitoring, server monitoring, database monitoring etc., and every kind of application is all according to monitoring strategies implementing monitoring function separately; The superiors are communication layers, are responsible for and the communicating by letter of client, and comprise and report management, searching and managing etc.
If monitoring thread is triggered, carry out following steps:
Step 101: monitoring thread creates a monitored results packet in internal memory;
Step 102: monitoring thread, by distributing operation system interface function, is obtained institute's monitored item destination data result, and result is inserted to monitored results packet;
Step 103: monitoring thread compares the warning value of monitoring strategies appointment in result data and internal memory if result is less than warning value, extends this as the state of this monitoring normally in monitored results packet, forwards step 106 to; If result is greater than warning value, forward step 104 to;
Step 104: monitoring thread compares corresponding threshold value in result data and internal memory, if result is less than threshold value, inserting state in monitored results packet is alarm, forwards step 106 to; If result is greater than threshold value, forward step 105 to;
Step 105: monitoring thread is defined as the state of result data to exceed threshold value, and read internal memory and obtain the action that now should take, these actions comprise: to interface, send alarm prompt, force end process, force to restart process, force release disk space etc.; And wait for and to have operated, the result of operation is write to monitored results packet in the lump, forward step 106 to;
Step 106: monitoring thread calling data bank interface, deposit monitored results in corresponding tables of data, forward step 107 to;
Step 107: monitoring thread is obtained the information reporting queue access limit of the background system overall situation, after obtaining authority, monitored results packet is write to reporting message queue.
106 and 107 steps are carried out simultaneously, and precedence can;
Above step cycle is carried out, and monitoring background service application program completes monitoring function, and monitored results leaves in reporting message queue.
Monitored results is further comprising the steps of after leaving in reporting message queue: monitoring background service application program, by the data in reporting message queue, reports to monitor client:
Step 201: create and initial message distributor;
Step 202: create and initiation message queue monitoring thread and information reporting thread;
Step 203: message queue monitoring thread is started working, this thread first obtains the access limit of reporting message queue, disposablely subsequently from message queue, takes out all reported result packets, deposits memory variable in, then release read write permission;
Step 204: information reporting thread detects memory variable, when in memory variable, the number of packet is greater than 0, one by one by packet by reporting function to send to client;
Above step cycle is carried out, and monitoring background service application program completes packet reporting to monitor client application program.
Shown in Figure 3, the enforcement of monitor client application program is divided into two levels, and bottom is communication interface layer, is responsible for and the communicating by letter of server, and comprises and reports management, searching and managing, connecting object management etc.; Upper strata is graphic interface layer, and the application function of graphic interface layer comprises graphical display monitoring result, graphical monitoring strategies Custom Interface, graphical early warning etc.
Monitoring background service application program completes packet and comprises and start monitor client application program to reporting of monitor client application program, and the flow process that starts monitor client application program is as follows:
Step 301: after monitor client application program launching, first the monitoring background service application program that connects assigned ip, send connection request, client is by far call query interface, call certain interface function of monitoring background service application program, after receiving and returning, determine client and server successful connection, newly-built connecting object; A client can connect a plurality of servers, so each server can a corresponding connecting object, all connecting objects can be set up take and monitor the concordance list that background service application program IP address is major key in client internal memory, manage;
Step 302: monitor client application program connects after the success of monitoring background service application program, open the graphic monitoring page, a corresponding monitoring content of the page, these monitoring contents comprise: server resource monitoring, process monitoring, disc driver monitoring, database monitoring etc.;
Step 303: the packet that the second communication module reception server of monitor client application program reports, packet is resolved, first analyze the IP address of the server that sends packet, then analyze packet content, data are sent to the corresponding monitoring page;
Step 304: the monitoring page is received monitor data, analyzes as follows:, show corresponding Warning Icon, and eject dialog box for warning monitoring project for monitored results, reminding user is paid close attention to, and takes appropriate measures; For monitored results, for surpassing the monitoring project of thresholding, is processing on reminding user backstage, and Graphics Processing result.
The functional entrance that monitor client application program provides monitoring strategies to arrange, with the mode display monitoring strategy of dialog box, and provide strategy modification function, when having issued, monitor client application program revises after the order of monitoring strategies, the second communication module invoke synchronous remote process interface of monitor client application program, monitoring background service application program is received after response, first the monitoring strategies variable in internal memory is changed, then according to new monitoring strategies, restart monitoring function, after restarting successfully, monitoring strategies variable in internal memory is saved to monitoring background service application program end with the form of xml static file, cover old monitoring monitoring strategies static file, in this process, the read-write of monitoring file is all controlled by access limit.
Monitor client application program also provides figure statistical function, comprising: first, and with the variation of dynamic real-time curve display monitoring content, the displaying variation tendency of image; Second portion, provides inquiry and report capability, supports the inquiry to server database, the running status of periodic analysis and statistics NM server.
Further comprising the steps of after step 304:
Step 401: on NM server, complete the customization of monitoring strategies static file.Monitoring strategies static file comprises following key element: the server monitoring time interval is set, and monitoring background service application program is carried out policer operation according to interval; The standard of server monitoring is set, standard comprises many, the conventional utilization rate that has server CPU usage, memory usage, disc driver, the utilization rate of system disk, the real-time CPU usage of background service process, real-time occupancy, real-time handle count etc.; Each Standard of Monitoring defines a warning value and a threshold value, defines monitored item simultaneously and reaches the operation that warning value and threshold value are taked.After completing the customization of monitoring strategies, start the monitoring background service application program on server, monitoring is carried out according to monitoring strategies.
Step 402: monitoring background service application program implementing monitoring function: shown in Figure 4, during monitoring background service application program launching, first load monitoring configuration file, then according to deploy content, create monitored object, initialization internal memory; Each monitored object has the timing thread of oneself, according to trace interval, carries out work.
Step 403: start monitor client application program, monitor client application program has comprised a plurality of monitoring subwindows, and an overall monitoring background service application program connecting object Manage Containers, the connection management that carries out distribution and the interface inquiry of server reporting message.
Those skilled in the art can carry out various modifications and variations to the embodiment of the present invention, if these revise and modification within the scope of the claims in the present invention and equivalent technologies thereof, these modifications and modification are also within protection scope of the present invention.
The prior art that the content of not describing in detail in specification is known to the skilled person.

Claims (8)

1. the system of the centralized remote real-time monitoring of computer resource, this system is user terminal/server framework, it is characterized in that: this system comprises monitor client application program and monitoring background service application program, described monitoring background service application program operates on NM server, be used for according to the monitoring strategies of customization, to the system resource of NM server, network manager service, disc driver, network management data storehouse implementing monitoring; Described monitor client application program operates on a computer as client, for monitored results is graphically shown, and provides patterned monitoring strategies Custom Interface.
2. the system of the centralized remote real-time monitoring of computer resource as claimed in claim 1, it is characterized in that: described monitoring background service application program comprises first communication module, monitoring module, data memory module, system interface module, log pattern, wherein:
Described first communication module, for: realize monitor client application program and monitor communicating by letter of background service application program, realizing synchronization call, asynchronous call, the information reporting of monitor client application program to monitoring background service application program;
Described monitoring module, for: the ruuning situation of monitoring NM server: according to monitoring strategies, the status data of timing scan NM server, background service process, hard disk, database; CPU usage, EMS memory occupation amount, the Disk State of NM server, database positioning when described status data comprises server operation, the status items for surpassing warning value, provides alarm at interface; For the status items that surpasses threshold value, according to monitoring strategies, take countermeasure: restart process, end process, defrag; And by status data and the result of the action, report monitor client application program, by data memory module, deposit in database simultaneously;
Described data memory module, for: for monitoring background service application program provides the interface of data base read-write and data, store, realize and preserve monitored results, comprise the monitored results data of indices and the result that monitoring strategies is implemented;
Described system interface module, be used for: encapsulation operation system interface function, functional entrance is provided, and access NM server system, obtains following system parameters: CPU usage, EMS memory occupation amount, network manager service ruuning situation, Disk State, database service condition;
Described log pattern, for: for recording the supervisory control action of monitoring background service application program to monitoring server: restart or finish background service, deletion inactive file, release disk space.
3. the system of the centralized remote real-time monitoring of computer resource as claimed in claim 2, it is characterized in that: the interface of described monitor client application program is graphic interface, for concentrating connection and managing a plurality of monitoring background service application programs, monitor client application program comprises second communication module, form display module, dynamic graph display module, subscriber policy customized module, statistical module, enquiry module, Reports module, running status that can many NM servers of centralized monitoring, wherein:
Described second communication module, for: communicate with backstage;
Described form display module, for: the status data, alarm prompt, the monitored results information that adopt form display monitoring background service application program to report;
Described dynamic graph display module, for: by graphical interfaces intuitively, adopt the monitored item of dynamic graph display monitoring background service application program, the situation of change of observing institute's monitor data in a period of time for user;
Described subscriber policy customized module, for: customized user monitoring strategies;
Described statistical module, for: in statistics a period of time, the monitoring situation of NM server, meets the needs that user patrols and examines;
Described enquiry module, for: user initiatively initiates to inquire about the state of webmaster background service, and shows Query Result;
Described Reports module, for: the ruuning situation that requires to generate NM server in a period of time according to user.
4. a method for the centralized remote real-time monitoring of computer resource based on system described in claim 3, is characterized in that, comprises the following steps:
Monitoring background service application program is manually started, and in service activation process, loads successively also initialization log pattern, static data, data memory module, first communication module; After starting successfully, background service foundation is connected with database, and initialization completes inquiry adapter and the data publish device with client, and starts monitoring function;
When monitoring function starts, first load monitoring strategies, according to strategy, create monitored object; Each monitored object comprises a regularly thread, and regularly the triggered time interval of thread is the trace interval of this monitored item of monitoring strategies definition;
If monitoring thread is triggered, carry out following steps:
Step 101: monitoring thread creates a monitored results packet in internal memory;
Step 102: monitoring thread, by distributing operation system interface function, is obtained institute's monitored item destination data result, and result is inserted to monitored results packet;
Step 103: monitoring thread compares the warning value of monitoring strategies appointment in result data and internal memory if result is less than warning value, extends this as the state of this monitoring normally in monitored results packet, forwards step 106 to; If result is greater than warning value, forward step 104 to;
Step 104: monitoring thread compares corresponding threshold value in result data and internal memory, if result is less than threshold value, inserting state in monitored results packet is alarm, forwards step 106 to; If result is greater than threshold value, forward step 105 to;
Step 105: monitoring thread is defined as the state of result data to exceed threshold value, and read internal memory and obtain the action that now should take: to interface, send alarm prompt, force end process, force to restart process, force release disk space; And wait for and to have operated, the result of operation is write to monitored results packet in the lump, forward step 106 to;
Step 106: monitoring thread calling data bank interface, deposits monitored results in corresponding tables of data; Monitoring thread is obtained the information reporting queue access limit of the background system overall situation, after obtaining authority, monitored results packet is write to reporting message queue;
Above step cycle is carried out, and monitoring background service application program completes monitoring function, and monitored results leaves in reporting message queue.
5. the method for the centralized remote real-time monitoring of computer resource as claimed in claim 4, it is characterized in that: described monitored results is further comprising the steps of after leaving in reporting message queue: monitoring background service application program, by the data in reporting message queue, reports to monitor client:
Step 201: create and initial message distributor;
Step 202: create and initiation message queue monitoring thread and information reporting thread;
Step 203: message queue monitoring thread is started working, this thread first obtains the access limit of reporting message queue, disposablely subsequently from message queue, takes out all reported result packets, deposits memory variable in, then release read write permission;
Step 204: information reporting thread detects memory variable, when in memory variable, the number of packet is greater than 0, one by one by packet by reporting function to send to client;
Above step cycle is carried out, and monitoring background service application program completes packet reporting to monitor client application program.
6. the method for the centralized remote real-time monitoring of computer resource as claimed in claim 5, it is characterized in that: described monitoring background service application program completes packet and comprises and start monitor client application program to reporting of monitor client application program, and its flow process is as follows:
Step 301: after monitor client application program launching, first the monitoring background service application program that connects assigned ip, send connection request, client is by far call query interface, call the interface function of monitoring background service application program, after receiving and returning, determine client and server successful connection, newly-built connecting object; The corresponding connecting object of each server, all connecting objects are set up take and are monitored the concordance list that background service application program IP address is major key in client internal memory, manage;
Step 302: monitor client application program connects after the success of monitoring background service application program, open the graphic monitoring page, a corresponding monitoring content of the page, monitoring content comprises: server resource monitoring, process monitoring, disc driver monitoring, database monitoring;
Step 303: the packet that the second communication module reception server of monitor client application program reports, packet is resolved, first analyze the IP address of the server that sends packet, then analyze packet content, data are sent to the corresponding monitoring page;
Step 304: the monitoring page is received monitor data, analyzes as follows:, show corresponding Warning Icon, and eject dialog box for warning monitoring project for monitored results, reminding user is paid close attention to, and takes appropriate measures; For monitored results, for surpassing the monitoring project of thresholding, is processing on reminding user backstage, and Graphics Processing result.
7. the method for the centralized remote real-time monitoring of computer resource as claimed in claim 6, is characterized in that: further comprising the steps of after step 304:
Step 401: on NM server, complete the customization of monitoring strategies static file; After completing the customization of monitoring strategies, start the monitoring background service application program on server, monitoring is carried out according to monitoring strategies;
Step 402: monitoring background service application program implementing monitoring function: during monitoring background service application program launching, first load monitoring configuration file, then create monitored object, initialization internal memory according to deploy content; Each monitored object has the timing thread of oneself, according to trace interval, carries out work;
Step 403: start monitor client application program, monitor client application program comprises a plurality of monitoring subwindows and an overall monitoring background service application program connecting object Manage Containers, carries out the connection management of distribution and the interface inquiry of server reporting message.
8. the method for the centralized remote real-time monitoring of computer resource as claimed in claim 7, is characterized in that: the static file of monitoring strategies described in step 401 comprises following key element: be set, monitoring background service application program is carried out policer operation according to interval the server monitoring time interval; The standard of server monitoring is set: the real-time CPU usage of the utilization rate of server CPU usage, memory usage, disc driver, the utilization rate of system disk, background service process, real-time occupancy, real-time handle count; Each Standard of Monitoring defines a warning value and a threshold value, defines monitored item simultaneously and reaches the operation that warning value and threshold value are taked.
CN201410196713.XA 2014-05-09 2014-05-09 Computer resource centralized remote real-time monitoring system and method Pending CN104009883A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410196713.XA CN104009883A (en) 2014-05-09 2014-05-09 Computer resource centralized remote real-time monitoring system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410196713.XA CN104009883A (en) 2014-05-09 2014-05-09 Computer resource centralized remote real-time monitoring system and method

Publications (1)

Publication Number Publication Date
CN104009883A true CN104009883A (en) 2014-08-27

Family

ID=51370379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410196713.XA Pending CN104009883A (en) 2014-05-09 2014-05-09 Computer resource centralized remote real-time monitoring system and method

Country Status (1)

Country Link
CN (1) CN104009883A (en)

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099812A (en) * 2015-06-12 2015-11-25 深圳市美贝壳科技有限公司 Communication service monitoring method and system based on Android system
CN105095045A (en) * 2015-06-12 2015-11-25 深圳市美贝壳科技有限公司 Method and system for monitoring background service of Android system
CN105677531A (en) * 2014-11-19 2016-06-15 中广核工程有限公司 Monitoring method and system for terminal hardware in nuclear power station
CN105871581A (en) * 2015-11-13 2016-08-17 乐视云计算有限公司 Method and device for processing of alarm information in cloud calculation
CN106354620A (en) * 2016-08-31 2017-01-25 中国银行股份有限公司 Resource monitoring method and system thereof
CN107291595A (en) * 2017-07-06 2017-10-24 成都睿胜科技有限公司 Distribution application system method for managing and monitoring
CN107341249A (en) * 2017-07-07 2017-11-10 北京奇艺世纪科技有限公司 The storage of server info and extracting method and system, extraction element
CN107491371A (en) * 2016-06-13 2017-12-19 阿里巴巴集团控股有限公司 A kind of method and device for monitoring deployment
CN107508722A (en) * 2017-08-01 2017-12-22 北京德塔精要信息技术有限公司 A kind of business monitoring method and device
CN108566314A (en) * 2018-03-06 2018-09-21 平安科技(深圳)有限公司 The acquisition methods and storage medium of status information under electronic device, cluster environment
CN109271294A (en) * 2018-09-18 2019-01-25 安徽华博胜讯信息科技股份有限公司 It is one-stop using monitoring early-warning system based on Public Culture Service
CN109495331A (en) * 2017-09-11 2019-03-19 大唐移动通信设备有限公司 The system monitoring method and device of network management system
CN109800136A (en) * 2018-12-06 2019-05-24 珠海西山居移动游戏科技有限公司 A kind of long-range redis performance data method of sampling and its system
CN109901969A (en) * 2019-02-01 2019-06-18 广东安可云科技有限公司 A kind of design method and device of Centralized Monitoring management platform
CN110365762A (en) * 2019-07-10 2019-10-22 腾讯科技(深圳)有限公司 Service processing method, device, equipment and storage medium
CN110399274A (en) * 2019-07-03 2019-11-01 北京智齿博创科技有限公司 The unified monitoring system of Prometheus monitoring strategies
CN110515799A (en) * 2019-08-15 2019-11-29 浙江万朋教育科技股份有限公司 MySQL monitoring system and implementation method based on python language
CN110874299A (en) * 2018-08-29 2020-03-10 北京京东尚科信息技术有限公司 Storage monitoring method and device
CN111007937A (en) * 2019-11-30 2020-04-14 浪潮电子信息产业股份有限公司 Server power consumption control method and device and related components
CN111078495A (en) * 2019-11-29 2020-04-28 航天精一(广东)信息科技有限公司 Method for monitoring state of Carte server
CN111538487A (en) * 2020-04-17 2020-08-14 中国空气动力研究与发展中心计算空气动力研究所 Distributed parallel grid generation software framework
CN111679958A (en) * 2020-06-11 2020-09-18 上海安畅网络科技股份有限公司 Server monitoring system
CN112261119A (en) * 2020-10-19 2021-01-22 四川长虹电器股份有限公司 Automatic report system
CN112380101A (en) * 2020-12-02 2021-02-19 广州数园网络有限公司 Instrument and equipment monitoring system and method based on process monitoring and data gateway
CN112559075A (en) * 2020-12-18 2021-03-26 核工业西南物理研究院 IOC remote control system
WO2021159359A1 (en) * 2020-02-12 2021-08-19 深圳元戎启行科技有限公司 Data collection method and device for operating system of unmanned vehicle
CN114513334A (en) * 2022-01-13 2022-05-17 青岛海尔工业智能研究院有限公司 Risk management method and risk management device
CN115002003A (en) * 2022-07-28 2022-09-02 东方电气风电股份有限公司 System and method for monitoring running state of central monitoring system of wind power plant
CN115037652A (en) * 2022-05-17 2022-09-09 上海金仕达软件科技有限公司 Operation monitoring system for background module of sleeve protection system
CN116225925A (en) * 2023-02-21 2023-06-06 东南大学 Online real-time visual debugging method for computer software

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040088403A1 (en) * 2002-11-01 2004-05-06 Vikas Aggarwal System configuration for use with a fault and performance monitoring system using distributed data gathering and storage
CN101753357A (en) * 2008-12-18 2010-06-23 方大集团股份有限公司 Network server centralized monitoring system and method
CN101854270A (en) * 2010-04-23 2010-10-06 山东中创软件工程股份有限公司 Multisystem running state monitoring method and system
CN102045197A (en) * 2010-12-14 2011-05-04 中兴通讯股份有限公司 Alarm data synchronization method and network management system
CN102591765A (en) * 2011-12-31 2012-07-18 珠海市君天电子科技有限公司 Progress automatic management system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040088403A1 (en) * 2002-11-01 2004-05-06 Vikas Aggarwal System configuration for use with a fault and performance monitoring system using distributed data gathering and storage
CN101753357A (en) * 2008-12-18 2010-06-23 方大集团股份有限公司 Network server centralized monitoring system and method
CN101854270A (en) * 2010-04-23 2010-10-06 山东中创软件工程股份有限公司 Multisystem running state monitoring method and system
CN102045197A (en) * 2010-12-14 2011-05-04 中兴通讯股份有限公司 Alarm data synchronization method and network management system
CN102591765A (en) * 2011-12-31 2012-07-18 珠海市君天电子科技有限公司 Progress automatic management system

Cited By (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677531A (en) * 2014-11-19 2016-06-15 中广核工程有限公司 Monitoring method and system for terminal hardware in nuclear power station
CN105095045A (en) * 2015-06-12 2015-11-25 深圳市美贝壳科技有限公司 Method and system for monitoring background service of Android system
CN105099812A (en) * 2015-06-12 2015-11-25 深圳市美贝壳科技有限公司 Communication service monitoring method and system based on Android system
CN105871581A (en) * 2015-11-13 2016-08-17 乐视云计算有限公司 Method and device for processing of alarm information in cloud calculation
CN107491371B (en) * 2016-06-13 2021-03-16 阿里巴巴集团控股有限公司 Deployment monitoring method and device
CN107491371A (en) * 2016-06-13 2017-12-19 阿里巴巴集团控股有限公司 A kind of method and device for monitoring deployment
CN106354620A (en) * 2016-08-31 2017-01-25 中国银行股份有限公司 Resource monitoring method and system thereof
CN106354620B (en) * 2016-08-31 2019-12-10 中国银行股份有限公司 Resource monitoring method and system
CN107291595A (en) * 2017-07-06 2017-10-24 成都睿胜科技有限公司 Distribution application system method for managing and monitoring
CN107341249A (en) * 2017-07-07 2017-11-10 北京奇艺世纪科技有限公司 The storage of server info and extracting method and system, extraction element
CN107508722A (en) * 2017-08-01 2017-12-22 北京德塔精要信息技术有限公司 A kind of business monitoring method and device
CN109495331A (en) * 2017-09-11 2019-03-19 大唐移动通信设备有限公司 The system monitoring method and device of network management system
CN109495331B (en) * 2017-09-11 2020-09-11 大唐移动通信设备有限公司 System monitoring method and device of network management system
CN108566314A (en) * 2018-03-06 2018-09-21 平安科技(深圳)有限公司 The acquisition methods and storage medium of status information under electronic device, cluster environment
CN110874299A (en) * 2018-08-29 2020-03-10 北京京东尚科信息技术有限公司 Storage monitoring method and device
CN109271294A (en) * 2018-09-18 2019-01-25 安徽华博胜讯信息科技股份有限公司 It is one-stop using monitoring early-warning system based on Public Culture Service
CN109800136A (en) * 2018-12-06 2019-05-24 珠海西山居移动游戏科技有限公司 A kind of long-range redis performance data method of sampling and its system
CN109901969A (en) * 2019-02-01 2019-06-18 广东安可云科技有限公司 A kind of design method and device of Centralized Monitoring management platform
CN109901969B (en) * 2019-02-01 2022-10-14 广东安可云科技有限公司 Design method and device of centralized monitoring management platform
CN110399274A (en) * 2019-07-03 2019-11-01 北京智齿博创科技有限公司 The unified monitoring system of Prometheus monitoring strategies
CN110365762A (en) * 2019-07-10 2019-10-22 腾讯科技(深圳)有限公司 Service processing method, device, equipment and storage medium
CN110365762B (en) * 2019-07-10 2022-03-11 腾讯科技(深圳)有限公司 Service processing method, device, equipment and storage medium
CN110515799A (en) * 2019-08-15 2019-11-29 浙江万朋教育科技股份有限公司 MySQL monitoring system and implementation method based on python language
CN110515799B (en) * 2019-08-15 2021-06-08 浙江万朋教育科技股份有限公司 MySQL monitoring system based on python language and implementation method
CN111078495A (en) * 2019-11-29 2020-04-28 航天精一(广东)信息科技有限公司 Method for monitoring state of Carte server
CN111007937A (en) * 2019-11-30 2020-04-14 浪潮电子信息产业股份有限公司 Server power consumption control method and device and related components
WO2021159359A1 (en) * 2020-02-12 2021-08-19 深圳元戎启行科技有限公司 Data collection method and device for operating system of unmanned vehicle
CN111538487A (en) * 2020-04-17 2020-08-14 中国空气动力研究与发展中心计算空气动力研究所 Distributed parallel grid generation software framework
CN111538487B (en) * 2020-04-17 2022-06-14 中国空气动力研究与发展中心计算空气动力研究所 Distributed parallel grid generation software framework
CN111679958A (en) * 2020-06-11 2020-09-18 上海安畅网络科技股份有限公司 Server monitoring system
CN112261119A (en) * 2020-10-19 2021-01-22 四川长虹电器股份有限公司 Automatic report system
CN112380101A (en) * 2020-12-02 2021-02-19 广州数园网络有限公司 Instrument and equipment monitoring system and method based on process monitoring and data gateway
CN112559075A (en) * 2020-12-18 2021-03-26 核工业西南物理研究院 IOC remote control system
CN114513334A (en) * 2022-01-13 2022-05-17 青岛海尔工业智能研究院有限公司 Risk management method and risk management device
CN114513334B (en) * 2022-01-13 2023-11-28 卡奥斯工业智能研究院(青岛)有限公司 Risk management method and risk management device
CN115037652A (en) * 2022-05-17 2022-09-09 上海金仕达软件科技有限公司 Operation monitoring system for background module of sleeve protection system
CN115002003A (en) * 2022-07-28 2022-09-02 东方电气风电股份有限公司 System and method for monitoring running state of central monitoring system of wind power plant
CN116225925A (en) * 2023-02-21 2023-06-06 东南大学 Online real-time visual debugging method for computer software
CN116225925B (en) * 2023-02-21 2023-11-21 东南大学 Online real-time visual debugging method for computer software

Similar Documents

Publication Publication Date Title
CN104009883A (en) Computer resource centralized remote real-time monitoring system and method
CN104639374B (en) A kind of application deployment management system
CN111190730B (en) Heterogeneous cloud management platform
US9077627B2 (en) Reducing impact of resource downtime
US8625757B1 (en) Monitoring services and service consumers
CN101645022B (en) Work scheduling management system and method for a plurality of colonies
WO2023142054A1 (en) Container microservice-oriented performance monitoring and alarm method and alarm system
EP3255833B1 (en) Alarm information processing method, relevant device and system
US10904187B2 (en) Systems and methods for temporarily postponing messages
CN111190794A (en) Operation and maintenance monitoring and management system
CN109885624A (en) Data processing method, device, computer equipment and storage medium
CN105556499A (en) Intelligent auto-scaling
US20210067594A1 (en) Computing resource management system
CN109936621A (en) Multi-page information push method, device, equipment and the storage medium of information security
CN109379425A (en) Distributed cluster deployment management method and device
CN109672709A (en) A kind of mixed cloud service scheduling system and method
US10346221B2 (en) Determining life-cycle of task flow performance for telecommunication service order
CN104216763A (en) Method and system for solving incidents occurring in managed infrastructure
CN103595566A (en) Method and device for detecting idle IP addresses
CN102571413B (en) Method for resource management under cluster environment
CN111400720A (en) Terminal information processing method, system and device and readable storage medium
CN103986611A (en) Autonomic computing-based storage management initiative specification (SMI-S) unified storage management model
CN110968479A (en) Business-level full-link monitoring method for application program and server
CN104901998B (en) integrated cloud service monitoring method
CN103442212A (en) Network security and protection comprehensive early warning type management system platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140827