Monitoring method, system and electronic equipment for optical-magnetic fusion storage server cluster

By deploying Prometheus and Nginx proxy services in the optical and magnetic fusion storage server cluster, using optical and magnetic storage collectors to obtain indicator information, and summarize and visualize it on the public network Prometheus and Grafana, combined with Alertmanager management alerts, the current solution is solved In some technology, the problem of the inability to effectively monitor the cluster of optical magnetic fusion storage servers has improved security and reduced operation and maintenance costs.

CN114328107BActive Publication Date: 2024-11-01BEIJING E HUALU INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111626238.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-28
Publication Date
2024-11-01
Estimated Expiration
2041-12-28

AI Technical Summary

Technical Problem

The existing storage server monitoring system cannot effectively monitor and early warning of the optical and magnetic fusion storage server cluster, resulting in poor security and thus increasing operation and maintenance costs.

Method used

By deploying Prometheus and Nginx proxy services in the optical and magnetic fusion storage server cluster, the optical storage collector and magnetic storage collector obtain indicator status information, and summarize and visually display it on the public network Prometheus and Grafana, combined with Alertmanager to manage alert information, Realize global monitoring and early warning of the optical and magnetic fusion storage server cluster.

Benefits of technology

It improves the security of the optical magnetic fusion storage server cluster, reduces operation and maintenance costs, and promptly detects and handles faults through effective monitoring and early warning mechanisms, and grasps the use of storage resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114328107B_ABST
    Figure CN114328107B_ABST
Patent Text Reader

Abstract

The present application provides a monitoring method, system, electronic device and computer-readable storage medium for an optical-magnetic fusion storage server cluster. The monitoring method for the optical-magnetic fusion storage server cluster includes: using each collector to obtain the indicator status information value of each monitored target indicator of each resource pool; wherein the resource pool is an optical-magnetic fusion storage server cluster deployed in various regions, and each resource pool deploys corresponding Prometheus and Nginx proxy services, and the collectors in Prometheus include optical storage collectors and magnetic storage collectors; using each Nginx proxy service to summarize the indicator status information value corresponding to each resource pool on the public network Prometheus; wherein the public network Prometheus is the Prometheus deployed on the public network side; using the public network Grafana to visualize the indicator status information value; wherein the public network Grafana is the Grafana deployed on the public network side. According to the embodiment of the present application, the security of the optical-magnetic fusion storage server cluster can be improved, and the operation and maintenance cost of the optical-magnetic fusion storage server cluster can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of monitoring optical-magnetic fusion storage server clusters, and particularly relates to a monitoring method, system, electronic device and computer-readable storage medium for optical-magnetic fusion storage server clusters. Background Technology

[0002] Storage server monitoring systems enable remote monitoring and control of servers, providing real-time updates on their operational status and facilitating server management for administrators. These systems not only monitor network status—including identifying all nodes in the network, determining their online status, network connectivity, and monitoring information such as operating systems, IP addresses, hostnames, and network traffic—but also monitor the static information of the managed servers. Existing storage server monitoring systems often utilize Prometheus and Grafana for monitoring.

[0003] The existing Prometheus exporter can only target conventional software or hardware resources. For optical-magnetic fusion storage system servers, there is no available HTTP interface to access Prometheus, which means that it is impossible to effectively monitor and provide early warnings for optical-magnetic fusion storage server clusters. This results in poor security for optical-magnetic fusion storage server clusters, which in turn increases the operation and maintenance costs of optical-magnetic fusion storage server clusters.

[0004] Therefore, how to improve the security of optical-magnetic fusion storage server clusters and thereby reduce their operation and maintenance costs is a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0005] This application provides a monitoring method, system, electronic device, and computer-readable storage medium for an optical-magnetic fusion storage server cluster, which can improve the security of the optical-magnetic fusion storage server cluster and thereby reduce the operation and maintenance cost of the optical-magnetic fusion storage server cluster.

[0006] In a first aspect, embodiments of this application provide a monitoring method for an optical-magnetic fusion storage server cluster, comprising:

[0007] Each collector is used to obtain the status information values ​​of the monitored target indicators of their respective resource pools. The resource pools are optical and magnetic fusion storage server clusters deployed in various regions. Each resource pool deploys corresponding Prometheus and Nginx proxy services. The collectors in Prometheus include optical storage collectors and magnetic storage collectors.

