Service monitoring method, apparatus and device

By using a unified monitoring platform that manages multiple data centers through a dispatch center, the cumbersome problem of operations and maintenance personnel having to monitor multiple data centers simultaneously is solved, enabling batch and automated management of server monitoring and reducing operational risks.

CN114500921BActive Publication Date: 2026-02-03NETSUNION CLEARING CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011157662.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-26
Publication Date
2026-02-03
Estimated Expiration
2040-10-26

AI Technical Summary

Technical Problem

In business systems deployed across multiple data centers, operations and maintenance personnel need to monitor multiple internet data centers simultaneously, which is cumbersome and time-consuming, increasing the risk of human error.

Method used

By obtaining monitoring requests from multiple target servers through the scheduling center, determining their corresponding target Internet Data Centers and monitoring platforms, obtaining the interface addresses, and polling and calling the monitoring platforms according to the interface addresses, batch operations can be performed on the monitoring of servers in multiple IDCs.

Benefits of technology

It enables batch and automated management of multiple IDC servers, reducing the operation time and risks for maintenance personnel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114500921B_ABST
    Figure CN114500921B_ABST
Patent Text Reader

Abstract

The application provides a service monitoring method, device and equipment. The method comprises the following steps: obtaining a monitoring request for a plurality of target servers, wherein the monitoring request comprises the identification of each target server in the plurality of target servers and the monitoring operation on each target server; determining the target IDC corresponding to each target server according to the identification of each target server, and determining the target monitoring platform corresponding to each target IDC; obtaining the interface address of each target monitoring platform; polling and calling each target monitoring platform according to the interface address, and controlling each target monitoring platform to perform the monitoring operation on the corresponding target server according to the monitoring request. Thus, the operation personnel do not need to log in the pages of a plurality of monitoring platforms for operation, batch operation of the server monitoring of the plurality of IDCs is realized, batch and automatic management is realized, the operation of the operation personnel is facilitated, and the operation risk is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Internet technology, and in particular to a service monitoring method, apparatus and equipment. Background Technology

[0002] Internet Data Centers (IDCs) provide large-scale, high-quality, secure, and reliable services to internet content providers, enterprises, media outlets, and various websites. Multiple IDCs can be deployed within a business system, and comprehensive monitoring is required to ensure the system's normal operation.

[0003] In related technologies, to ensure continuous business operation, a business is deployed on different data centers (IDCs) to achieve disaster recovery and backup. Therefore, when monitoring a business, operations and maintenance personnel need to monitor multiple IDCs at the same time, which is cumbersome and time-consuming. Summary of the Invention

[0004] This application aims to at least partially address one of the technical problems in the related art.

[0005] Therefore, this application proposes a service monitoring method to enable batch operation of server monitoring across multiple data centers, facilitating operation for maintenance personnel and reducing maintenance risks.

[0006] The first aspect of this application proposes a service monitoring method applied to the scheduling center of a centralized monitoring system, the method comprising:

[0007] Obtain monitoring requests for multiple target servers, wherein the monitoring requests include the identifier of each target server and the monitoring operation for each target server;

[0008] Based on the identifiers of each target server, the target Internet data center corresponding to each target server and the target monitoring platform corresponding to each target Internet data center are determined.

[0009] Obtain the interface addresses of each of the target monitoring platforms;

[0010] The target monitoring platforms are polled and invoked in a round-robin fashion according to the interface address, and each target monitoring platform is controlled to perform the monitoring operation on the corresponding target server according to the monitoring request.

[0011] In addition, the service monitoring method according to the above embodiments of this application may also have the following additional technical features:

[0012] Optionally, after obtaining monitoring requests for multiple target servers, the method further includes: obtaining the server IP (Internet Protocol) address of each target server; polling and logging into each target server based on the server IP address; and performing the monitoring operation on the currently logged-in target server according to the monitoring request.

[0013] Optionally, when the monitoring request is a monitoring item change request carrying a monitoring item identifier, controlling each of the target monitoring platforms to perform the monitoring operation on the corresponding target server according to the monitoring request includes: controlling the currently invoked target monitoring platform to perform a monitoring item change operation on the monitoring item corresponding to the monitoring item identifier in the corresponding target server according to the monitoring item change request.

