A method, device, system and medium for monitoring a server in-band acquisition software

By subscribing to and detecting anomalies in the server's in-band data acquisition software, the problem of insufficient monitoring and management in existing technologies is solved, enabling timely operation and maintenance of the server and ensuring its stable operation.

CN114996089BActive Publication Date: 2026-04-10JINAN INSPUR DATA TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
JINAN INSPUR DATA TECH CO LTD
Filing Date
2022-05-31
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

The lack of monitoring and management of in-band data acquisition software on servers in existing technologies makes it impossible to detect abnormal situations in a timely manner, leading to server crashes or downtime and economic losses.

Method used

By subscribing to servers with built-in data acquisition software, the system checks whether data is received within a preset time period. If data is received, the system is considered normal; otherwise, it is considered abnormal, and the system performs anomaly analysis and processing.

Benefits of technology

It enables monitoring of the in-band data acquisition software on the server, timely detection of anomalies, ensuring normal server operation, improving operational efficiency, and preventing server crashes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114996089B_ABST
    Figure CN114996089B_ABST
Patent Text Reader

Abstract

The application discloses a kind of server in-band acquisition software supervision method, device, system and computer readable storage medium, applied to computer technology field, for the technical problem that server in-band acquisition software cannot be supervised, the server in-band acquisition software of the present application is subscribed to by being installed in advance, so that the server in-band acquisition software will report acquisition information;Detection whether the acquisition information reported by the server in-band acquisition software is received within the preset time, if yes, the server in-band acquisition software is normal, if not, the server in-band acquisition software is abnormal;The present application can realize the supervision of server in-band acquisition software, is conducive to the operation and maintenance of server in time, and guarantees the normal operation of server.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer, in particular to a server in-band acquisition software supervision method, device, system and computer readable storage medium. BACKGROUND

[0002] With the development of cloud computing and big data, the scale of data center is expanding, the demand for servers is increasing, and a large number of key businesses are running on these servers, so it is particularly important to efficiently monitor and maintain the stable operation of the servers. In the current infrastructure monitoring and management platform, the monitoring and management of the servers are mainly monitored by the out-of-band management as the main mode and the in-band management as the auxiliary mode, but the in-band management is often more important because the in-band management can collect the CPU (central processing unit) utilization rate, memory utilization rate, disk utilization rate and other key monitoring indicators of the server through the in-band acquisition software, which is of great significance for us to analyze the current server running state and stability.

[0003] The current management platform often lacks monitoring and management of the running state of these in-band acquisition software, and once an exception occurs, it cannot be found and processed in time, resulting in failure of in-band data reception, inability to know the server running and load conditions, inability to handle abnormal conditions in time, and further leading to server crash or downtime, and even causing serious economic losses.

[0004] Therefore, how to realize the supervision of the server in-band acquisition software becomes a problem to be solved by those skilled in the art. SUMMARY

[0005] The purpose of the embodiment of the present application is to provide a server in-band acquisition software supervision method, device, system and computer readable storage medium, which can realize the supervision of the server in-band acquisition software in use, is beneficial to timely operation and maintenance of the server, and guarantees the normal operation of the server.

[0006] To solve the above technical problems, the embodiment of the present application provides a server in-band acquisition software supervision method, comprising:

[0007] The server installed with the in-band acquisition software is subscribed in advance, so that the in-band acquisition software of the server reports the collected information;

[0008] Detect whether the collected information reported by the in-band acquisition software of the server is received within a preset time length, if yes, the in-band acquisition software of the server is normal, and if no, the in-band acquisition software of the server is abnormal.

[0009] Optionally, before the detecting whether the collection information reported by the in-band collection software of the server is received within a preset time length, the method further comprises:

[0010] receiving the collection data reported by the in-band collection software in the server;

[0011] acquiring the server identifier of the server based on the collection data;

[0012] judging whether the server identifier exists in the cache, if yes, resetting the expiration time corresponding to the server identifier in the cache, if no, storing the server identifier into the cache and starting the expiration time corresponding to the server identifier; wherein the cache is provided with a fixed expiration time;

[0013] clearing the server identifier in the cache whose expiration time reaches the preset time length.

[0014] Optionally, the detecting whether the collection information reported by the in-band collection software of the server is received within a preset time length comprises:

