The method for supervising of distance host[technical field]
The present invention relates to a kind of method for supervising of distance host, relate in particular to a kind of method of distance host being monitored in real time through computer network.
[background technology]
Now, IT system is being played the part of indispensable key player in the evolution of enterprise, when enterprise reaches certain scale; IT system can be very huge; The quantity of server also reaches certain rank thereupon, and the running status of these servers of efficient real time monitoring how reduces and unusual probability occurs; To guarantee the stability of IT system operation, become the important topic that the IT system maintainer faces in the enterprise.The common means of monitoring server are the manual artificially inspections of implementing at present, to understand the running status of these servers, find that server has unusually during as if manual inspection, then with the mode of send Email abnormal conditions are reported to the police to the related personnel.Yet artificial inspection can't be accomplished the real-time monitoring to operation condition of server, has increased the probability that abnormal conditions occur greatly; And type of alarm is more single, only supports Email to report to the police, if relevant responsible person is not by computer; Then can't in time receive alarm mail, thereby postpone the time of server operation exception, in addition; Owing to generally need 5 minutes from occurring to the process that receives the alarm mail prompting unusually; Time-consuming oversize, ageing poor, also influenced the operational efficiency of server.
In view of the above problems, the method for supervising that is necessary a kind of distance host is provided is to address the above problem.
[summary of the invention]
The technical matters that the present invention solved is to provide a kind of method for supervising of distance host, and it has improved the efficient of main frame operation, and can find the abnormal conditions of distance host timely and effectively.
For solving the problems of the technologies described above; The present invention adopts following technical scheme: a kind of method for supervising of distance host; It comprises the steps: at first; One configuration information module is provided, is provided with configuration information in this configuration information module, said configuration information record has distance host to need monitored item purpose alarming threshold value, monitoring frequency, type of alarm; Secondly; One monitoring module is provided; This monitoring module is provided with a watchdog routine and a statistical analysis program, and said watchdog routine reads said configuration information and by configuration information distance host monitored, and by statistical analysis program the monitored results of aforementioned watchdog routine gained is carried out statistical study; At last, an alarm module is provided, when the monitored project that monitors distance host when said watchdog routine meets or exceeds said alarming threshold value, said alarm module will send warning message with the type of alarm in the configuration module.
Further, said alarm module scalable type of alarm and alert frequency.
Compared to prior art, the beneficial effect of the method for supervising of distance host according to the invention is: improved the operational efficiency of distance host, and can find the abnormal conditions of distance host timely and effectively.
[description of drawings]
Fig. 1 is the process flow diagram of the method for supervising of distance host according to the invention.
[embodiment]
Please join shown in Figure 1ly, the present invention provides a kind of method for supervising of distance host, and it is the main frame of Windows, Unix, Linux, AIx and Solaris applicable to system, and said method for supervising comprises the steps:
At first; One configuration information module is provided; Be used for before the monitoring beginning, presetting and monitoring relevant configuration information; This configuration information is mainly used in some parameters that preset before the record monitoring; As: which main frame need monitored, how long monitor once, whether which project of monitored main frame need monitored, CPU to need monitored, CPU usage to reach what frequency and the mode how many times begin to report to the police, report to the police be ... or the like, wherein, some monitored project all is preset with alarming threshold value.
Secondly; One monitoring module is provided; Be provided with a watchdog routine and a statistical analysis program in this monitoring module, said watchdog routine is used for reading the said configuration information of said configuration information module, to confirm the project and the content of required inspection when carrying out monitor check of said watchdog routine; And be connected to distance host through network according to the monitoring project and the monitoring content that preset in the said configuration information; Begin the ruuning situation of distance host is carried out monitor check, simultaneously, the running status trend of distance host is added up by said statistical analysis program; And draw which part needs of distance host according to this statistical study and be reinforced, unusual probability takes place to reduce.
At last, an alarm module is provided, it receives the monitored results control of said watchdog routine.When said watchdog routine in monitoring during distance host; If monitoring in the distance host running status of some monitored project has reached or has surpassed default alarming threshold value in the configuration information; Then said alarm module is reported to the police beginning, and warning message is that the mode through E-mail mode and SMS is sent to the staff.Said alert frequency and type of alarm can be adjusted with the situation difference by artificial setting flexibly, realize the flexible and changeable property of type of alarm.
The method for supervising of distance host of the present invention, it reads configuration information through monitoring module, and automatically the distance host running status is carried out remote monitoring according to configuration information, when monitoring the distance host misoperation, is reported to the police by alarm module.Compare the traditional hand inspection method; Method for supervising of the present invention can be monitored a large amount of distance hosts timely and effectively in real time; And can when the main frame operation exception, in time report to the police, improved the operational efficiency of main frame, but and type of alarm and the equal flexible of alert frequency.
The above only is a most preferred embodiment of the present invention, is not the present invention is done any pro forma restriction.Any those of ordinary skill in the art are not breaking away under the technical scheme scope situation of the present invention, utilize the method content of above-mentioned announcement that technical scheme of the present invention is made many possible changes and modification, all belong to the scope of claims protection.