[0014] Optionally, the execution of the monitoring item change operation includes one or more of the following: modifying the host monitored by the target server, enabling or disabling the monitoring status of the host, modifying the maintenance status of the host, enabling or disabling the monitoring of the host, modifying the monitoring template of the host, querying the monitoring status of the host, querying the monitoring status information of the target Internet data center, and querying monitoring-related information.

[0015] Optionally, there are multiple Internet data centers, and multiple Internet data centers correspond to multiple monitoring platforms, with the multiple monitoring platforms located on the same network segment.

[0016] A second aspect of this application provides a service monitoring device, comprising:

[0017] The first acquisition module is used to acquire monitoring requests for multiple target servers, wherein the monitoring requests include the identifier of each target server among the multiple target servers and the monitoring operation for each target server.

[0018] The determination module is used to determine the target Internet data center corresponding to each target server and the target monitoring platform corresponding to each target Internet data center based on the identifier of each target server.

[0019] The second acquisition module is used to acquire the interface addresses of each of the target monitoring platforms;

[0020] The control module is used to poll and call each of the target monitoring platforms according to the interface address, and control each of the target monitoring platforms to perform the monitoring operation on the corresponding target server according to the monitoring request.

[0021] Optionally, the apparatus further includes: a processing module, configured to obtain the server IP address of each target server; to poll and log in to the plurality of target servers according to the server IP address, and to perform the monitoring operation on the currently logged-in target server according to the monitoring request.

[0022] Optionally, the control module is specifically used to: when the monitoring request is a monitoring item change request carrying a monitoring item identifier, control the currently invoked target monitoring platform to perform a monitoring item change operation on the monitoring item corresponding to the monitoring item identifier in the corresponding target server according to the monitoring item change request.

[0023] Optionally, the execution of the monitoring item change operation includes one or more of the following: modifying the host monitored by the target server, enabling or disabling the monitoring status of the host, modifying the maintenance status of the host, enabling or disabling the monitoring of the host, modifying the monitoring template of the host, querying the monitoring status of the host, querying the monitoring status information of the target Internet data center, and querying monitoring-related information.

[0024] Optionally, the monitoring hosts of the Internet data center are located on the same network segment.

[0025] A third aspect of this application provides a computer device including a processor and a memory; wherein the processor runs a program corresponding to the executable program code stored in the memory to implement the service monitoring method as described in the first aspect embodiment.

[0026] A fourth aspect of this application provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the service monitoring method as described in the first aspect.

[0027] The fifth aspect of this application provides a centralized monitoring system, including:

[0028] The system includes a dispatch center and multiple monitoring platforms, each corresponding to a specific Internet data center.

[0029] The scheduling center is used to obtain monitoring requests for multiple target servers, the monitoring requests including the identifiers of each target server and the monitoring operations for each target server; based on the identifiers of each target server, determine the target Internet data center corresponding to each target server, and determine the target monitoring platform corresponding to each target Internet data center from the multiple monitoring platforms; obtain the interface address of each target monitoring platform, and call each target monitoring platform in a round-robin manner according to the interface address;

[0030] The target monitoring platform is used to perform the monitoring operation on the corresponding target server according to the monitoring request, based on the call from the scheduling center.

[0031] One embodiment of the above application has the following advantages or beneficial effects: Monitoring requests for multiple target servers are obtained through a scheduling center; based on the identifiers of each target server in the monitoring requests, the target Internet Data Center corresponding to each target server and the target monitoring platform corresponding to each target Internet Data Center are determined; the interface addresses of each target monitoring platform are obtained; each target monitoring platform is polled and invoked according to its interface address, and each target monitoring platform is controlled to perform monitoring operations on its corresponding target server according to the monitoring requests. Therefore, maintenance personnel do not need to log in to multiple monitoring platform pages separately to operate, enabling batch operations for monitoring servers in multiple IDCs, facilitating maintenance personnel's operations, saving time, and reducing maintenance risks.

[0032] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0033] Figure 1 This is a flowchart illustrating a service monitoring method provided in an embodiment of this application.

[0034] Figure 2 A flowchart illustrating another service monitoring method provided in an embodiment of this application;