[0015] acquiring the server identifier list of the cache regularly;

[0016] judging whether the server identifier corresponding to the server installed with the in-band collection software exists in the server identifier list, if yes, the in-band collection software of the server is normal, if no, the in-band collection software of the server is abnormal.

[0017] Optionally, after the in-band collection software of the server is abnormal, the method further comprises:

[0018] abnormal analysis on the in-band collection software of the server.

[0019] Optionally, the abnormal analysis on the in-band collection software of the server comprises:

[0020] acquiring the in-band information of the server according to the server identifier of the server;

[0021] abnormal analysis on the in-band collection software of the server based on the in-band information.

[0022] Optionally, the in-band information comprises in-band IP and SSH protocol information.

[0023] Then, the abnormal analysis on the in-band collection software of the server based on the in-band information comprises:

[0024] judging whether the network is abnormal based on the in-band IP, if yes, generating network detection failure alarm information, if no, entering the next step;

[0025] re-subscribing to the in-band acquisition software of the server, when the re-subscription is successful, ending the operation, and when the re-subscription fails, entering the next step;

[0026] detecting the connectivity of the SSH protocol based on the SSH protocol information, if the connection is abnormal, generating an SSH connection abnormality alarm information, and if the connection is normal, entering the next step;

[0027] restarting the in-band acquisition software of the server, if the restart is successful, ending the operation, and if the restart fails, entering the next step;

[0028] reinstalling the in-band acquisition software of the server, and after the reinstallation is successful, re-subscribing to the in-band acquisition software of the server, and in the case that the reinstallation fails, generating a software reinstallation failure alarm information.

[0029] Optionally, before pre-subscribing to the server installed with the in-band acquisition software, the method comprises:

[0030] sending the in-band acquisition software to the server for installation.

[0031] The embodiment of the application further provides a server in-band acquisition software supervision device, comprising:

[0032] a subscription module, used for pre-subscribing to the server installed with the in-band acquisition software, so that the in-band acquisition software of the server reports the acquisition information;

[0033] a detection module, used for detecting whether the acquisition information reported by the in-band acquisition software of the server is received within a preset time length, if yes, triggering a first determination module, and if no, triggering a second determination module;

[0034] the first determination module, used for determining that the in-band acquisition software of the server is normal;

[0035] the second determination module, used for determining that the in-band acquisition software of the server is abnormal.

[0036] Optionally, the device further comprises:

[0037] a receiving module, used for receiving the acquisition data reported by the in-band acquisition software in the server;

[0038] an acquisition module, used for acquiring a server identifier of the server based on the acquisition data;

[0039] a judgment module, used for judging whether the server identifier exists in a cache, if yes, triggering a reset module, and if no, triggering a storage module; wherein, the cache is provided with a fixed expiration time;

[0040] The resetting module is configured to reset the expiration time corresponding to the server identifier in the cache;

[0041] The storage module is configured to store the server identifier into the cache and start the expiration time corresponding to the server identifier;

[0042] The clearing module is configured to clear the server identifier in the cache whose expiration time reaches a preset length of time.

[0043] Optionally, the detection module comprises:

[0044] The first obtaining unit is configured to obtain the server identifier list of the cache at a regular time;

[0045] The judging unit is configured to judge whether the server identifier corresponding to the server installed with the in-band collection software exists in the server identifier list, and if so, trigger the first determining module; if not, trigger the second determining module.

[0046] Optionally, the apparatus further comprises:

[0047] The analysis module is configured to perform abnormality analysis on the in-band collection software of the server.

[0048] Optionally, the analysis module comprises:

[0049] The second obtaining unit is configured to obtain the in-band information of the server according to the server identifier of the server;

[0050] The analysis unit is configured to perform abnormality analysis on the in-band collection software of the server based on the in-band information.

[0051] Optionally, the in-band information comprises in-band IP and SSH protocol information.

[0052] Then, the analysis unit comprises:

[0053] The first judging subunit is configured to judge whether the network is abnormal based on the in-band IP, and if so, trigger the first generating subunit; if not, trigger the subscribing subunit.

[0054] The first generating subunit is configured to generate network detection failure alarm information.

[0055] The subscribing subunit is configured to re-subscribe to the in-band collection software of the server, and when the subscription is successful, end the operation; when the subscription fails, trigger the first detecting subunit.

