CN105912439B - A kind of method, apparatus and system of computer monitoring - Google Patents

A kind of method, apparatus and system of computer monitoring Download PDF

Info

Publication number
CN105912439B
CN105912439B CN201610203887.3A CN201610203887A CN105912439B CN 105912439 B CN105912439 B CN 105912439B CN 201610203887 A CN201610203887 A CN 201610203887A CN 105912439 B CN105912439 B CN 105912439B
Authority
CN
China
Prior art keywords
bmc
monitoring
management controller
grouping
baseboard management
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
CN201610203887.3A
Other languages
Chinese (zh)
Other versions
CN105912439A (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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201610203887.3A priority Critical patent/CN105912439B/en
Publication of CN105912439A publication Critical patent/CN105912439A/en
Application granted granted Critical
Publication of CN105912439B publication Critical patent/CN105912439B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of method, apparatus of computer monitoring and systems, this method comprises: obtaining network delay of the BMC in monitoring network on each monitored computer respectively;According to the corresponding network delay of each BMC, each BMC is divided at least one grouping, wherein each is described to be grouped the corresponding network delay of include each BMC and be located in the same delay section;It is directed to each described grouping, is successively read the monitoring information for each BMC that the grouping includes.The device includes: acquiring unit, grouped element and monitoring unit.The system include: above-mentioned computer monitoring device and at least one be provided with the monitored computer of BMC.This programme can be improved the reliability being monitored to computer.

Description

A kind of method, apparatus and system of computer monitoring
Technical field
The present invention relates to field of communication technology, in particular to the method, apparatus and system of a kind of computer monitoring.
Background technique
With the continuous development of computer technology with progress, computer has become daily entertainment and office is essential Tool, applied to the every field in life, production, the need of some large enterprises, government unit and military service to computer The amount of asking is huge, possesses hundreds of computer.In order to guarantee being normally carried out for business, user requires to go wrong in computer When, it can be notified at the first time, to repair in time to the computer to go wrong, shorten computer downtime. It thus needs to be monitored computer, to obtain the state of computer in time.
Currently, using the method for sequential monitoring, successively acquiring each quilt when being monitored to a fairly large number of computer The monitoring information for monitoring computer upper substrate Management Controller BMC, judges whether computer goes out according to collected monitoring information It is now abnormal.
It is directed to the method that the prior art is monitored computer, successively acquires BMC on each monitored computer Monitoring information, when BMC on one of computer network when something goes wrong, entire monitoring process will be stuck in what this went wrong At BMC, the phenomenon that falling into a long wait, lead to monitoring that cannot in time to BMC on other computers after the BMC that sort Information is acquired, to cause the reliability to computer monitoring lower.
Summary of the invention
The embodiment of the invention provides a kind of method, apparatus of computer monitoring and system, can be improved to computer into The reliability of row monitoring.
The embodiment of the invention provides a kind of methods of computer monitoring, comprising:
Network delay of the BMC in monitoring network on each monitored computer is obtained respectively;
According to the corresponding network delay of each BMC, each BMC is divided at least one grouping, wherein every One corresponding network delay of each BMC for including that is grouped is located in the same delay section;
It is directed to each described grouping, is successively read the monitoring information for each BMC that the grouping includes.
Preferably, network delay of the BMC obtained on each monitored computer respectively in monitoring network includes:
Detection signal is sent to each BMC respectively by the monitoring network, and receives what each BMC was returned Response signal;
It is directed to each described BMC, according to the time for sending the detection signal to the BMC and receives the BMC The time for returning to the response signal determines the corresponding network delay of the BMC.
Preferably, described according to the corresponding network delay of each BMC, each BMC is divided at least one Grouping includes:
According at least one preset delay section, determined belonging to the corresponding network delay of each BMC respectively The delay section, the corresponding BMC of each network delay for belonging to the same delay section is divided into one group, Form at least one described grouping.
Preferably, described to be directed to each described grouping, it is successively read the monitoring for each BMC that the grouping includes Information includes:
At least one is formed by way of concurrent thread reads thread, the corresponding reading of each described grouping Thread is directed to each described grouping, by the grouping it is corresponding it is described read thread successively to the grouping include it is each The monitoring information of the BMC is read out.
Preferably, the monitoring network includes: out of band supervision network and/or with interior monitoring network.
The embodiment of the invention also provides a kind of devices of computer monitoring, comprising: acquiring unit, grouped element and monitoring Unit;
The acquiring unit, for obtaining network delay of the BMC in monitoring network on each monitored computer respectively;
The grouped element, the corresponding network delay of each BMC for being obtained according to the acquiring unit, will be each A BMC is divided at least one grouping, wherein each described corresponding network of each BMC for including that is grouped prolongs When be located at the same delay section in;
The monitoring unit is successively read this for being directed to each described grouping that the grouped element marks off The monitoring information for each BMC that grouping includes.
Preferably,
The acquiring unit for sending detection signal to each BMC respectively by the monitoring network, and receives The response signal that each BMC is returned, is directed to each described BMC, according to the BMC send the detection signal when Between and receive the time that the BMC returns to the response signal, determine the corresponding network delay of the BMC.
Preferably,
The grouped element, for determining each described BMC pairs respectively according at least one preset delay section The delay section belonging to the network delay answered, each network delay for belonging to the same delay section is corresponding BMC be divided into one group, form at least one described grouping.
Preferably,
The monitoring unit reads thread for forming at least one by way of concurrent thread, and each described point The corresponding reading thread of group, is directed to each described grouping, successively by the corresponding reading thread of the grouping The monitoring information for each BMC that the grouping includes is read out.
The embodiment of the invention also provides a kind of systems of computer monitoring, comprising: provided by the above embodiment any one The device of kind of computer monitoring and at least one be provided with the monitored computer of BMC;
BMC on each described monitored computer is formed corresponding for being monitored to the computer that is monitored Monitoring information and the monitoring information is stored, and receives in the device of the computer monitoring monitoring unit to the prison Control the reading of information.
Preferably,
BMC on each described monitored computer, the grouping list in device for receiving the computer monitoring The detection signal that member is sent, and corresponding feedback signal is sent to the BMC after receiving the detection signal.
Preferably,
BMC on each described monitored computer, by out of band supervision network and/or with interior monitoring network with it is described The device BMC of computer monitoring is connected.
The embodiment of the invention provides a kind of method, apparatus of computer monitoring and system, from monitored computer Before BMC reads monitoring information, network delay of the BMC in monitoring network on each monitored computer is obtained, according to net Network delay is located at each BMC in the same delay section and is divided into one group, in the prison for reading BMC by the length of network delay When controlling information, it is directed to each grouping, is successively read the monitoring information for each BMC that the grouping includes.In this way, according to network BMC is grouped by delay, the big BMC of network delay can be divided into different groupings, different grouping from the small BMC of network delay It reads the monitoring information time-division and drives row into, avoid a BMC and go wrong and lead to not read other normal BMC monitoring letters in time The case where breath, occurs, so as to read the monitoring information of normal BMC in time, improve computer is monitored it is reliable Property.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is a kind of method flow diagram of computer monitoring provided by one embodiment of the present invention;
Fig. 2 is a kind of method flow diagram for computer monitoring that another embodiment of the present invention provides;
Fig. 3 is a kind of schematic device of computer monitoring provided by one embodiment of the present invention;
Fig. 4 is a kind of system schematic of computer monitoring provided by one embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments, based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, one embodiment of the invention provides a kind of method of computer monitoring, this method may include with Lower step:
Step 101: obtaining network delay of the BMC in monitoring network on each monitored computer respectively;
Step 102: according to the corresponding network delay of each BMC, each BMC being divided at least one point Group, wherein each described corresponding network delay of each BMC for including that is grouped is located in the same delay section;
Step 103: being directed to each described grouping, be successively read the monitoring letter for each BMC that the grouping includes Breath.
The embodiment of the invention provides a kind of methods of computer monitoring, monitor reading from the BMC of monitored computer Before information, network delay of the BMC in monitoring network on each monitored computer is obtained, according to the length of network delay It is short, network delay is located at each BMC in the same delay section and is divided into one group, when reading the monitoring information of BMC, needle For each grouping, it is successively read the monitoring information for each BMC that the grouping includes.In this way, according to network delay by BMC points The big BMC of network delay can be divided into different groupings from the small BMC of network delay by group, and different grouping reads monitoring letter The breath time-division drives row into, avoids BMC the case where leading to not read other normal BMC monitoring informations in time that go wrong and goes out It is existing, so as to read the monitoring information of normal BMC in time, improve the reliability being monitored to computer.
In an embodiment of the invention, detection signal is sent to each BMC respectively by monitoring network, BMC is being received To detection signal after return to corresponding response signal, the Network status of BMC is better, send detection signal and receive response signal it Between time interval it is shorter, according to BMC send detection signal time and receive BMC returning response signal time, determine The interval time for sending detection signal and receiving between response signal is the corresponding network delay of the BMC.In this way, every by obtaining The corresponding network delay of one BMC can accurately determine the Network status of each BMC, accurate to carry out to each BMC Grouping, guarantees the feasibility of the computer monitoring method.
In an embodiment of the invention, at least one delay section is preset, the corresponding net of each BMC is being got After network delay, delay section belonging to the corresponding network delay of each BMC is judged respectively, determines the corresponding delay area each BMC Between, at least one BMC for corresponding to the same delay section is divided into one group, so that all BMC are divided into multiple points Group, each grouping include at least one BMC.In this way, can be set according to the performance and monitoring demand of monitoring device different Be delayed section, and all BMC are divided into the grouping of different number, improve the applicability of the method for the computer monitoring.
In an embodiment of the invention, at least one is formed by way of concurrent thread reads thread, each point The corresponding reading thread of group, is directed to each grouping, is successively read the grouping packet by the corresponding reading thread of the grouping The monitoring information of each BMC included.In this way, by multiple reading threads simultaneously to each monitoring information for being grouped the BMC for including It is read out, shortens the time for reading the monitoring information of BMC, so as to obtain the state of monitored computer in time, into One step improves the reliability being monitored to computer.
In an embodiment of the invention, monitoring network can be out of band supervision network, i.e., logical by the way that monitoring is separately provided The mode in road reads the monitoring information of BMC on monitored computer, and monitoring network is also possible to interior monitoring network, that is, pass through by Read the monitoring information of BMC on monitored computer in the channel for monitoring Computer Data Communication.In this way, the side of the computer monitoring Method both can be applied to out of band supervision, also can be applied to provide the applicability of the method for the computer monitoring with interior monitoring.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, with reference to the accompanying drawing and specific implementation Example is described in further detail the embodiment of the present invention.
As shown in Fig. 2, this method may include following step the embodiment of the invention provides a kind of method of computer monitoring It is rapid:
Step 201: setting at least one delay section.
In an embodiment of the invention, it when being monitored to monitored computer, is read by monitoring network each The monitoring information of BMC on computer obtains the state of monitored computer according to the monitoring information read, to judge to be supervised Whether control computer goes wrong.Due to each BMC BMC state different and each from the network line length of monitoring client Difference causes network delay of each BMC in monitoring network to have differences, in order to correspond to each of heterogeneous networks delay BMC is grouped, and needs to set at least one delay section.
For example, 3 delay sections of setting, respectively delay section 1, delay section 2 and delay section 3, delay section 1 Range is greater than 0 second and to be less than or equal to 1 second, and the range in delay section 2 is greater than 1 second and to be less than or equal to 10 seconds, delay section 3 Range is greater than 10 seconds.
Step 202: sending detection signal to each BMC, and receive the response signal of BMC return, record sends detection letter Number and receive response signal time.
In an embodiment of the invention, every preset first interval time, by monitoring network, respectively to each BMC in a monitored computer sends a detection signal, and records the time that detection signal is sent to each BMC respectively, After detection signal sends and does not complete, the response signal that BMC is returned on each monitored computer of real-time reception, and record respectively The time for receiving each BMC returning response signal, it is directed to any one BMC, if do not had within the defined waiting time The response signal for receiving BMC return, then be recorded as infinity for the time for receiving the BMC returning response signal.
For example, altogether include 8 monitored computers, respectively monitored computer 1 to monitored computer 8, each quilt It is provided with a BMC on monitoring computer, monitored computer 1 to monitored computer 8 is corresponding in turn to BMC1 to BMC8.Pass through Network is monitored, is not passed through 10 minutes, while sending a detection signal to 8 BMC, and record the time T of transmission0, send inspection After surveying signal, the response signal that 8 BMC of real-time reception are returned, record receives the time of 8 BMC returning response signals respectively, The time for wherein receiving BMC1 to BMC8 returning response signal is respectively T1To T8, only do not have within defined 10 seconds waiting time There is the response signal for receiving BMC6 return, T6 is recorded as infinity.
Step 203: according to sending the time of detection signal and receiving the time of response signal, calculating the net of each BMC Network delay.
In an embodiment of the invention, after sending detection signal, by the waiting time of setting, it is directed to each The time for receiving the BMC returning response signal is done subtraction with the time for sending detection signal to the BMC, obtained by BMC The time difference that the BMC is communicated with monitoring client, the as corresponding network delay of the BMC.
For example, passing through 10 seconds time after the completion of sending detection signal to 8 BMC, calculated by following formula one each The corresponding network delay of BMC,
Formula one:
Mi=Ti-Ti
Wherein, i is any one in 1 to 8, MiFor the corresponding network delay of BMCi, TiTo receive BMCi returning response The time of signal, TiFor the time for sending detection signal to BMCi.
The network delay for obtaining BMC1, BMC3, BMC4, BMC5 and BMC8 is calculated at 1 second hereinafter, BMC2 according to formula one Network delay with BMC7 is respectively 3 seconds and 4 seconds;Due to being not received by the response letter of BMC6 return within 10 seconds waiting time Number, the corresponding T of BMC66For infinity, it is also infinitely great that the corresponding M6 of BMC6, which is calculated, by formula one.
Step 204: according to the delay section of setting and the corresponding network delay of each BMC, each BMC being grouped.
In an embodiment of the invention, it is directed to each BMC, the corresponding network of the BMC that will be obtained in step 203 Delay is matched with each delay section set in step 201, determines the delay area where the corresponding network delay of the BMC Between, which is determined as the corresponding delay section the BMC;After determining the corresponding delay section each BMC, it will correspond to Each BMC in the same delay section is divided into one group.
For example, successively by the corresponding network delay of 8 BMC respectively with delay section 1, delay section 2 and delay section 3 into Row matching.Since the network delay of BMC1, BMC3, BMC4, BMC5 and BMC8 are at 1 second hereinafter, and the range in the section 1 that is delayed is Greater than 0 second and it is less than or equal to 1 second, so BMC1, BMC3, BMC4, BMC5 and BMC8 and delay 1 successful match of section, determination are prolonged When section 1 be the corresponding delay section BMC1, BMC3, BMC4, BMC5 and BMC8;Since the network delay of BMC2 and BMC7 is distinguished For 3 seconds and 4 seconds, and the range in the section 2 that is delayed was greater than 1 second and to be less than or equal to 10 seconds, so BMC2 and BMC7 and delay section 2 Successful match determines that delay section 2 is the corresponding delay section BMC2 and BMC7;Since the network delay of BMC6 is infinity, And the range in the section 3 that is delayed is greater than 10 seconds, so BMC6 and delay 3 successful match of section, determine that delay section 3 is BMC6 pairs The delay section answered.According to the corresponding delay section 8 BMC, 8 BMC are divided into 3 groupings, are respectively grouped 1, grouping 2 And grouping 3, wherein grouping 1 includes BMC1, BMC3, BMC4, BMC5 and BMC8, grouping 2 includes BMC2 and BMC7, and grouping 3 includes BMC6。
Step 205: by concurrent thread, reading the monitoring information of BMC in each grouping respectively.
In an embodiment of the invention, every the second interval time by setting, according to newest once to BMC grouping As a result, forming reading thread corresponding with packet count by way of concurrent thread, each is grouped a corresponding read line Journey is read out by each reading thread, while to the monitoring information of BMC in each grouping, is directed to each read line Journey, the reading thread are successively read out the monitoring information of each BMC in grouping corresponding thereto.
For example, it is every pass through 10 minutes, according to the last time to 8 BMC be grouped as a result, formed 3 reading threads, Thread 1 is respectively read, thread 2 is read and reads thread 3, wherein reading thread 1 corresponds to grouping 1, thread 2 is read and corresponds to Grouping 2, read thread 3 correspond to grouping 3,3 readings threads carries out simultaneously, reading thread 1 successively to be grouped 1 in BMC1, The monitoring information of BMC3, BMC4, BMC5 and BMC8 are read out, read thread 2 successively to the monitoring information of BMC2 and BMC7 into Row read, read thread 3 monitoring information of BMC6 is read out, wherein it is each and be grouped in each BMC can be according to network The length of delay is ranked up.
It is directed to embodiment shown in Fig. 2, there are following content needs to be illustrated:
In an embodiment of the invention, in order to accurately obtain the network delay of each BMC, between every first by setting It is every by setting in order to more reasonably be monitored to monitored computer every a time step 201 of execution to step 204 The second interval time execute a step 205, wherein the first interval time and the second interval time can be identical or not Together, no matter the first interval time and the second interval time it is identical or different, execute step 205 when according to the last time to BMC The result being grouped carries out.
In an embodiment of the invention, it according to the waiting time of setting, is returned when confiscating BMC within the waiting time Response signal when, the network delay of the BMC is determined as infinity.The length of waiting time is set according to actual conditions, when When waiting time long enough, it is believed that there is no connection without the BMC of returning response signal and monitoring network within the waiting time, In step 205 corresponding reading thread can not be distributed to the grouping including this kind of BMC.
In an embodiment of the invention, monitoring network can be the physical channel being separately provided, with each monitored meter BMC on calculation machine is connected, as out of band supervision network;Monitoring network may be to be currently used for data on monitored computer to lead to The physical channel of letter, as with interior monitoring network;Monitoring network can also be the group with interior monitoring network and out of band supervision network It closes.
It should be noted that the method for computer monitoring shown in Fig. 2 is only a possible embodiments of the invention, having During body business realizing, the method for computer monitoring provided in an embodiment of the present invention can be to more or fewer monitored meters Calculation machine is monitored, for example is reached monitored computer that is several in the thousands or counting with ten thousand to quantity and be monitored, and be monitored meter The quantity of calculation machine is more, and the advantage of the method relative to available data computer monitoring provided in an embodiment of the present invention is more obvious.
As shown in figure 3, the embodiment of the invention provides a kind of devices of computer monitoring, comprising: acquiring unit 301 is divided Group unit 302 and monitoring unit 303;
The acquiring unit 301 is prolonged for obtaining network of the BMC in monitoring network on each monitored computer respectively When;
The grouped element 302, the corresponding network of each BMC for being obtained according to the acquiring unit 301 prolong When, each BMC is divided at least one grouping, wherein each BMC that each described grouping includes is corresponding Network delay is located in the same delay section;
The monitoring unit 303, each the described grouping marked off for being directed to the grouped element 302, successively Read the monitoring information for each BMC that the grouping includes.
The embodiment of the invention provides a kind of devices of computer monitoring, read the upper BMC of monitored calculating in monitoring unit Monitoring information between, the network delay of BMC on each monitored computer is obtained by acquiring unit, grouped element is according to each The network delay of BMC is grouped each BMC, and BMC of the network delay in the same delay section is divided into one group.This The big BMC of network delay can be divided into different points from the small BMC of network delay by the packet transaction of grouped element by sample Group is that each grouping separately carries out reading monitoring thread, avoids a BMC and go wrong and lead to not read other in time The case where normal BMC monitoring information, occurs, so as to read the monitoring information of normal BMC in time, improve to computer into The reliability of row monitoring.
In an embodiment of the invention, acquiring unit 301 puts detection signal to each BMC respectively by monitoring network, And receive the response signal that each BMC is returned, be directed to each BMC, according to the time for sending detection signal to the BMC and The time for receiving the BMC returning response signal determines the corresponding network delay of the BMC.
In an embodiment of the invention, grouped element 302 is true respectively according at least one preset delay section Determine delay section belonging to the corresponding network delay of each BMC, each network delay for belonging to the same delay section is corresponding BMC be divided into one group, form at least one grouping.
In an embodiment of the invention, monitoring unit 303 forms at least one read line by way of concurrent thread Journey, each is grouped a corresponding reading thread, is directed to each grouping, successively right by the corresponding reading thread of the grouping The monitoring information for each BMC that the grouping includes is read out.
The contents such as the information exchange between each unit, implementation procedure in above-mentioned apparatus, due to implementing with the method for the present invention Example is based on same design, and for details, please refer to the description in the embodiment of the method for the present invention, and details are not described herein again.
As shown in figure 4, one embodiment of the invention provides a kind of system of computer monitoring, comprising: the present invention is implemented Example provide any one computer monitoring device 401 and at least one be provided with the monitored computer 402 of BMC;
BMC on each described monitored computer 402 is formed for being monitored to the computer 402 that is monitored Corresponding monitoring information and the monitoring information is stored, and receives the device 401 of the computer monitoring to the prison Control the reading of information.
In an embodiment of the invention, the acquiring unit in the device 401 of computer monitoring is to monitored computer 402 On BMC send detection signal, be monitored computer 402 on BMC after receiving monitoring signals, to the dress of computer monitoring The acquiring unit set in 401 returns to corresponding response signal.Acquiring unit in computer monitoring device 401 is detected according to transmission The time of signal and the time for receiving BMC returning response signal can determine that the network of BMC on monitored computer 402 prolongs When, so as to be grouped to each BMC, the big BMC of network delay is divided into different points from the small BMC of network delay In group, read the monitoring information of BMC in each grouping respectively, avoid network be delayed big BMC block read thread lead to not The monitoring information of other BMC is read out in time, the monitoring information of normal BMC can be obtained in a relatively short period of time, thus Improve the reliability being monitored to computer.
In an embodiment of the invention, the device 401 of computer monitoring can be by out of band supervision network or with interior prison Control network is connected with the BMC on each monitored computer, can also be by way of two kinds of monitoring mixture of networks and each quilt The BMC monitored on computer is connected.
Each embodiment provided in an embodiment of the present invention, at least has the following beneficial effects:
1, it in the embodiment of the present invention, before reading monitoring information from the BMC of monitored computer, obtains each monitored Network delay is located at same prolong according to the length of network delay by network delay of the BMC in monitoring network on computer When section in each BMC be divided into one group, read BMC monitoring information when, be directed to each grouping, be successively read this The monitoring information for each BMC that grouping includes.In this way, BMC is grouped according to network delay, BMC that can be big by network delay Different groupings are divided into from the small BMC of network delay, different grouping reads the monitoring information time-division and drives row into, avoids one BMC goes wrong the case where leading to not read other normal BMC monitoring informations in time appearance, normal so as to read in time The monitoring information of BMC improves the reliability being monitored to computer.
2, in the embodiment of the present invention, multiple reading threads are formed by way of concurrent thread, each reading thread is corresponding One grouping, each reading thread act on corresponding grouping simultaneously, are successively read the monitoring letter of each BMC in corresponding grouping Breath can shorten the time for reading monitoring information in this way, so as to find the monitored computer problem in time, into one Step improves the reliability being monitored to computer.
3, in the embodiment of the present invention, the different BMC of network delay is divided into different groupings, passes through multiple threads point The monitoring information of BMC in each grouping is not read.In this way, in all BMC there are the network delay of part BMC it is larger or with When monitoring network disconnects, this part BMC is located in an individual grouping, reads this part by an individual thread that reads The monitoring information of BMC, these network delays are larger or the BMC with monitoring network disconnection does not interfere with the prison to other BMC Control information is read out, and guarantees the monitoring information for obtaining major part BMC in time, all readings are each compared with the existing technology In addition the time of BMC monitoring information can determine that network delay is larger so as to obtain the state of monitored computer in time Or the monitored computer disconnected with monitoring network, expand the application range being monitored to computer.
4, in the embodiment of the present invention, the BMC on the device of computer monitoring and monitored computer can pass through out-of-band supervision Control network connection can also can also be mixed by being connected to the network with interior monitoring by out of band supervision network and with interior monitoring network Conjunction is attached, and the demand that specific connection type can be realized according to practical business carries out flexible choice, improves the calculating The applicability of the method for machine monitoring.
5, in the embodiment of the present invention, after sending detection signal to a part of BMC, do not have still within the sufficiently long waiting time When having the response signal for receiving this part BMC return, it can be determined that this part BMC is disconnected with monitoring network, is being read This part BMC can not be distributed when monitoring information and read thread, to improve the performance of the device of computer monitoring.
6, in the embodiment of the present invention, the first interval time and the second interval time are set, it is every to pass through for the first interval time, it obtains The network delay for taking each BMC is grouped each BMC again, to guarantee to read network delay in time smaller Each BMC monitoring information;It is every to be read in each grouping by the second interval time according to newest primary group result The monitoring information of BMC, so that the situation of each monitored computer is obtained in time, what raising was monitored monitored computer Validity.
It should be noted that, in this document, such as first and second etc relational terms are used merely to an entity Or operation is distinguished with another entity or operation, is existed without necessarily requiring or implying between these entities or operation Any actual relationship or order.Moreover, the terms "include", "comprise" or its any other variant be intended to it is non- It is exclusive to include, so that the process, method, article or equipment for including a series of elements not only includes those elements, It but also including other elements that are not explicitly listed, or further include solid by this process, method, article or equipment Some elements.In the absence of more restrictions, the element limited by sentence " including a 〃 ", is not arranged Except there is also other identical factors in the process, method, article or apparatus that includes the element.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can store in computer-readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light In the various media that can store program code such as disk.
Finally, it should be noted that the foregoing is merely presently preferred embodiments of the present invention, it is merely to illustrate skill of the invention Art scheme, is not intended to limit the scope of the present invention.Any modification for being made all within the spirits and principles of the present invention, Equivalent replacement, improvement etc., are included within the scope of protection of the present invention.

Claims (2)

1. a kind of method of computer monitoring characterized by comprising
Network delay of the baseboard management controller in monitoring network on each monitored computer is obtained respectively;
According to the corresponding network delay of each baseboard management controller, by each baseboard management controller be divided into A few grouping, wherein each is described to be grouped the corresponding network delay of include each baseboard management controller and be located at In the same delay section;
It is directed to each described grouping, is successively read the monitoring letter for each baseboard management controller that the grouping includes Breath;
The baseboard management controller obtained on each monitored computer respectively monitoring network in network delay include:
Detection signal is sent to each baseboard management controller respectively by the monitoring network, and receives each base The response signal that board management controller returns;
Be directed to each described baseboard management controller, according to the baseboard management controller send it is described detection signal when Between and receive the time that the baseboard management controller returns to the response signal, determine that the baseboard management controller is corresponding Network delay;
It is described according to the corresponding network delay of each baseboard management controller, each baseboard management controller is divided Include: at least one grouping
According at least one preset delay section, determine that the corresponding network of each baseboard management controller prolongs respectively When belonging to the delay section, the corresponding substrate management of each network delay in the same delay section will be belonged to Controller is divided into one group, forms at least one described grouping;
It is described to be directed to each described grouping, it is successively read the monitoring for each baseboard management controller that the grouping includes Information includes:
At least one is formed by way of concurrent thread reads thread, the corresponding read line of each described grouping Journey is directed to each described grouping, passes through the corresponding each institute for reading thread and successively including to the grouping of the grouping The monitoring information for stating baseboard management controller is read out;
And/or
The monitoring network includes: out of band supervision network and/or with interior monitoring network.
2. a kind of device of computer monitoring characterized by comprising acquiring unit, grouped element and monitoring unit;
The acquiring unit, for obtaining net of each monitored computer upper substrate Management Controller in monitoring network respectively Network delay;
The grouped element, the corresponding network of each baseboard management controller for being obtained according to the acquiring unit prolong When, each baseboard management controller is divided at least one grouping, wherein each institute that each described grouping includes The corresponding network delay of baseboard management controller is stated to be located in the same delay section;
The monitoring unit is successively read the grouping for being directed to each described grouping that the grouped element marks off Including each baseboard management controller monitoring information;
The acquiring unit, for sending detection letter to each baseboard management controller respectively by the monitoring network Number, and the response signal that each baseboard management controller returns is received, it is directed to each described baseboard management controller, According to the time for sending the detection signal to the baseboard management controller and receive baseboard management controller return institute The time for stating response signal determines the corresponding network delay of the baseboard management controller;
The grouped element, for determining each substrate management respectively according at least one preset delay section The delay section belonging to the corresponding network delay of controller will belong to each network in the same delay section The corresponding baseboard management controller that is delayed is divided into one group, forms at least one described grouping;
The monitoring unit reads thread for forming at least one by way of concurrent thread, each described grouping pair The reading thread is answered, each described grouping is directed to, by the corresponding reading thread of the grouping successively to this The monitoring information for each baseboard management controller that grouping includes is read out.
CN201610203887.3A 2016-04-05 2016-04-05 A kind of method, apparatus and system of computer monitoring Active CN105912439B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610203887.3A CN105912439B (en) 2016-04-05 2016-04-05 A kind of method, apparatus and system of computer monitoring

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610203887.3A CN105912439B (en) 2016-04-05 2016-04-05 A kind of method, apparatus and system of computer monitoring

Publications (2)

Publication Number Publication Date
CN105912439A CN105912439A (en) 2016-08-31
CN105912439B true CN105912439B (en) 2018-12-14

Family

ID=56744574

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610203887.3A Active CN105912439B (en) 2016-04-05 2016-04-05 A kind of method, apparatus and system of computer monitoring

Country Status (1)

Country Link
CN (1) CN105912439B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897192B (en) * 2017-02-27 2020-08-25 苏州浪潮智能科技有限公司 Monitoring plug-in control method and device based on time delay classification
CN109918192B (en) * 2017-12-25 2022-02-18 郑州云海信息技术有限公司 BMC resource allocation method for server
CN109271234B (en) * 2018-08-29 2021-10-15 郑州云海信息技术有限公司 Monitoring information collection method, device and equipment
CN112751689B (en) * 2019-10-30 2023-12-05 北京京东振世信息技术有限公司 Network connectivity detection method, monitoring server and monitoring proxy device
CN112291109A (en) * 2020-09-18 2021-01-29 苏州浪潮智能科技有限公司 Monitoring system communication method and monitoring system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1466056A (en) * 2002-06-10 2004-01-07 联想(北京)有限公司 Cluster monitoring system and method
CN103138967A (en) * 2011-11-28 2013-06-05 英业达科技有限公司 Server rack system and delayed start-up method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6625648B1 (en) * 2000-01-07 2003-09-23 Netiq Corporation Methods, systems and computer program products for network performance testing through active endpoint pair based testing and passive application monitoring
CN101136756B (en) * 2006-08-29 2010-09-22 联想(北京)有限公司 Electric self-checking method, system and BMC chip on network long-range control host machine
TWI403884B (en) * 2010-11-30 2013-08-01 Inventec Corp Rack server system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1466056A (en) * 2002-06-10 2004-01-07 联想(北京)有限公司 Cluster monitoring system and method
CN103138967A (en) * 2011-11-28 2013-06-05 英业达科技有限公司 Server rack system and delayed start-up method thereof

Also Published As

Publication number Publication date
CN105912439A (en) 2016-08-31

Similar Documents

Publication Publication Date Title
CN105912439B (en) A kind of method, apparatus and system of computer monitoring
CN105550113B (en) Web test method and test machine
CN106445755B (en) A kind of server automated test method of whole machine cabinet
CN106411659A (en) Business data monitoring method and apparatus
CN110445688A (en) Interface service function monitoring method and system based on data collection
CN105808407A (en) Equipment management method, equipment and equipment management controller
CN106067043A (en) A kind of performance test methods and system
CN108776616A (en) A kind of method, block chain node and the system of determining block chain node trusted status
CN107577545A (en) A kind of failed disk detection and restorative procedure and device
CN110188036A (en) A kind of method for testing software and device
CN102075368A (en) Method, device and system for diagnosing service failure
CN103493437B (en) Network analysis assisting system, network test device, network analysis support method and network test method
CN202035054U (en) Fault self-check system based on streaming media real-time bus
CN106095676A (en) Method of testing that data report, Apparatus and system
CN111159029B (en) Automated testing method, apparatus, electronic device and computer readable storage medium
US11153193B2 (en) Method of and system for testing a computer network
CN106201887B (en) A kind of verification method and device of off-line data task
CN108055152B (en) Communication network information system abnormity detection method based on distributed service log
CN109491866A (en) Monitor method, apparatus, terminal and the computer readable storage medium of storage hardware
CN113760689A (en) Interface fault alarm method, device, equipment and storage medium
CN117252149A (en) Chip verification method and device, chip verification system and readable storage medium
CN104678292B (en) A kind of complex programmable logic device (CPLD) test method and device
CN103885441B (en) A kind of adaptive failure diagnostic method of controller local area network
CN109074293A (en) It watches candidate determining device quietly, watch candidate determining method quietly and watches candidate determining program quietly
CN108965053A (en) Upper computer software method for testing pressure, apparatus 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
GR01 Patent grant
GR01 Patent grant