[0035] Figure 3 A flowchart illustrating another service monitoring method provided in an embodiment of this application;

[0036] Figure 4 This is a schematic diagram of the structure of a centralized monitoring system provided in an embodiment of this application;

[0037] Figure 5 This is a schematic diagram of the structure of a service monitoring device provided in an embodiment of this application. Detailed Implementation

[0038] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.

[0039] In real-world business applications, multiple internet data centers can be deployed, such as in scenarios that provide services to different geographical regions. Business environments often involve multiple regions, and internet data centers can be deployed in each of these regions. To ensure the normal operation of the business system, comprehensive monitoring of its hardware and software is necessary, especially monitoring the various statuses of the servers.

[0040] Currently, in the solution of monitoring servers through a monitoring platform, in order to ensure the continuous operation of business, a business is deployed on different IDCs to achieve disaster recovery backup. Therefore, when monitoring a business, the operation and maintenance personnel need to monitor multiple IDCs at the same time, which is cumbersome and time-consuming. At the same time, due to the complexity of the operation, the risk of human error is increased.

[0041] This application provides a service monitoring method that enables the management of monitoring content across multiple data centers (IDCs), allows for batch operations on servers in multiple IDCs, achieves batch and automated management, facilitates operations for maintenance personnel, and reduces maintenance risks.

[0042] The service monitoring method, apparatus, and device according to embodiments of this application are described below with reference to the accompanying drawings.

[0043] Figure 1 This is a flowchart illustrating a service monitoring method provided in an embodiment of this application, as shown below. Figure 1 As shown, the method includes:

[0044] Step 101: Obtain monitoring requests for multiple target servers. The monitoring requests include the identifiers of each target server and the monitoring operations performed on each target server.

[0045] The method described in this application is applied to the dispatch center of a centralized monitoring system.

[0046] In this embodiment, the business system deploys multiple Internet data centers, each including at least one server. When monitoring a server, a monitoring request is obtained, carrying the identifier of the target server. The monitoring request may carry the identifiers of multiple target servers; optionally, the server identifier is the server's IP address.

[0047] As an example, a server list is pre-set, which includes servers from various Internet data centers. The target server is determined based on the selection operation of the operation and maintenance personnel in the server list, and then a monitoring request carrying the identifier of the target server is obtained.

[0048] Step 103: Based on the identifier of each target server, determine the target Internet data center corresponding to each target server, and the target monitoring platform corresponding to each target Internet data center.

[0049] In one embodiment of this application, a pre-established correspondence between servers and the Internet data centers to which the servers belong is constructed. For example, servers are grouped according to their identifiers, with the identifiers of servers in each Internet data center grouped together, thereby establishing a correspondence between server identifiers and Internet data centers. In this embodiment, determining the target Internet data center where the target server is located based on its identifier includes: querying the pre-established correspondence to determine the target Internet data center corresponding to the identifier of the target server.

[0050] The number of target Internet data centers can be one or more. That is, when multiple target servers belong to the same Internet data center, that Internet data center is determined as the target Internet data center; when multiple target servers belong to different Internet data centers, the multiple Internet data centers to which they belong are determined as the target Internet data centers.

[0051] Optionally, the business system also includes multiple monitoring platforms, with each internet data center corresponding to a specific monitoring platform. The monitoring platform monitors the servers in the corresponding internet data center. Due to the large number of devices and the massive amount of monitoring data in the business system, dividing the monitoring platforms according to internet data centers avoids slow page refreshes and saves time. The monitoring platform can be used to monitor servers in the internet data centers and configure the monitoring content.

[0052] In this embodiment, after determining the target Internet data center, the target monitoring platform corresponding to each target Internet data center is determined.

[0053] Step 105: Obtain the interface addresses of each target monitoring platform.

[0054] In this embodiment, multiple monitoring platforms are managed uniformly through the dispatch center of a centralized monitoring system. After determining the target monitoring platform corresponding to each target Internet data center, the dispatch center obtains the interface address of each target monitoring platform to establish a communication connection with the target monitoring platform. The centralized monitoring system corresponds to a single front-end page. The interface address is, for example, a URL (Uniform Resource Locator) address.