[0056] The first detection subunit is configured to detect the connectivity of the SSH protocol based on the SSH protocol information, and if the connection is abnormal, the second generation subunit is triggered, and if the connection is normal, the restart subunit is triggered.

[0057] The second generation subunit is configured to generate SSH connection abnormality alarm information.

[0058] The restart subunit is configured to restart the in-band acquisition software of the server, and if the restart is successful, the operation is ended, and if the restart fails, the installation subunit is triggered.

[0059] The installation subunit is configured to reinstall the in-band acquisition software of the server, and after the reinstallation is successful, the in-band acquisition software of the server is re-subscribed, and if the reinstallation fails, the third generation unit is triggered.

[0060] The third generation unit is configured to generate software reinstallation failure alarm information.

[0061] Optionally, the device further comprises:

[0062] The sending module is configured to send the in-band acquisition software to the server for installation.

[0063] Embodiments of the present application also provide a server in-band acquisition software supervision system, comprising:

[0064] The memory is configured to store a computer program;

[0065] The processor is configured to execute the computer program to realize the steps of the server in-band acquisition software supervision method.

[0066] Embodiments of the present application also provide a computer readable storage medium, the computer readable storage medium stores a computer program, and the computer program is executed by a processor to realize the steps of the server in-band acquisition software supervision method.

[0067] Embodiments of the present application provide a server in-band acquisition software supervision method, device, system and computer readable storage medium, the method comprising: subscribing to a server installed with in-band acquisition software in advance, so that the in-band acquisition software of the server reports the acquisition information; detecting whether the acquisition information reported by the in-band acquisition software of the server is received within a preset time period, if yes, the in-band acquisition software of the server is normal, and if no, the in-band acquisition software of the server is abnormal.

[0068] It can be seen that, by subscribing to the server installed with the in-band collection software, the in-band collection software in the server can report the collected collection information, so that the state of the in-band collection software can be determined by detecting whether the collection information reported by the in-band collection software of the server is received within a preset time period, when it is determined that the collection information reported by the in-band collection software of the server is received within the preset time period, it is determined that the in-band collection software of the server is normal, and when it is determined that the collection information reported by the in-band collection software is not received within the preset time period, it is determined that the in-band collection software of the server is abnormal; the server in-band collection software can be supervised, and the server can be maintained in time, so that the server can operate normally. BRIEF DESCRIPTION OF DRAWINGS

[0069] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the prior art and the embodiments will be briefly introduced as follows, obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0070] Figure 1 A flowchart of a server in-band collection software supervision method provided by the embodiments of the present application is shown.

[0071] Figure 2 A structural diagram of a server in-band collection software supervision device provided by the embodiments of the present application is shown. DETAILED DESCRIPTION

[0072] The embodiments of the present application provide a server in-band collection software supervision method, device, system and computer readable storage medium, which can supervise the server in-band collection software in use, maintain the server in time, and ensure the normal operation of the server.

[0073] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be described clearly and completely with reference to the drawings of the embodiments of the present application, obviously, the described embodiments are part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.

[0074] It should be noted that the server plays a key role in the field of computers, and a large number of key businesses are run in the server, and the number of servers required in the field of cloud computing is very large, so it is particularly important to efficiently monitor and maintain the stable operation of the server. In the infrastructure monitoring and management platform, the in-band management of the server is mainly assisted by the out-of-band management, but in fact, the in-band management is also very important. The in-band management can collect the key monitoring indicators of the server through the in-band collection software, such as CPU utilization, memory utilization, disk utilization, etc. Based on these key monitoring indicators, it is beneficial to analyze the current server running state and stability. However, there is no monitoring and management scheme for the running state of the in-band collection software in the prior art, that is, the in-band collection software is not supervised in the prior art, so that when the in-band collection software is abnormal, it cannot be found in time, resulting in failure of in-band data collection, and the running state and load of the server cannot be monitored through in-band data, which can seriously cause the server to not work normally.

[0075] Therefore, the embodiment of the application provides a kind of server in-band collection software's supervision method, device, system and computer readable storage medium, by pre-installing in-band collection software to the server of subscription, to make the in-band collection software of the server report collection information;Detection is received in preset time range whether the collection information reported by the in-band collection software of the server, if yes, the in-band collection software of the server is normal, if no, the in-band collection software of the server is abnormal, realize the supervision of the in-band collection software of the server, it is beneficial to promptly to the server for operation and maintenance processing, guarantee the normal operation of server.