[0008] By utilizing various Nginx proxy services, the corresponding indicator status information values ​​of each resource pool are aggregated on the public network Prometheus; where public network Prometheus refers to Prometheus deployed on the public network side;

[0009] The public Grafana is used to visualize the status information of metrics; where public Grafana refers to Grafana deployed on the public network.

[0010] Optionally, after using the public Grafana platform to visualize the indicator status information values, the method also includes:

[0011] Based on preset alarm rules, alarm information is obtained using the public network Altermanager; where the public network Altermanager is an Altermanager deployed on the public network side;

[0012] Use the public network Altermanager to manage alert information.

[0013] Optionally, the status information values ​​of the metrics can be visualized using the public Grafana platform, including:

[0014] Using Grafana on the public network, the status information of indicators can be visualized on a large dashboard for operation and maintenance monitoring.

[0015] Optionally, the status information values ​​of the metrics can be visualized using the public Grafana platform, including:

[0016] Using the public Grafana, the status information values ​​of indicators are visualized according to preset display formats, including at least one of tables, line charts, and bar charts.

[0017] Optionally, each data collector can be used to acquire the status information values ​​of each monitored target indicator in its respective resource pool, including:

[0018] Each collector is used to acquire the corresponding indicator status information value of its respective resource pool through a round-robin training method based on a preset period.

[0019] Optionally, after using each collector to obtain the indicator status information values ​​of each monitored target indicator in its respective resource pool, the method further includes:

[0020] Store indicator status information values ​​with the same name and label.

[0021] Optionally, after using each collector to obtain the indicator status information values ​​of each monitored target indicator in its respective resource pool, the method further includes:

[0022] Classify indicator status information values ​​based on tags;

[0023] Using the data query language, query the indicator status information values ​​corresponding to the target tags in the target resource pool.

[0024] Secondly, embodiments of this application provide a monitoring system for an optical-magnetic fusion storage server cluster, comprising:

[0025] The status information value acquisition module is used to acquire the status information values ​​of various monitored target indicators in their respective resource pools using each collector. The resource pool is a cluster of optical and magnetic fusion storage servers deployed in various regions. Each resource pool deploys corresponding Prometheus and Nginx proxy services. The collectors in Prometheus include optical storage collectors and magnetic storage collectors.

[0026] The aggregation module is used to aggregate the metric status information values ​​corresponding to each resource pool on the public Prometheus using various Nginx proxy services; where public Prometheus refers to Prometheus deployed on the public network.

[0027] The display module is used to visualize and display indicator status information values ​​using public Grafana; where public Grafana refers to Grafana deployed on the public network.

[0028] Optionally, the system may also include:

[0029] The alarm information acquisition module is used to acquire alarm information using the public network Altermanager based on preset alarm rules; where the public network Altermanager is an Altermanager deployed on the public network side.

[0030] The alarm information management module is used to manage alarm information using the public network Altermanager.

[0031] Optionally, a display module is used to visualize and display indicator status information values ​​on a large operation and maintenance monitoring dashboard using the public Grafana network.

[0032] Optionally, a display module is used to visualize indicator status information values ​​using Grafana on the public network according to a preset display format; wherein the preset display format includes at least one of tables, line charts, and bar charts.

[0033] Optionally, a status information value acquisition module is used to acquire the indicator status information values ​​corresponding to their respective resource pools through a polling method based on a preset period using each collector.

[0034] Optionally, the system may also include:

[0035] The storage module is used to store indicator status information values ​​with the same name and label.

[0036] Optionally, the system may also include:

[0037] The classification module is used to classify indicator status information values ​​based on labels;

[0038] The query module is used to query the indicator status information values ​​corresponding to the target tags in the target resource pool using a data query language.

[0039] Thirdly, embodiments of this application provide an electronic device, which includes: a processor and a memory storing computer program instructions;

[0040] The monitoring method for the optical-magnetic fusion storage server cluster, as described in the first aspect, is implemented when the processor executes computer program instructions.

[0041] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer program instructions, which, when executed by a processor, implement the monitoring method for the optical-magnetic fusion storage server cluster as described in the first aspect.

[0042] The monitoring method, system, electronic device, and computer-readable storage medium of the optical-magnetic fusion storage server cluster in this application embodiment can improve the security of the optical-magnetic fusion storage server cluster and thereby reduce the operation and maintenance cost of the optical-magnetic fusion storage server cluster.