[0055] Step 107: Poll the target monitoring platforms in a round-robin fashion according to the interface address, and control each target monitoring platform to perform monitoring operations on the corresponding target server according to the monitoring request.

[0056] In this embodiment, the scheduling center polls and calls each target monitoring platform according to the interface address, and controls each target monitoring platform to perform monitoring operations on the corresponding target server according to the monitoring request.

[0057] Among them, there is a one-to-one correspondence between the Internet data center and the monitoring platform. The server corresponding to the monitoring platform includes the server in the Internet data center corresponding to the monitoring platform.

[0058] As an example, taking target servers 1-3 as an example, target servers 1-3 all belong to IDC-1, and IDC-1 corresponds to monitoring platform-1. Then the scheduling center controls monitoring platform-1 to perform monitoring operations on target servers 1-3 according to the monitoring request.

[0059] As another example, taking target servers 1-2 as an example, target servers 1-2 belong to IDC-1 and IDC-2 respectively. IDC-1 corresponds to monitoring platform-1 and IDC-2 corresponds to monitoring platform-2. Then the scheduling center controls monitoring platform-1 to perform monitoring operations on target server 1 according to the monitoring request, and monitoring platform-2 to perform monitoring operations on target server 2 according to the monitoring request.

[0060] In one embodiment of this application, when the monitoring request is a monitoring item change request carrying a monitoring item identifier, the scheduling center controls the currently invoked target monitoring platform to perform a monitoring item change operation on the monitoring item corresponding to the monitoring item identifier in the corresponding target server according to the monitoring item change request.

[0061] In this embodiment, performing monitoring item modification operations includes one or more of the following: modifying the host monitored by the target server, enabling or disabling the host's monitoring status, modifying the host's maintenance status, enabling or disabling host monitoring, modifying the host's monitoring template, querying the host's monitoring status, querying the monitoring status information of the target Internet Data Center, and querying monitoring-related information. The monitoring status information of the Internet Data Center includes the status information of all or some of the monitored hosts in the IDC. The monitoring-related information includes monitoring template information, trigger information, and maintenance group information. Monitoring templates can be of various types, such as server templates, host templates, and database templates. By implementing the above functions, the diverse monitoring item management needs for servers, hosts, and Internet Data Centers in different scenarios can be met.

[0062] In one embodiment of this application, there are multiple Internet Data Centers (IDCs), each corresponding to a different monitoring platform. Optionally, the multiple monitoring platforms are located on the same network segment, meaning any two monitoring platforms reside on the same network segment, to support unified management of the multiple monitoring platforms by the dispatch center. Optionally, the username and password for logging into the monitoring platforms of each IDC are the same, and the monitoring templates for each IDC are identical.

[0063] The service monitoring method in this application embodiment obtains monitoring requests for multiple target servers through a scheduling center. Based on the identifiers of each target server in the monitoring requests, it determines the target Internet Data Center (IDC) corresponding to each target server and the target monitoring platform corresponding to each target IDC. It then obtains the interface addresses of each target monitoring platform, polls and calls each target monitoring platform according to the interface addresses, and controls each target monitoring platform to perform monitoring operations on the corresponding target servers according to the monitoring requests. Therefore, it eliminates the need for maintenance personnel to log in to multiple monitoring platform pages separately, enabling batch operations for monitoring servers in multiple IDCs. This achieves batch and automated management, facilitating operations for maintenance personnel and reducing operational risks.

[0064] Based on the above embodiments, after obtaining a monitoring request, it is also possible to log in to each server according to the server IP address, thereby realizing the monitoring operation of the server.

[0065] Figure 2 This is a flowchart illustrating another service monitoring method provided in an embodiment of this application, as shown below. Figure 2 As shown, the method includes:

[0066] Step 201: Obtain monitoring requests for multiple target servers.

[0067] The monitoring request includes the identifiers of each target server among multiple target servers and the monitoring operations for each target server. In this embodiment, the identifier of the server is the server's IP address. Multiple target servers may belong to the same IDC or different IDCs.

[0068] Step 203: Obtain the server IP address of each target server.

[0069] The dispatch center obtains the server IP address of each target server based on the IP address carried in the monitoring request.