[0076] Next, a kind of server in-band collection software's supervision method provided by the embodiment of the application will be described in detail with a server as an example, please refer to Figure 1 , Figure 1 The flowchart of the server in-band collection software's supervision method provided by the embodiment of the application. The method comprises:

[0077] S110: pre-installing in-band collection software to the server of subscription, to make the in-band collection software of the server report collection information;

[0078] It should be noted that in actual application, in-band collection software can be pre-installed on the server, specifically can be installed on multiple servers, and the server with in-band collection software is subscribed, and after successful subscription, the in-band collection software of the server can report the collection information.

[0079] Specifically, since the management platform in the prior art often needs manual deployment of the in-band collection software, when the number of servers is large, this manual deployment method will bring a large workload to the staff, and the deployment efficiency is low. Therefore, in the embodiment of the present application, the in-band collection software can be deployed in batches on a large number of servers in an automatic batch deployment manner, the deployment efficiency is improved, and the labor cost is saved. Specifically, the in-band collection software can be sent in batches to each server in advance, and the in-band collection software can be sent in batches to each server according to the in-band IP (Internet Protocol Address) and SSH (Secure Shell) protocol information of each server, and the deployment and installation are performed. After the in-band collection software is successfully installed on the server, the server returns an installation success message. After the system receives the installation success message returned by the server, the server is sent subscription information so as to subscribe to the in-band collection software on the server. The subscription information in the embodiment of the present application can specifically include a service IP of a service for receiving collection data sent by the in-band collection software, a UDP (User Datagram Protocol) port for data reporting, a reporting period, and a server identifier. After receiving the subscription information, the server can return subscription success information. The in-band collection software in the server will report the collected collection data according to the service IP, the UDP port for data reporting, the reporting period, and the server identifier in the subscription information, and send the collection data to the corresponding data reporting UDP port and the corresponding service IP based on the service IP and the UDP port for data reporting when reporting. The reported information carries the server identifier of the server where the in-band collection software is located in addition to the collection data. The in-band collection software of each subscribed server will report the collected collection data carrying the server identifier according to the corresponding data reporting UDP port and service IP.

[0080] S120: detecting whether the collection information reported by the in-band collection software of the server within a preset time length is received, if yes, entering S130; if no, entering S140;

[0081] Specifically, in the process of supervising the in-band collection software of each server, the in-band collection software of each server can be detected to detect whether the collection information reported by the in-band collection software of the server within a preset time length is received, if yes, entering S130; if no, entering S140.

[0082] S130: the in-band collection software of the server is normal;

[0083] S140: The in-band collection software of the server is abnormal.

[0084] Specifically, if the collection information reported by the in-band collection software of the server is received within the preset time length, it is considered that the in-band collection software of the server is normal; if the collection information reported by the in-band collection software of the server is not received within the preset time length, it is considered that the in-band collection software of the server is abnormal.

[0085] Further, before detecting whether the collection information reported by the in-band collection software of the server is received within the preset time length in S120, the method can further include:

[0086] receiving the collection data reported by the in-band collection software in the server;

[0087] obtaining the server identifier of the server based on the collection data;

[0088] judging whether the server identifier exists in the cache, if the server identifier exists, resetting the expiration time corresponding to the server identifier in the cache, if the server identifier does not exist, storing the server identifier into the cache and starting the expiration time corresponding to the server identifier; wherein the cache is provided with a fixed expiration time;

[0089] clearing the server identifier in the cache whose expiration time reaches the preset time length.

[0090] It should be noted that in the embodiment of the application, a cache can be preset and provided with a fixed expiration time, wherein after receiving the collection information reported by the in-band collection software of the server, the server identifier of the corresponding server can be obtained based on the collection information, and then it is further judged whether the server identifier exists in the cache, if the server identifier exists in the cache, it is considered that the collection information reported by the in-band collection software of the server last time has not reached the expiration time, and the collection information reported by the in-band collection software of the server is received again, and the expiration time corresponding to the server identifier can be reset, that is, the expiration time corresponding to the server identifier starts to count again; if the server identifier does not exist in the cache, it is considered that the collection information reported by the in-band collection software of the server is received for the first time, or the server identifier is cleared after the storage time of the server identifier reaches the corresponding preset time length, and the in-band collection software corresponding to the server identifier is abnormal and normal, and the collection information obtained is reported, and the server identifier is stored into the cache, and the server identifier starts to count, that is, the expiration time corresponding to the server identifier is started.