[0043] The monitoring method for this optical-magnetic fusion storage server cluster utilizes each collector to acquire the status information values ​​of various monitored target indicators in their respective resource pools; utilizes each Nginx proxy service to aggregate the status information values ​​of the corresponding indicators for their respective resource pools on the public network Prometheus; and utilizes the public network Grafana to visualize and display the status information values ​​of the indicators.

[0044] Since the collector includes both optical and magnetic storage collectors, it can solve the problem that existing collectors cannot collect information indicators of Blu-ray disc libraries. In other words, the optical and magnetic storage collectors can effectively monitor and provide early warnings for the optical-magnetic fusion storage server cluster, thereby improving the security of the optical-magnetic fusion storage server cluster and reducing its operation and maintenance costs. Attached Figure Description

[0045] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0046] Figure 1 This is a flowchart illustrating a monitoring method for an optical-magnetic fusion storage server cluster provided in one embodiment of this application;

[0047] Figure 2 This is a schematic diagram of the structure of a monitoring system for an optical-magnetic fusion storage server cluster provided in one embodiment of this application;

[0048] Figure 3 This is a schematic diagram of the structure of an electronic device provided in one embodiment of this application. Detailed Implementation

[0049] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.

[0050] It should be noted that, in this document, relational terms such as "first" and "second" are used merely 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..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.

[0051] Existing storage server monitoring systems mostly use Prometheus and Grafana for monitoring. However, existing Prometheus exporters are only available for conventional software or hardware resources. For optical-magnetic fusion storage system servers, there is no usable HTTP interface to connect to Prometheus, meaning that effective monitoring and early warning of optical-magnetic fusion storage server clusters is impossible. This results in poor security for optical-magnetic fusion storage server clusters, leading to increased operational costs.

[0052] To address the problems of existing technologies, embodiments of this application provide a monitoring method, system, electronic device, and computer-readable storage medium for an optical-magnetic fusion storage server cluster. The monitoring method for the optical-magnetic fusion storage server cluster provided in this application embodiment will be described first below.

[0053] Figure 1 A flowchart illustrating a monitoring method for an optical-magnetic fusion storage server cluster according to an embodiment of this application is shown. Figure 1 As shown, the monitoring method for this optical-magnetic fusion storage server cluster includes:

[0054] S101. Using each collector, obtain the indicator status information values ​​of each monitored target indicator in their respective resource pool.

[0055] The resource pool consists of optical and magnetic fusion storage server clusters deployed in various regions. Each resource pool deploys corresponding Prometheus and Nginx proxy services. The collectors in Prometheus include optical storage collectors and magnetic storage collectors.

[0056] Prometheus is an open-source system monitoring and alerting tool. Its basic principle is to periodically capture the status of monitored components via the Hypertext Transfer Protocol (HTTP). It can be connected to a monitoring system simply by providing an HTTP interface, without requiring any software development kit (SDK) or other integration processes. Prometheus offers multi-dimensional data models (time-series-based key / value pairs), flexible query and aggregation statements (PromQL), supports local storage on server nodes, and can interface with third-party time-series databases and OpenTSDB.

[0057] The exporter is a crucial component of Prometheus monitoring, responsible for collecting data metrics. Official plugins include node_exporter, blackbox_exporter, mysqld_exporter, and snmp_exporter, and custom exporters can also be developed to meet specific business needs. This application uses exporters including node_exporter and snmp_exporter, as well as exporters developed for monitoring optical-magnetic fusion storage, primarily the optical storage exporter gdas_exporter, and the magnetic storage exporters huawei_obs_exporter and E37_exporter, to address the issue of existing exporters being unable to collect information metrics from Blu-ray disc libraries.

[0058] In one embodiment, after acquiring the indicator status information values ​​of each monitored target indicator in their respective resource pool using each collector, the method further includes: storing the indicator status information values ​​with the same name and label.

[0059] Prometheus stores time-series data, which is a collection of consecutive data stored along the time dimension according to the same time order (same name and label). A time series is defined by a name (metric) and a set of key / value pairs; data with the same name and label belong to the same time series.

[0060] In one embodiment, each collector acquires the indicator status information values ​​of each monitored target indicator in its respective resource pool using a polling method based on a preset period.

