CPC H04L 43/0811 (2013.01) [H04L 43/065 (2013.01)] | 17 Claims |
1. A method of checking connection states of source nodes in monitored computers used in a monitor host computer;
the monitor host computer comprises a storage medium with programs and a processor; the processor executes the programs in the storage medium to implement the following steps:
collecting information of a respective source node of each monitored computer and generating a checking list;
the checking list comprises the respective source node of each monitored computer, a plurality of network interfaces of the respective source node, and a plurality of target nodes; each network interface corresponds to a plurality of target nodes;
selecting the respective source node as to-be-checked source node;
transmitting an instruction to detect network to said to-be-checked source node, and controlling said to-be-checked source node to confirm corresponding target nodes;
detecting connection states between said to-be-checked source node and the corresponding target nodes and obtaining a result of detection; and
receiving the result of detection of the respective source node and confirming a reason for a failure based on the result of detection and the checking list,
wherein the step of collecting information of the respective source node of each monitored computer comprises:
collecting a respective internet protocol (IP) address of each monitored computer corresponding to the respective source node;
collecting the information of the respective source node based on the respective IP address; the information of the respective source node comprises the plurality of network interfaces of the respective source node and IP address of a corresponding target node connected with each network interface; and
generating the checking list based on the information of the respective source node;
wherein the monitor host computer generates a collect instruction to the respective source node through a Secure Shell (SSH) protocol for collecting self-information;
the step of collecting the information of the respective source node based on the respective IP address comprises:
collecting the respective IP address of the respective source node as the information of the respective source node by a CollectVlanIPTable script,
determining, by the CollectVlanIPTable script, whether a format of the information of the respective source node is correct; and
in response to determining that the format of the information of the respective source node is correct,
controlling the respective source node to extract analysis information from the information of the respective source node and converting the analysis information into a JavaScript Object Notation (JSON) format file; the analysis information comprises the plurality of network interfaces of the respective source node and the IP address of the corresponding target node connected with each network interface.
|