[0091] For example, after receiving the collection information reported by the in-band collection software of server 1, it is determined that the server 1 identifier exists in the cache, and the expiration time corresponding to the server 1 identifier has not reached the preset time length, so the expiration time corresponding to the server 1 identifier is directly reset, that is, it is re-timed. After receiving the collection information reported by the in-band collection software of server 2, it is determined that the server 2 identifier does not exist in the cache, so the server 2 identifier is stored in the cache, and the expiration time corresponding to the server 2 identifier is started to time. In addition, for each server identifier that already exists in the cache, if the expiration time corresponding to the server identifier reaches the preset time length, the server identifier is cleared. In the embodiment of the application, the cache with a fixed expiration time is used to manage the server identifier, which is simple and efficient, and is conducive to efficient supervision of the in-band collection software.

[0092] Further, the above process of detecting whether the collection information reported by the in-band collection software of the server is received within the preset time length can specifically include:

[0093] Timing the server identifier list of the cache;

[0094] Determining whether the server identifier corresponding to the server installed with the in-band collection software exists in the server identifier list. If it exists, the in-band collection software of the server is normal, and if it does not exist, the in-band collection software of the server is abnormal.

[0095] It should be noted that in the embodiment of the application, the server identifiers of each subscribed server are pre-acquired, wherein the subscribed server is a server that has installed the in-band collection software, and the in-band collection software will report the collection data. Specifically, the server identifier list of the cache is acquired in a timely manner, the server identifier list includes each server identifier currently stored in the cache, and for the server identifier of each subscribed server, whether the in-band collection software corresponding to the server identifier is normal can be determined by judging whether the server identifier exists in the server identifier list. Specifically, when the server identifier exists in the server identifier list, it indicates that the in-band collection software installed on the corresponding server is normal, and when the server identifier does not exist in the server identifier list, it indicates that the in-band collection software installed on the server is abnormal. In the embodiment of the application, the server identifier list of the cache can be used to effectively supervise the in-band collection software state of the subscribed server, accurately determine the state of the in-band collection software of each server, and better protect the performance of the server.

[0096] Further, after it is determined in the above S140 that the in-band collection software of the server is abnormal, the method can further include:

[0097] Abnormal analysis is performed on the in-band collection software of the server.

[0098] It should be noted that, in the embodiments of the present application, in order to further realize the automatic management and maintenance of the in-band collection software, after determining the abnormal in-band collection software of the server, abnormal analysis is performed on the in-band collection software of the server, so as to improve the operation and maintenance efficiency of the in-band collection software.

[0099] Further, the process of performing abnormal analysis on the in-band collection software of the server can specifically include:

[0100] Obtaining in-band information of the server according to the server identifier of the server;

[0101] Performing abnormal analysis on the in-band collection software of the server based on the in-band information.

[0102] It should be noted that, in the embodiments of the present application, after determining the abnormal in-band collection software, the in-band information of the server is obtained according to the server identifier of the server where the in-band collection software is located, and then abnormal analysis is performed on the in-band collection software based on the in-band information.

[0103] Further, the in-band information in the embodiments of the present application can specifically include in-band IP and SSH protocol information.

[0104] Therefore, the process of performing abnormal analysis on the in-band collection software of the server based on the in-band information can specifically include:

[0105] Judging whether the network is abnormal based on the in-band IP, if yes, generating network detection failure alarm information, and if no, proceeding to the next step;

[0106] Re-subscribing to the in-band collection software of the server, when the subscription is successful, ending the operation, and when the subscription fails, proceeding to the next step;

[0107] Detecting the connectivity of the SSH protocol based on the SSH protocol information, if the connection is abnormal, generating SSH connection abnormal alarm information, and if the connection is normal, proceeding to the next step;

[0108] Restarting the in-band collection software of the server, if the restart is successful, ending the operation, and if the restart fails, proceeding to the next step;