[0061] Specifically, various exporters within each resource pool are connected to the Prometheus instance of that resource pool. Each resource pool's Prometheus instance configures the exporter's IP address and port via a configuration file, connecting each exporter to the Prometheus instance within that resource pool. Each exporter exposes an HTTP access address for retrieving current monitoring sample data. An instance of the exporter is called a target, and Prometheus periodically retrieves monitoring data from these targets using a polling method.

[0062] In one embodiment, after acquiring the indicator status information values ​​of each monitored target indicator in their respective resource pool using each collector, the method further includes:

[0063] Classify indicator status information values ​​based on tags;

[0064] Using the data query language, query the indicator status information values ​​corresponding to the target tags in the target resource pool.

[0065] The data query language can be PromQL (Prometheus Query Language), a proprietary data query DSL developed by Prometheus, used to support querying relevant information metrics and obtaining the status of monitored targets. Within the resource pool, Prometheus obtains the status information values ​​of various monitored metrics through different collectors.

[0066] S102. Utilize each Nginx proxy service to aggregate the corresponding indicator status information values ​​of their respective resource pools on the public Prometheus network.

[0067] Among them, the public network Prometheus refers to Prometheus deployed on the public network side.

[0068] Nginx is a high-performance HTTP and reverse proxy web server. Nginx proxy services are deployed within the resource pool to forward various monitoring information results from this resource pool to the public network Prometheus for aggregation.

[0069] Specifically, a public Prometheus instance is deployed as the central entry point to aggregate monitoring data from each resource pool. Another Prometheus instance is deployed on the public network. Monitoring metrics data collected by the Prometheus instances within each resource pool are forwarded to the public Prometheus instance via an Nginx proxy service within the resource pool. This achieves the effect of monitoring the optical-magnetic fusion storage resources of each resource pool through a single central entry point. Monitoring information collected from each resource pool is distinguished by tags and can be queried for specific resource pools and aggregated queries using PromQL.

[0070] S103. Use the public Grafana platform to visualize and display indicator status information values.

[0071] Among them, public network Grafana refers to Grafana deployed on the public network side.

[0072] Grafana is a cross-platform, open-source metrics analysis and visualization tool that allows you to query collected data, visualize it, and receive timely notifications.

[0073] In one embodiment, visualizing indicator status information values ​​using Grafana includes: visualizing indicator status information values ​​using Grafana according to a preset display format; wherein the preset display format includes at least one of a table, a line chart, and a bar chart.

[0074] Deploy Grafana on the public network as a monitoring platform for various resource pools and the overall situation. Specifically, Grafana is a fully open-source metrics analysis and visualization platform that can query, analyze, visualize, and configure alerts for data from various data sources. Grafana uses PromQL queries and, through the public network Prometheus, visualizes the collected monitoring metrics in tables, line charts, bar charts, and other formats, facilitating intuitive access to various information.

[0075] In one embodiment, after visualizing the indicator status information values ​​using the public Grafana platform, the method further includes:

[0076] Based on preset alarm rules, alarm information is obtained using the public network Altermanager; where the public network Altermanager is an Altermanager deployed on the public network side;

[0077] Use the public network Altermanager to manage alert information.

[0078] Deploy Alertmanager on the public network as an alarm management module to enable timely notification and handling of monitoring issues. Specifically, Alertmanager is an independent alarm module that receives alarms from clients such as Prometheus, processes them through grouping and deduplication, and then routes them to the correct receivers. Alerts can be sent to different module owners according to different rules. Alertmanager supports alarm methods such as Email and Slack, and can also be integrated with domestic IM tools such as DingTalk via webhooks.

[0079] Prometheus alerts are divided into two parts. Alert rules in the Prometheus server send alerts to Alertmanager. Alertmanager then manages these alerts, including silencing, suppressing, aggregating, and passing them through methods such as email notifications, call notification systems, and instant messaging platforms. Grouping categorizes alerts of similar nature into a single notification. The connection between Prometheus and Alertmanager is configured by creating alert rules in Prometheus. Alert rules are set in configuration files, and alert information is pushed via DingTalk, a channel that allows relevant operations and maintenance personnel to promptly understand issues discovered during monitoring.

[0080] In one embodiment, using the public Grafana platform to visualize metric status information values ​​includes:

[0081] Using Grafana on the public network, the status information of indicators can be visualized on a large dashboard for operation and maintenance monitoring.