[0070] Step 205: Based on the server IP address, log in to each target server in a round-robin fashion, and perform monitoring operations on the currently logged-in target server according to the monitoring request.

[0071] As an example, taking target servers 1-3 as an example, the scheduling center logs into target servers 1-3 in round-robin according to their IP addresses, and performs monitoring operations on the currently logged-in target servers according to the monitoring requests.

[0072] In one embodiment of this application, when the monitoring request is a monitoring item change request carrying a monitoring item identifier, the scheduling center performs a monitoring item change operation on the monitoring item corresponding to the monitoring item identifier in the currently logged-in target server according to the monitoring item change request. This enables the performance of change operations on specified monitoring items, meeting the change requirements for various monitoring items in different scenarios. The description of performing monitoring item change operations in the foregoing embodiments also applies to this embodiment, and will not be repeated here.

[0073] In this embodiment, the scheduling center polls and logs into each target server based on the server IP address, and performs monitoring operations on the currently logged-in target server according to the monitoring request. This enables batch operations for monitoring servers in multiple IDCs, achieving batch and automated management, facilitating operations for maintenance personnel, and reducing maintenance risks.

[0074] Based on the above embodiments, the dispatch center can also perform monitoring operations on all services in the IDC according to the IDC identifier carried in the monitoring request.

[0075] Figure 3 This is a flowchart illustrating another service monitoring method provided in an embodiment of this application, as shown below. Figure 3 As shown, the method includes:

[0076] Step 301: Obtain monitoring requests for multiple target servers.

[0077] The monitoring request includes the identifiers of multiple Internet data centers and the monitoring operations for each target server.

[0078] Step 303: Determine the target Internet data center corresponding to the identifiers of the multiple Internet data centers, and the target monitoring platform corresponding to each target Internet data center.

[0079] In this embodiment, the business system also includes multiple monitoring platforms, with each internet data center corresponding to one of the monitoring platforms. The monitoring platforms monitor the servers of the corresponding internet data centers. After determining the target internet data center, the target monitoring platform corresponding to each target internet data center is determined.

[0080] Step 305: Obtain the interface addresses of each target monitoring platform.

[0081] In this embodiment, a centralized monitoring system is pre-configured to manage multiple monitoring platforms uniformly through the system's dispatch center. After determining the target monitoring platform corresponding to each target Internet data center, the dispatch center obtains the interface address of each target monitoring platform to establish a communication connection. The centralized monitoring system corresponds to a front-end page. The interface address, for example, is a URL address.

[0082] Step 307: Poll the target monitoring platforms in a round-robin fashion according to the interface address, and control each target monitoring platform to perform monitoring operations on all servers of each target Internet data center according to the monitoring request.

[0083] In this embodiment, all servers in the target Internet data center are the target servers. The scheduling center controls each target monitoring platform to perform monitoring operations on all servers in each target Internet data center according to the monitoring request.

[0084] In one embodiment of this application, when the monitoring request is a monitoring item change request carrying a monitoring item identifier, the scheduling center performs a monitoring item change operation on the monitoring items corresponding to the monitoring item identifier in all servers of each target Internet data center according to the monitoring item change request. The description of performing the monitoring item change operation in the foregoing embodiments also applies to this embodiment, and will not be repeated here.

[0085] In this embodiment, the scheduling center performs monitoring operations on all servers of each target Internet Data Center, realizing batch operation of server monitoring across multiple IDCs, achieving batch and automated management, facilitating operation for maintenance personnel, and reducing maintenance risks.

[0086] To implement the above embodiments, this application also proposes a centralized monitoring system.

[0087] Figure 4 This is a schematic diagram of the structure of a centralized monitoring system provided in an embodiment of this application.

[0088] Reference Figure 4 The centralized monitoring system includes a dispatch center and multiple monitoring platforms, each corresponding to a different Internet data center.

[0089] The scheduling center is used to obtain monitoring requests for multiple target servers, the monitoring requests including the identifiers of each target server and the monitoring operations for each target server; based on the identifiers of each target server, it determines the target Internet data center corresponding to each target server, and determines the target monitoring platform corresponding to each target Internet data center from multiple monitoring platforms; it obtains the interface address of each target monitoring platform, and calls each target monitoring platform in a round-robin manner according to the interface address.