[0109] Reinstalling the in-band collection software of the server, and after the reinstallation is successful, re-subscribing to the in-band collection software of the server, and in the case of reinstallation failure, generating software reinstallation failure alarm information.

[0110] It should be noted that in the process of performing abnormal analysis on the in-band collection software of the server, the network can be first judged to be abnormal based on the in-band IP, the connectivity of the in-band IP can be detected by using PING (Packet Internet Groper, Internet packet explorer), and further detection can be performed to detect whether the network is abnormal. In the case of detecting network abnormality, PING detection failure alarm information can be generated and sent to the operation and maintenance personnel, so that the operation and maintenance personnel can process the abnormal situation of the in-band collection software based on the PING detection failure alarm information. In the case of detecting that the network is normal, the in-band collection software of the server can be subscribed again, that is, the subscription information is sent to the in-band collection software of the server again, and after receiving the subscription success information returned by the server, the operation is ended. At this time, the in-band collection software of the server will report the collection information based on the subscription information. When the subscription success information returned by the server is not received, it means that the re-subscription of the in-band collection software of the server fails. At this time, it can be considered whether the SSH protocol connectivity is abnormal. Therefore, the connectivity of the SSH protocol can be detected based on the SSH protocol information. In the case of detecting that the connectivity of the SSH protocol is abnormal, the SSH connection exception alarm information is generated and sent to the operation and maintenance personnel, so that the operation and maintenance personnel can maintain the connectivity of the SSH protocol based on the SSH connection exception alarm information, thereby improving the operation and maintenance efficiency of the in-band collection software. If the connectivity of the SSH protocol is normal, it is considered whether the in-band collection software of the server is closed. At this time, the in-band collection software of the server can be restarted. Specifically, the remote SSH protocol can be used to execute a restart command on the in-band collection software of the server. In the case of successful restart of the in-band collection software of the server, the operation is ended. In the case of failure of the in-band collection software of the server, the in-band collection software of the server can be reinstalled, and the in-band collection software of the server is re-subscribed after the in-band collection software is successfully reinstalled. After the subscription is successful, the operation is ended. In the case of failure of the in-band collection software reinstallation, software reinstallation failure alarm information is generated and sent to the operation and maintenance personnel, so that the operation and maintenance personnel can reinstall the in-band collection software of the server based on the software reinstallation failure alarm information, thereby improving the operation and maintenance efficiency.

[0111] It can be seen that, by subscribing to the server installed with the in-band collection software, the in-band collection software in the server can report the collected collection information, so that the state of the in-band collection software can be determined by detecting whether the collection information reported by the in-band collection software of the server is received within a preset time period, and when it is determined that the collection information reported by the in-band collection software of the server is received within the preset time period, it is determined that the in-band collection software of the server is normal, and when it is determined that the collection information reported by the in-band collection software is not received within the preset time period, it is determined that the in-band collection software of the server is abnormal. The server in-band collection software can be supervised, and the server can be maintained in time, so that the server can operate normally.

[0112] On the basis of the above-mentioned embodiments, the embodiments of the present application further provide a server in-band collection software supervision device, please refer to Figure 2 . The device comprises:

[0113] The subscription module 21 is used for pre-subscribing to the server installed with the in-band collection software, so that the in-band collection software of the server can report the collection information;

[0114] The detection module 22 is used for detecting whether the collection information reported by the in-band collection software of the server is received within a preset time period, and if yes, the first determination module 23 is triggered, and if no, the second determination module 24 is triggered;

[0115] The first determination module 23 is used for determining that the in-band collection software of the server is normal;

[0116] The second determination module 24 is used for determining that the in-band collection software of the server is abnormal.

[0117] It should be noted that, in the process of supervising the server in-band collection software, the subscription module 21 is used for pre-subscribing to the server installed with the in-band collection software, so that the in-band collection software of the server can report the collection information; the detection module 22 is used for detecting whether the collection information reported by the in-band collection software of the server is received within a preset time period, and if the collection information reported by the in-band collection software of the server is received, the first determination module 23 is used for determining that the in-band collection software of the server is normal; and if the collection information reported by the in-band collection software of the server is not received, the second determination module 24 is used for determining that the in-band collection software of the server is abnormal. The server in-band collection software can be supervised in the use process, the server can be maintained in time, and the server can operate normally.