[0082] A large-screen display for operation and maintenance monitoring is deployed as the main display interface for the optical-magnetic fusion monitoring system. Specifically, the operation and maintenance monitoring display screen is a self-developed monitoring information display module. It obtains and visualizes the results by calling relevant Prometheus interfaces and passing in PromQL query statements. It is mainly used for display in large-screen scenarios and, together with Grafana, constitutes the display part of the monitoring system.

[0083] The monitoring method for optical-magnetic fusion storage server clusters provided in this application utilizes Prometheus, a self-developed data collector, to acquire various metrics of optical-magnetic fusion storage resources. This data is then aggregated to a unified monitoring portal on the public network through deployment in various resource pools and proxy services within those pools, enabling global monitoring of optical-magnetic fusion storage resources across different locations. Furthermore, the application of components such as Grafana and Alertmanager facilitates the visualization of monitoring information and timely alarm notifications for optical-magnetic fusion storage resource failures. This method addresses the lack of effective monitoring of optical-magnetic fusion storage in existing technologies, providing strong support for the timely detection and handling of optical-magnetic fusion storage service failures and for understanding storage resource usage. It also improves the security of optical-magnetic fusion storage services and reduces their operational costs.

[0084] This application also provides a monitoring system for an optical-magnetic fusion storage server cluster. Figure 2 A schematic diagram of the monitoring system for this optical-magnetic fusion storage server cluster is shown. Figure 2 As shown, the monitoring system for this optical-magnetic fusion storage server cluster includes:

[0085] The status information value acquisition module 201 is used to acquire the status information values ​​of each monitored target indicator in their respective resource pools using each collector. The resource pool is a cluster of optical and magnetic fusion storage servers deployed in various regions. Each resource pool deploys corresponding Prometheus and Nginx proxy services. The collectors in Prometheus include optical storage collectors and magnetic storage collectors.

[0086] The aggregation module 202 is used to aggregate the indicator status information values ​​corresponding to each resource pool on the public network Prometheus using various Nginx proxy services; where public network Prometheus refers to Prometheus deployed on the public network side.

[0087] The display module 203 is used to visualize and display indicator status information values ​​using public Grafana; where public Grafana refers to Grafana deployed on the public network.

[0088] Optionally, the system may also include:

[0089] The alarm information acquisition module is used to acquire alarm information using the public network Altermanager based on preset alarm rules; where the public network Altermanager is an Altermanager deployed on the public network side.

[0090] The alarm information management module is used to manage alarm information using the public network Altermanager.

[0091] Optionally, the display module 203 is used to visualize the indicator status information values ​​on the operation and maintenance monitoring display screen using the public Grafana network.

[0092] Optionally, the display module 203 is used to visualize the indicator status information value using the public Grafana according to a preset display format; wherein the preset display format includes at least one of tables, line charts, and bar charts.

[0093] Optionally, the status information value acquisition module 201 is used to acquire the indicator status information values ​​corresponding to their respective resource pools through a polling method based on a preset period using each collector.

[0094] Optionally, the system may also include:

[0095] The storage module is used to store indicator status information values ​​with the same name and label.

[0096] Optionally, the system may also include:

[0097] The classification module is used to classify indicator status information values ​​based on labels;

[0098] The query module is used to query the indicator status information values ​​corresponding to the target tags in the target resource pool using a data query language.

[0099] Figure 2 Each module / unit in the system shown has an implementation Figure 1 The functions of each step in the process and their corresponding technical effects are described in detail here for the sake of brevity.

[0100] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown.

[0101] The electronic device may include a processor 301 and a memory 302 storing computer program instructions.

[0102] Specifically, the processor 301 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.

[0103] Memory 302 may include mass storage for data or instructions. For example, and not limitingly, memory 302 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where suitable, memory 302 may include removable or non-removable (or fixed) media. Where suitable, memory 302 may be internal or external to an electronic device. In a particular embodiment, memory 302 may be a non-volatile solid-state memory.

[0104] In one embodiment, memory 302 may be read-only memory (ROM). In one embodiment, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these.

[0105] The processor 301 reads and executes computer program instructions stored in the memory 302 to implement any of the optical-magnetic fusion storage server cluster monitoring methods in the above embodiments.

[0106] In one example, the electronic device may also include a communication interface 303 and a bus 310. For example, Figure 3 As shown, the processor 301, memory 302, and communication interface 303 are connected through bus 310 and complete communication with each other.

