Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for detecting state of host system

A host system and detection method technology, applied in transmission systems, digital transmission systems, electrical components, etc., can solve the problems of abnormal host system, inability to monitor hysteresis, long inspection period, etc., and achieve the effect of real-time and accurate monitoring

Active Publication Date: 2013-02-13
CHINA MOBILE GROUP ZHEJIANG
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The regular inspection method must have a certain inspection cycle. In addition, considering the load pressure of the monitoring and management server, the more servers are monitored, the longer the inspection cycle will be. Therefore, the inspection cycle must be at the minute level in general systems. of
In this way, it will not be possible to monitor the crash of the host in time
[0007] 2. For the PING active monitoring method, this method only judges whether the host is down by checking whether the network of the target host is disconnected. In actual applications, there may be situations where the network is smooth but the host system is abnormal. In this way, PING is used. The active monitoring method will not be able to judge whether the host system is abnormal
In actual host system monitoring, the judgment of host system non-response is also a very important monitoring item. When the host system does not respond, most upper-level business systems cannot provide external services normally.
[0008] 3. For the agent-based passive monitoring method, an Agent agent program needs to be installed on the monitored host. Although in theory, this method can return the system status to the monitoring and management server, but from the actual application effect , when the network communication function of the host is normal but the system does not respond, most of the system resources are consumed. At this time, the Agent on the target host cannot send information, because the Agent itself needs to consume system resources to provide external services.
Therefore, the agent-based passive monitoring method cannot realize timely monitoring of system unresponsiveness.
[0009] It can be seen that the above-mentioned existing host monitoring methods all have the problems of monitoring hysteresis and the inability to monitor the unresponsive situation of the host system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for detecting state of host system
  • Method and device for detecting state of host system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0025] The core idea of ​​the present invention is to establish a secure shell (SSH) tunnel between the detection device and the host system, and determine whether the host system is down by detecting the status of the SSH tunnel in real time and whether the KeepAlive command can be successfully sent on the SSH tunnel , so that the status of the host system can be monitored timely and accurately.

[0026] figure 1 It is a schematic flow diagram of the method of Embodiment 1 of the present invention, as figure 1 As shown, the method includes the following steps:

[0027] Step 101, the monitoring platform pre-establishes a secure shell SSH tunnel with the target host.

[0028] This step is used to set up the SSH tunnel between the monito...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and a device for detecting the state of a host system. The method comprises the following steps that: (a) a monitoring platform pre-establishes a secure shell (SSH) tunnel between the monitoring platform and a target host; (b) the monitoring platform detects whether the SSH tunnel is disconnected or not; (c) if the SSH tunnel is disconnected, the monitoring platform triggers the re-establishment of the SSH tunnel, repeats the step (c) if a reason for a failure in the re-establishment of the SSH tunnel is the abnormity of an SSH daemon process when the re-establishment of the SSH tunnel is failed, otherwise determines that the target host is halted; and (d) if the SSH tunnel is connected or the re-establishment of the SSH tunnel triggered by the monitoring platform is successful after the SSH is disconnected, the monitoring platform transmits a keep alive command to the target host to judge whether the target host is in a system unresponsive state or not, and re-executes the step (b) after successfully receiving the response information of the keep alive command. The system unresponsive condition can be accurately monitored in real time.

Description

technical field [0001] The invention relates to operating system monitoring technology, in particular to a method and device for detecting the state of a host computer system. Background technique [0002] In normal system monitoring, the monitoring platform of the system monitors the status of the host system, which is the most basic core monitoring index and belongs to a very important part of the monitoring system. How to discover the crash of the host in the first time, and further, how to find the abnormality of the host system in the first time is an important part of system monitoring. At present, the host system monitoring methods mainly used in the industry can be divided into Ping active monitoring method and Agent agent passive monitoring method in terms of monitoring methods. [0003] Specifically, the Ping active monitoring method is mainly: use the standard Internet Control Message Protocol (ICMP) Ping method to periodically send ICMP packets to the target hos...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/26H04L29/06
Inventor 王晓征陈航戴伟胡宏波
Owner CHINA MOBILE GROUP ZHEJIANG