[0118] Further, in actual application, the device further comprises:

[0119] The receiving module is configured to receive collection data reported by the in-band collection software in the server.

[0120] The obtaining module is configured to obtain a server identifier of the server based on the collection data.

[0121] The judging module is configured to judge whether the server identifier exists in the cache or not, and if the server identifier exists, the resetting module is triggered, and if the server identifier does not exist, the storing module is triggered.

[0122] The resetting module is configured to reset an expiration time corresponding to the server identifier in the cache.

[0123] The storing module is configured to store the server identifier into the cache and start the expiration time corresponding to the server identifier.

[0124] The clearing module is configured to clear the server identifier in the cache whose expiration time reaches a preset time length.

[0125] Further, the detection module 22 in the embodiment of the application can include:

[0126] The first obtaining unit is configured to obtain a server identifier list of the cache regularly.

[0127] The judging unit is configured to judge whether the server identifier corresponding to the server installed with the in-band collection software exists in the server identifier list or not, and if the server identifier exists, the first determining module is triggered, and if the server identifier does not exist, the second determining module is triggered.

[0128] Further, the device can further include:

[0129] The analysis module is configured to perform abnormal analysis on the in-band collection software of the server.

[0130] Optionally, the analysis module includes:

[0131] The second obtaining unit is configured to obtain in-band information of the server according to the server identifier of the server.

[0132] The analysis unit is configured to perform abnormal analysis on the in-band collection software of the server based on the in-band information.

[0133] It should be noted that the specific functions and implementations of each module in the above-mentioned in-band collection software of the server are described in the corresponding part of the above-mentioned method embodiment, and the embodiment of the application will not be described here.

[0134] On the basis of the above-mentioned embodiment, the embodiment of the application further provides a supervision system of the in-band collection software of the server, and the system includes:

[0135] The memory is configured to store a computer program.

[0136] a processor configured to implement the steps of the method for supervising the in-band collection software of the server when executing a computer program.

[0137] For example, the processor in the embodiment of the present application can be specifically configured to implement the step of subscribing to the server installed with the in-band collection software in advance, so that the in-band collection software of the server reports the collected information; and detecting whether the collected information reported by the in-band collection software of the server is received within a preset time length, if yes, the in-band collection software of the server is normal, and if no, the in-band collection software of the server is abnormal.

[0138] It should be noted that the server in-band collection software supervision system provided in the embodiment of the present application has the same beneficial effects as the method for supervising the in-band collection software of the server provided in the above embodiment, and the specific introduction of the method for supervising the in-band collection software of the server involved in the embodiment of the present application is referred to the above embodiment, which will not be repeated here.

[0139] On the basis of the above embodiment, the embodiment of the present application further provides a computer readable storage medium, and the computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the steps of the method for supervising the in-band collection software of the server.

[0140] The computer readable storage medium can include a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.

[0141] It should be noted that the computer readable storage medium provided in the embodiment of the present application has the same beneficial effects as the method for supervising the in-band collection software of the server provided in the above embodiment, and the specific introduction of the method for supervising the in-band collection software of the server involved in the embodiment of the present application is referred to the above embodiment, which will not be repeated here.

[0142] The embodiments in the specification are described in a progressive manner, and each embodiment focuses on the difference from other embodiments, and the same or similar parts of each embodiment can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the related parts can be referred to the method part.

[0143] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0144] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0145] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0146] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for monitoring server-side in-band data acquisition software, characterized in that, The method comprises the following steps: Subscribing to a server installed with in-band acquisition software in advance, so that the in-band acquisition software of the server reports acquisition information according to service IP, UDP port for data reporting, reporting period and server identifier in the subscription information; The subscription information comprises service IP of a service for receiving acquisition data sent by the in-band acquisition software, UDP port for data reporting, reporting period and server identifier; Detecting whether acquisition information reported by the in-band acquisition software of the server is received within a preset time period, if yes, the in-band acquisition software of the server is normal, if no, the in-band acquisition software of the server is abnormal; wherein: Before the detection, the method further comprises the following steps: Receiving acquisition data reported by the in-band acquisition software in the server; Obtaining the server identifier of the server based on the acquisition data; Judging whether the server identifier exists in a cache, if yes, resetting an expiration time corresponding to the server identifier in the cache, if no, storing the server identifier into the cache and starting an expiration time corresponding to the server identifier; wherein, the cache is provided with a fixed expiration time; Clearing the server identifier in the cache whose expiration time reaches a preset time period; The detection comprises the following steps: Obtaining a server identifier list of the cache regularly; Judging whether a server identifier corresponding to a server installed with in-band acquisition software exists in the server identifier list, if yes, the in-band acquisition software of the server is normal, if no, the in-band acquisition software of the server is abnormal.