[0107] The communication interface 303 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.

[0108] Bus 310 includes hardware, software, or both, that couples components of an electronic device together. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 310 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, this application contemplates any suitable bus or interconnect.

[0109] Furthermore, in conjunction with the monitoring method of the optical-magnetic fusion storage server cluster in the above embodiments, this application embodiment can provide a computer-readable storage medium for implementation. This computer-readable storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the monitoring methods of the optical-magnetic fusion storage server cluster in the above embodiments.

[0110] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.

[0111] The functional modules shown in the above-described block diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.

[0112] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.

[0113] The aspects of this application have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by dedicated hardware performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

[0114] The above description is merely a specific implementation of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.

Claims

1. A monitoring method for an optical-magnetic fusion storage server cluster, characterized in that: include: Using each collector, the indicator status information value of each monitored target indicator of each resource pool is obtained respectively; wherein the resource pool is an optical-magnetic fusion storage server cluster deployed in various regions, each resource pool deploys corresponding Prometheus and Nginx proxy services respectively, and the collectors in the Prometheus include optical storage collectors and magnetic storage collectors; Utilize each of the Nginx proxy services to aggregate the indicator status information values ​​corresponding to each of the resource pools on the public network Prometheus; wherein the public network Prometheus is a Prometheus deployed on the public network side; The indicator status information value is visualized using the public network Grafana; wherein the public network Grafana is Grafana deployed on the public network side.

2. The monitoring method of the optical-magnetic fusion storage server cluster according to claim 1 is characterized in that: After visually displaying the indicator status information value using the public network Grafana, the method further includes: Based on the preset alarm rules, the alarm information is obtained by using the public network Altermanager; wherein the public network Altermanager is an Altermanager deployed on the public network side; The public network Altermanager is used to manage the alarm information.

3. The monitoring method of the optical-magnetic fusion storage server cluster according to claim 1 is characterized in that: The use of public network Grafana to visualize the indicator status information value includes: The public network Grafana is used to visualize the indicator status information value on the operation and maintenance monitoring display screen.

4. The monitoring method of the optical-magnetic fusion storage server cluster according to claim 1 is characterized in that: The use of public network Grafana to visualize the indicator status information value includes: The public network Grafana is used to visually display the indicator status information value according to a preset display format; wherein the preset display format includes at least one of a table, a line chart, and a bar chart.

5. The monitoring method of the optical-magnetic fusion storage server cluster according to claim 1 is characterized in that: The method of using each collector to obtain the indicator status information value of each monitored target indicator of each resource pool includes: Utilizing each of the collectors, the indicator status information values ​​corresponding to each of the resource pools are respectively obtained based on a preset period in a round-robin manner.

6. The monitoring method of the optical-magnetic fusion storage server cluster according to claim 1 is characterized in that: After using each collector to respectively obtain the indicator status information value of each monitored target indicator of each resource pool, the method further includes: The indicator status information value is stored according to the same name and label.

7. The monitoring method of the optical-magnetic fusion storage server cluster according to claim 1 is characterized in that: After using each collector to respectively obtain the indicator status information value of each monitored target indicator of each resource pool, the method further includes: Classifying the indicator status information value based on the label; Use the data query language to query the indicator status information value corresponding to the target tag in the target resource pool.

8. A monitoring system for an optical-magnetic fusion storage server cluster, characterized in that: include: The status information value acquisition module is used to use each collector to respectively obtain the indicator status information value of each monitored target indicator of each resource pool; wherein the resource pool is an optical-magnetic fusion storage server cluster deployed in various regions, each resource pool deploys corresponding Prometheus and Nginx proxy services, and the collectors in the Prometheus include optical storage collectors and magnetic storage collectors; A summary module, used to use each of the Nginx proxy services to summarize the indicator status information values ​​corresponding to each of the resource pools on the public network Prometheus; wherein the public network Prometheus is a Prometheus deployed on the public network side; A display module is used to visualize the indicator status information value using the public network Grafana; wherein the public network Grafana is Grafana deployed on the public network side.

9. An electronic device, characterized in that: The electronic device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, it implements the monitoring method of the optical-magnetic fusion storage server cluster as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by the processor, the monitoring method of the optical-magnetic fusion storage server cluster as described in any one of claims 1-7 is implemented.