[0090] The target monitoring platform is used to perform monitoring operations on the corresponding target servers according to the monitoring requests made by the scheduling center.

[0091] The explanations and descriptions of the service monitoring methods in the foregoing embodiments also apply to the centralized monitoring system in this embodiment, and will not be repeated here.

[0092] To implement the above embodiments, this application also proposes a service monitoring device.

[0093] Figure 5 This is a schematic diagram of the structure of a service monitoring device provided in an embodiment of this application, as shown below. Figure 5 As shown, the device includes: a first acquisition module 10, a determination module 20, a second acquisition module 30, and a control module 40.

[0094] The first acquisition module 10 is used to acquire monitoring requests for multiple target servers. The monitoring requests include the identifiers of each target server and the monitoring operations performed on each target server.

[0095] The determination module 20 is used to determine the target Internet data center corresponding to each target server and the target monitoring platform corresponding to each target Internet data center based on the identifier of each target server.

[0096] The second acquisition module 30 is used to acquire the interface addresses of each of the target monitoring platforms.

[0097] The control module 40 is used to poll and call each of the target monitoring platforms according to the interface address, and control each of the target monitoring platforms to perform the monitoring operation on the corresponding target server according to the monitoring request.

[0098] As one possible implementation, the device further includes: a processing module, configured to obtain the server IP address of each target server; to poll and log in to the plurality of target servers according to the server IP address, and to perform the monitoring operation on the currently logged-in target server according to the monitoring request.

[0099] As one possible implementation, the control module 40 is specifically used to: when the monitoring request is a monitoring item change request carrying a monitoring item identifier, control the currently invoked target monitoring platform to perform a monitoring item change operation on the monitoring item corresponding to the monitoring item identifier in the corresponding target server according to the monitoring item change request.

[0100] Optionally, performing monitoring item change operations includes: modifying the host monitored by the target server, enabling or disabling the monitoring status of the host, modifying the maintenance status of the host, enabling or disabling the monitoring of the host, modifying the monitoring template of the host, querying the monitoring status of the host, querying the monitoring status information of the target Internet data center, and querying one or more of the following:

[0101] Optionally, the monitoring hosts of the Internet data center are located on the same network segment.

[0102] The explanations and descriptions of the service monitoring method in the foregoing embodiments also apply to the service monitoring device in this embodiment, and will not be repeated here.

[0103] According to the service monitoring device in this application embodiment, maintenance personnel do not need to log in to the pages of multiple monitoring platforms to operate, enabling batch operation of server monitoring in multiple IDCs, which facilitates operation by maintenance personnel, saves time, and reduces maintenance risks.

[0104] In the above embodiments, the Internet data center is a standardized, professional-grade computer room environment established by Internet service providers such as telecommunications companies using existing Internet communication lines and bandwidth resources to provide enterprises and governments with comprehensive services such as server hosting, rental, and related value-added services.

[0105] To implement the above embodiments, this application also proposes a computer device, including a processor and a memory; wherein the processor runs a program corresponding to the executable program code by reading executable program code stored in the memory, so as to implement the service monitoring method as described in any of the foregoing embodiments.

[0106] To implement the above embodiments, this application also proposes a computer-readable storage medium storing a computer program that, when executed by a processor, implements the service monitoring method as described in any of the foregoing embodiments.

[0107] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0108] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0109] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.

[0110] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.

[0111] It should be understood that various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0112] Those skilled in the art will understand that all or part of the steps of the methods described in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it includes one or a combination of the steps of the method embodiments.

[0113] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.

[0114] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of this application.

Claims

1. A service monitoring method, applied to the dispatch center of a centralized monitoring system, wherein, include: Obtain monitoring requests for multiple target servers, wherein the monitoring requests include the identifier of each target server and the monitoring operation for each target server; Based on the identifiers of each target server, the target Internet data center corresponding to each target server and the target monitoring platform corresponding to each target Internet data center are determined. There are multiple Internet data centers, and multiple Internet data centers correspond to multiple monitoring platforms. The multiple monitoring platforms are located on the same network segment, the username and password for logging into the monitoring platform corresponding to each Internet data center are the same, and the monitoring templates of each Internet data center are consistent. Obtain the interface addresses of each of the target monitoring platforms; The target monitoring platforms are polled and invoked in a round-robin fashion according to the interface address, and each target monitoring platform is controlled to perform the monitoring operation on the corresponding target server according to the monitoring request.