2. The method of claim 1, wherein the server in-band acquisition software is configured to, After the in-band acquisition software of the server is abnormal, the method further comprises the following steps: Abnormal analysis on the in-band acquisition software of the server.

3. The method of claim 2, wherein the server in-band acquisition software is configured to, The abnormal analysis on the in-band acquisition software of the server comprises the following steps: Obtaining in-band information of the server according to the server identifier of the server; Abnormal analysis on the in-band acquisition software of the server based on the in-band information.

4. The method of claim 3, wherein the server in-band acquisition software is configured to, The in-band information comprises in-band IP and SSH protocol information; The abnormal analysis on the in-band acquisition software of the server based on the in-band information comprises the following steps: Judging whether the network is abnormal based on the in-band IP, if yes, generating network detection failure alarm information, if no, entering the next step; Resubscribing to the in-band acquisition software of the server, when the resubscription is successful, ending the operation, when the resubscription fails, entering the next step; Detecting SSH protocol connectivity based on the SSH protocol information, if the connection is abnormal, generating SSH connection abnormal alarm information, if the connection is normal, entering the next step; Restarting the in-band acquisition software of the server, if the restarting is successful, ending the operation, if the restarting fails, entering the next step; Reinstall the in-band collection software of the server, and after the reinstallation succeeds, re-subscribe the in-band collection software of the server, and generate a software reinstallation failure alarm information in the case of reinstallation failure.

5. The method of claim 1, wherein the server in-band acquisition software is configured to, Before pre-subscribing the server installed with the in-band collection software, comprising: Sending the in-band collection software to the server for installation.

6. A server in-band acquisition software monitoring device, characterized by, Comprising: A subscription module, configured to pre-subscribe the server installed with the in-band collection software, so that the in-band collection software of the server reports the collection information according to the service IP, the UDP port of data reporting, the reporting period and the server identifier in the subscription information; The subscription information comprises the service IP of the service for receiving the collection data sent by the in-band collection software, the UDP port of data reporting, the reporting period and the server identifier; A detection module, configured to detect whether the collection information reported by the in-band collection software of the server is received within a preset time length, if yes, triggering the first determination module; if no, triggering the second determination module; The first determination module is configured to determine that the in-band collection software of the server is normal; The second determination module is configured to determine that the in-band collection software of the server is abnormal; wherein: Further comprising: a receiving module, configured to receive the collection data reported by the in-band collection software in the server; an acquisition module, configured to acquire the server identifier of the server based on the collection data; a judgment module, configured to judge whether the server identifier exists in a cache, if yes, triggering a reset module; if no, triggering a storage module; wherein, the cache is provided with a fixed expiration time; the reset module is configured to reset the expiration time corresponding to the server identifier in the cache; the storage module is configured to store the server identifier into the cache and start the expiration time corresponding to the server identifier; a clearing module, configured to clear the server identifier in the cache whose expiration time reaches a preset time length; The detection module comprises: a first acquisition unit, configured to acquire the server identifier list of the cache regularly; a judgment unit, configured to judge whether the server identifier corresponding to the server installed with the in-band collection software exists in the server identifier list, if yes, triggering the first determination module; if no, triggering the second determination module.

7. A system for monitoring server in-band acquisition software, the system comprising: a server in-band acquisition software; a server in-band acquisition software monitor; and a server in-band acquisition software monitor interface. Comprising: A memory, configured to store a computer program; A processor, configured to execute the computer program to realize the steps of the supervision method of the in-band collection software of the server according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to realize the steps of the supervision method of the in-band collection software of the server according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Resource monitoring method and system, storage medium and equipment

    CN113704060A

  • In-band resource information query method and system, equipment and storage medium

    CN113852696A