2. The method as described in claim 1, wherein, After obtaining monitoring requests for multiple target servers, it also includes: Obtain the server IP address of each target server; Based on the server IP address, the system polls and logs into each target server in a round-robin fashion, and performs the monitoring operation on the currently logged-in target server according to the monitoring request.

3. The method as described in claim 1, wherein, When the monitoring request is a monitoring item change request carrying a monitoring item identifier, controlling each of the target monitoring platforms to perform the monitoring operation on the corresponding target server according to the monitoring request includes: The target monitoring platform being invoked controls the execution of a monitoring item change operation on the monitoring item corresponding to the monitoring item identifier in the target server, based on the monitoring item change request.

4. The method of claim 3, wherein, The execution of monitoring item change operations includes: modifying the host monitored by the target server, enabling or disabling the monitoring status of the host, modifying the maintenance status of the host, enabling or disabling the monitoring of the host, modifying the monitoring template of the host, querying the monitoring status of the host, querying the monitoring status information of the target Internet data center, and querying one or more of the following monitoring-related information:

5. A service monitoring device, wherein, include: The first acquisition module is used to acquire monitoring requests for multiple target servers, wherein the monitoring requests include the identifier of each target server among the multiple target servers and the monitoring operation for each target server. The determination module is used to determine the target Internet data center corresponding to each target server and the target monitoring platform corresponding to each target Internet data center based on the identifier of each target server; wherein there are multiple Internet data centers, multiple Internet data centers correspond to multiple monitoring platforms, the multiple monitoring platforms are located on the same network segment, the username and password for logging into the monitoring platform corresponding to each Internet data center are the same, and the monitoring templates of each Internet data center are consistent. The second acquisition module is used to acquire the interface addresses of each of the target monitoring platforms; The control module is used to poll and call each of the target monitoring platforms according to the interface address, and control each of the target monitoring platforms to perform the monitoring operation on the corresponding target server according to the monitoring request.

6. The apparatus of claim 5, wherein, Also includes: The processing module is used to obtain the server IP address of each target server; Based on the server IP address, log in to the multiple target servers in a round-robin fashion, and perform the monitoring operation on the currently logged-in target server according to the monitoring request.

7. The apparatus of claim 5, wherein, The control module is specifically used for: When the monitoring request is a monitoring item change request carrying a monitoring item identifier, the target monitoring platform currently being called controls the monitoring item change operation to be performed on the monitoring item corresponding to the monitoring item identifier in the corresponding target server according to the monitoring item change request.

8. A centralized monitoring system, wherein, include: The system includes a dispatch center and multiple monitoring platforms, each corresponding to a specific Internet data center. The scheduling center is used to obtain monitoring requests for multiple target servers. The monitoring requests include the identifier of each target server and the monitoring operation for each target server. Based on the identifiers of each target server, the target Internet data center corresponding to each target server is determined, and the target monitoring platform corresponding to each target Internet data center is determined from the multiple monitoring platforms; wherein, there are multiple Internet data centers, and multiple Internet data centers correspond to multiple monitoring platforms, the multiple monitoring platforms are located on the same network segment, the username and password for logging into the monitoring platform corresponding to each Internet data center are the same, and the monitoring templates of each Internet data center are consistent. Obtain the interface address of each target monitoring platform, and call each target monitoring platform in a round-robin manner according to the interface address; The target monitoring platform is used to perform the monitoring operation on the corresponding target server according to the monitoring request, based on the call from the scheduling center.

9. A computer device, wherein, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the program, implements the service monitoring method as described in any one of claims 1-4.

10. A computer-readable storage medium having a computer program stored thereon, wherein, When the program is executed by the processor, it implements the service monitoring method as described in any one of claims 1-4.

Citation Information

Patent Citations

  • Road vehicle monitoring platform system based on double server clusters

    CN103795793A