A Zabbix-based information monitoring method, device, equipment and storage medium

By identifying the monitoring needs and input parameters of the target application system within the Zabbix monitoring system and automating the query of the target monitoring objects, the problem of low efficiency and high cost of the Zabbix monitoring system's management platform when the enterprise scales up is solved, enabling rapid deployment and efficient information configuration management.

CN115629943BActive Publication Date: 2026-04-17SHANGHAI GRANDAGE DATA SYST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHANGHAI GRANDAGE DATA SYST CO LTD
Filing Date
2022-11-14
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

As enterprises expand, the existing Zabbix monitoring system suffers from a complex management platform architecture, long development cycles, low operating efficiency, difficult maintenance, and high costs, resulting in low deployment efficiency and low information monitoring efficiency of the information monitoring management platform.

Method used

By determining the monitoring requirements of the target application system, selecting candidate function cards in Zabbix, inputting parameters, and querying the target monitoring objects, automated information configuration management can be achieved.

Benefits of technology

It enables rapid deployment of the information monitoring and management platform, improves the accuracy of information monitoring and the efficiency of information configuration management, and reduces development costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115629943B_ABST
    Figure CN115629943B_ABST
Patent Text Reader

Abstract

The application discloses a kind of information monitoring method, device and storage medium based on Zabbix, equipment, comprising: according to information monitoring request, determine the target application system needing to carry out system state monitoring, and determine the target monitoring demand of the target application system;According to the target monitoring demand, determine target function card from candidate function card in Zabbix, and according to the information monitoring request, determine the target input parameter of the target function card;According to the target function card and the target input parameter, query target monitoring object from the target application system, if query is successful and query result is not empty, then according to query result, determine the target object information of the target monitoring object;According to the information monitoring request and the target object information, information configuration management is carried out to the target monitoring object.Can improve the development efficiency of management platform, reduce development cost, while improving the information monitoring efficiency of information monitoring management platform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computers, and in particular to an information monitoring method, apparatus, device and storage medium based on Zabbix. Background Technology

[0002] Currently, for enterprises using the Zabbix monitoring system, as their scale expands, the scope of their monitoring also grows. This necessitates automated methods for configuring and managing the information of Zabbix monitored objects. Configuring and managing monitored objects through a browser requires building a browser-server architecture management platform. This platform is complex, has a long development cycle, low operating efficiency, difficult maintenance, and high development costs. Therefore, how to quickly deploy a Zabbix-based information monitoring management platform, improve its development efficiency, reduce development costs, and simultaneously enhance its monitoring efficiency is a problem that needs to be solved. Summary of the Invention

[0003] This invention provides an information monitoring method, apparatus, device, and storage medium based on Zabbix, which can improve the development efficiency of the management platform, reduce development costs, and improve the information monitoring efficiency of the information monitoring management platform.

[0004] According to one aspect of the present invention, an information monitoring method based on Zabbix is ​​provided, comprising:

[0005] Based on the information monitoring request, identify the target application system that needs to be monitored for system status, and determine the target monitoring requirements of the target application system.

[0006] Based on the target monitoring requirements, the target function card is determined from the candidate function cards in Zabbix, and the target input parameters of the target function card are determined based on the information monitoring request.

[0007] Based on the target function card and the target input parameters, query the target monitoring object from the target application system. If the query is successful and the query result is not empty, determine the target object information of the target monitoring object based on the query result.

[0008] Based on the information monitoring request and the target object information, information configuration management is performed on the target monitoring object.

[0009] According to another aspect of the present invention, a Zabbix-based information monitoring device is provided, the device comprising:

[0010] The target monitoring requirement determination module is used to determine the target application system that needs to be monitored for system status based on the information monitoring request, and to determine the target monitoring requirements of the target application system.

[0011] The target input parameter determination module is used to determine the target function card from the candidate function cards in Zabbix according to the target monitoring requirements, and to determine the target input parameters of the target function card according to the information monitoring request.

[0012] The target object information determination module is used to query the target monitoring object from the target application system based on the target function card and the target input parameters. If the query is successful and the query result is not empty, the target object information of the target monitoring object is determined based on the query result.

[0013] The information configuration management module is used to perform information configuration management on the target monitoring object according to the information monitoring request and the target object information.

[0014] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0015] At least one processor; and

[0016] A memory communicatively connected to the at least one processor; wherein,

[0017] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the Zabbix-based information monitoring method according to any embodiment of the present invention.

[0018] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the Zabbix-based information monitoring method according to any embodiment of the present invention.

[0019] The technical solution of this invention involves determining the target application system requiring system status monitoring based on an information monitoring request, and determining the target monitoring requirements of the target application system. Based on the target monitoring requirements, a target function card is determined from candidate function cards in Zabbix, and the target input parameters of the target function card are determined based on the information monitoring request. Based on the target function card and target input parameters, a target monitoring object is queried from the target application system. If the query is successful and the query result is not empty, the target object information of the target monitoring object is determined based on the query result. Based on the information monitoring request and the target object information, information configuration management is performed on the target monitoring object. This solves the problems of low deployment efficiency, high development cost, and low efficiency in information monitoring and information configuration management of the target application system when monitoring and configuring the target application system through Zabbix. The above solution identifies the target application systems requiring system status monitoring based on information monitoring requests, as well as the target monitoring needs of these systems. Based on these needs, it determines the target function cards in Zabbix that require parameter configuration, inputs the target input parameters into these function cards, and retrieves the target object information based on these parameters. Finally, it determines the information configuration management scheme for the target monitored objects. This approach achieves automated information monitoring and configuration management of the target application systems, enables rapid deployment of the information monitoring management platform, improves the accuracy of information monitoring of the target application systems, and enhances the efficiency of information configuration management.

[0020] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0021] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0022] Figure 1 A flowchart of an information monitoring method based on Zabbix provided in Embodiment 1 of the present invention;

[0023] Figure 2 This is a flowchart of an information monitoring method based on Zabbix provided in Embodiment 2 of the present invention;

[0024] Figure 3This is a flowchart of an information monitoring method based on Zabbix provided in Embodiment 3 of the present invention;

[0025] Figure 4 This is a schematic diagram of the structure of an information monitoring device based on Zabbix provided in Embodiment 4 of the present invention;

[0026] Figure 5 This is a schematic diagram of the structure of an electronic device provided in Embodiment 5 of the present invention. Detailed Implementation

[0027] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0028] It should be noted that the terms "candidate" and "target," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "etc.", and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0029] Example 1

[0030] Figure 1 This invention provides a flowchart of a Zabbix-based information monitoring method according to Embodiment 1. This embodiment is applicable to situations where a target application system is monitored using Zabbix, particularly where a target application system requiring system status monitoring and a target monitoring requirement are determined based on an information monitoring request, and then the target application system is monitored using Zabbix based on these requirements. This method can be executed by a Zabbix-based information monitoring device, which can be implemented in hardware and / or software and can be configured in an electronic device.

[0031] It should be noted that Zabbix is ​​an enterprise-grade open-source solution that provides distributed system and network monitoring capabilities based on a web (World Wide Web) interface. Zabbix-based information monitoring and management platforms can monitor the network parameters of various application systems on servers, ensuring the secure operation of these systems and providing flexible notification mechanisms to allow system administrators to quickly locate and resolve various problems.

[0032] like Figure 1 As shown, the method includes:

[0033] S110. Based on the information monitoring request, determine the target application system that needs to be monitored for system status, and determine the target monitoring requirements of the target application system.

[0034] Information monitoring requests refer to requests sent by users through a client to the Zabbix-based information monitoring and management platform to monitor a target application system. These requests may include the target application system and the specific monitoring requirements. The target application system can be any application interface monitored by the Zabbix-based platform, defined as a Uniform Resource Locator (URL) within the application. For example, the target application system could be the URL of any product display interface. Target monitoring requirements refer to the information the user needs to monitor within the target application system through the Zabbix-based platform. For instance, if the target application system is a clothing display interface, the monitoring requirement could be monitoring information related to black trousers.

[0035] Specifically, since different product display interfaces can correspond to different unified resource positioning systems, after obtaining the user's input information monitoring request, the information monitoring request can be analyzed, and the target application system that needs to be monitored for system status can be determined based on the analysis results, as well as the target monitoring requirements of the target application system.

[0036] For example, the target monitoring requirements of the target application system can be determined through the following sub-steps:

[0037] S1101. Verify user login based on information monitoring request.

[0038] To ensure the information security of the target application system, after receiving the information monitoring request from the user, it is also necessary to verify the user's login to confirm whether the user has the information configuration management authority of the target application system. Therefore, the information monitoring request may also contain the user's user ID and login password.

[0039] Specifically, after receiving the information monitoring request from the user, the user identifier and login password are extracted from the information monitoring request. The user identifier and login password are verified. If both the user identifier and login password are verified, it is determined that the user has the information configuration management authority of the target application system; if the user identifier or login password is not verified, it is determined that the user does not have the information configuration management authority of the target application system.

[0040] S1102. If the verification is successful, the information monitoring request will be analyzed, and the target application system that needs to be monitored for system status will be determined based on the analysis results.

[0041] Specifically, if both the user ID and login password are verified, the user login verification result is determined to be successful, and the information monitoring request is further analyzed to obtain the Zabbix API URL entered by the user based on the analysis results, for the target application system that needs to be monitored for system status.

[0042] S1103. Based on the monitoring requirement extraction rules of the target application system, extract the target monitoring requirements of the target application system from the information monitoring requests.

[0043] The rules for extracting monitoring requirements from the target application system can be pre-defined. It should be noted that different application systems can have different rules for extracting monitoring requirements.

[0044] Specifically, the monitoring requirement extraction rules for the target application system can be determined based on the correspondence between the target application system and the monitoring requirement extraction rules, and the target monitoring requirements of the target application system can be extracted from the information monitoring request according to the monitoring extraction rules.

[0045] Understandably, after successful login verification, the system requests information from the target application system and determines the rules for extracting monitoring requirements based on the target application system. This allows for the automatic extraction of target monitoring requirements while ensuring the information security of the target application system and preventing its information from being tampered with.

[0046] S120. Based on the target monitoring requirements, determine the target function card from the candidate function cards in Zabbix, and determine the target input parameters of the target function card based on the information monitoring request.

[0047] The candidate function cards include HostGroup, host, template, item, screen, event, proxy, user, and report. Different candidate function cards can accept different query parameters. The target input parameters are the query parameters entered in the target function card.

[0048] Specifically, the correspondence between different monitoring requirements and candidate function cards can be pre-defined. Based on the target monitoring requirement and the correspondence between different monitoring requirements and candidate function cards, at least one target function card corresponding to the target monitoring requirement can be determined from the candidate function cards in Zabbix. The information monitoring requirement is then analyzed to extract the target input parameters of the target function card.

[0049] S130. Based on the target function card and target input parameters, query the target monitoring object from the target application system. If the query is successful and the query result is not empty, determine the target object information of the target monitoring object based on the query result.

[0050] Among them, target object information refers to the relevant information of the target monitoring object requested in the information monitoring request. For example, if the target application system is a product display interface for clothing, and the target monitoring object is a cotton-padded coat on the product display interface, then the target object information may include the color of the cotton-padded coat, the quantity displayed on the product display interface, and the inventory of the cotton-padded coat.

[0051] Specifically, the target input parameters are entered into the target function card, and then the target function card queries the target monitoring object from the target application system. If the target monitoring object exists in the target application system, the query is successful and the query result is not empty. If the query is successful and the query result is not empty, the target object information of the target monitoring object is determined based on the query result. The target object information can be organized into an object information list and then fed back to the user.

[0052] Optionally, based on the target function card and target input parameters, query the target monitoring object from the target application system. If the query is successful and the query result is empty, report that the target monitoring object does not exist in the target application system, or report that the object characteristics of the target monitoring object do not correspond to the target input parameters; if the query fails, report a query error message.

[0053] One way to indicate that the target monitoring object does not exist in the target application system is to provide the user with a blank form.

[0054] The above solution, when the query result is empty, promptly reports that the target application system does not contain the target monitored object. This allows users to adjust the target input parameters of the target function card or resubmit the information monitoring request after receiving the feedback, improving the user's query experience. When the query fails, timely feedback of the query error message allows maintenance personnel to locate the error based on the error message and fix it promptly, thus ensuring the efficiency of information monitoring.

[0055] S140. Based on the information monitoring request and the target object information, perform information configuration management for the target monitoring object.

[0056] Information management of the target monitored object refers to modifying the information parameters of the target monitored object in the target application system based on the target object information. For example, if the target application system is a unified resource positioning system for a product display interface, and the target monitored object is a cotton coat on the product display interface, and the target object information includes the color of the cotton coat, the quantity displayed on the product display interface, and the inventory of the cotton coat, then when managing the information configuration of the target monitored object, the color of the cotton coat, the quantity displayed on the product display interface, or the inventory of the cotton coat can be modified, or the cotton coat can be removed from the shelves.

[0057] Specifically, based on the information monitoring request, determine the information configuration data for information configuration management of the target monitoring object. Based on the information configuration data and the target object information, determine the parameter items that need to be configured and managed for the target monitoring object. Then, perform information configuration management on the parameter items that need to be configured and managed for the target monitoring object based on the information configuration data.

[0058] For example, information configuration management for the target monitoring object can be achieved through the following sub-steps based on the information monitoring request and the target object information:

[0059] S1401. Based on the analysis results of the information monitoring request, determine the updated object information of the target monitoring object.

[0060] Among them, updating object information refers to the information configuration data when performing information configuration management on the target monitored object.

[0061] Specifically, the information monitoring requests are analyzed to extract the updated object information of the target monitoring object from the information monitoring requests.

[0062] S1402. Perform a consistency comparison between the updated object information and the target object information, and determine the update configuration items for the target monitoring object based on the consistency comparison results.

[0063] Among them, the updated configuration item refers to the configuration item in the target object information that requires information configuration management. It can be understood that the target object information can be mapped to multiple configuration items. When configuring and managing the target object information in the configuration items, it is often not necessary to manage all configuration items. Instead, the updated configuration items of the target monitored object are identified, and only the updated configuration items are configured and managed to improve the efficiency of information configuration management for the target monitored object.

[0064] Specifically, the update object information is compared with the target object information for consistency. Based on the consistency comparison results, update object information that is inconsistent with the target object information is identified, and the configuration items corresponding to the update object information that is inconsistent with the target object information are used as update configuration items.

[0065] S1403. Use updated object information to manage the information configuration of updated configuration items.

[0066] Specifically, the target object information in the update configuration item is replaced with update object information that is inconsistent with the target object information in order to manage the information configuration of the update configuration item.

[0067] Understandably, by comparing the consistency between the updated object information and the target object information, the updated configuration items for the target monitoring object are determined, and information configuration management is performed on the updated configuration items. This avoids the waste of resources and low efficiency of information configuration management caused by directly updating all configuration items of the target monitoring object, and improves the efficiency of information configuration management.

[0068] The technical solution provided in this embodiment determines the target application system requiring system status monitoring based on the information monitoring request, and determines the target monitoring requirements of the target application system. Based on the target monitoring requirements, a target function card is selected from candidate function cards in Zabbix, and the target input parameters of the target function card are determined according to the information monitoring request. Based on the target function card and target input parameters, the target monitoring object is queried from the target application system. If the query is successful and the query result is not empty, the target object information of the target monitoring object is determined based on the query result. Based on the information monitoring request and target object information, information configuration management is performed on the target monitoring object. This solves the problems of low deployment efficiency, high development cost, and low efficiency in information monitoring and information configuration management of the target application system when monitoring and configuring the target application system through Zabbix. The above solution identifies the target application systems requiring system status monitoring based on information monitoring requests, as well as the target monitoring needs of these systems. Based on these needs, it determines the target function cards in Zabbix that require parameter configuration, inputs the target input parameters into these function cards, and retrieves the target object information based on these parameters. Finally, it determines the information configuration management scheme for the target monitored objects. This approach achieves automated information monitoring and configuration management of the target application systems, enables rapid deployment of the information monitoring management platform, improves the accuracy of information monitoring of the target application systems, and enhances the efficiency of information configuration management.

[0069] Example 2

[0070] Figure 2 This is a flowchart of an information monitoring method based on Zabbix provided in Embodiment 2 of the present invention. This embodiment optimizes the above embodiment and provides a preferred implementation method: querying the target monitoring object from the target application system based on the target function card and target input parameters; if the query is successful and the query result is not empty, then determining the target object information of the target monitoring object based on the query result. Specifically, as shown... Figure 2 As shown, the method includes:

[0071] S210. Based on the information monitoring request, determine the target application system that needs to be monitored for system status, and determine the target monitoring requirements of the target application system.

[0072] S220. Based on the target monitoring requirements, determine the target function card from the candidate function cards in Zabbix, and determine the target input parameters of the target function card based on the information monitoring request.

[0073] S230. Update the target function card with the target input parameters, and query the target application system based on the updated target function card.

[0074] Specifically, the target input parameters are entered into the corresponding configuration items in the target function card to update the parameters of the target function card. The configuration items corresponding to the target input parameters are the configuration items that require information configuration management. The target application system is then queried based on the updated target function card.

[0075] S240. If the query is successful and the query result is not empty, then the target monitoring object is determined according to the query result, and the object feature of the target monitoring object is extracted based on the target input parameters. The extracted results are then integrated to obtain the target object information of the target monitoring object.

[0076] Specifically, if the query result for the target application system is successful and not empty, the target monitoring object is determined based on the query result. Object features are extracted from the target monitoring object based on the target input parameters, and the extracted object features are integrated to obtain the target object information.

[0077] For example, a method for integrating the extracted results to obtain the target object information of the target monitoring object can be: mapping the extracted object features to the parameter information list corresponding to the target input parameters, determining the feature information list, and using the feature information list as the target object information of the target monitoring object.

[0078] Understandably, by constructing a parameter information list based on the object characteristics of the target monitored object, and in order to determine the feature information list, users can more intuitively obtain the object characteristics of the target monitored object based on the feature information list, thus realizing the visualization of information configuration management for the target monitored object.

[0079] S250. Based on the information monitoring request and the target object information, perform information configuration management for the target monitoring object.

[0080] The technical solution of this embodiment, after determining the target input parameters of the target function card, updates the target function card based on the target input parameters, queries the target monitoring object based on the updated target function card, and then extracts the object features of the target monitoring object based on the target input parameters to determine the target object information of the target monitoring object. This solution improves the efficiency of determining the target monitoring object. Furthermore, extracting the object features of the target monitoring object based on the target input parameters avoids obtaining redundant object information, thereby improving the efficiency of information configuration and management for the target object.

[0081] Example 3

[0082] Figure 3 This is a flowchart of an information monitoring method based on Zabbix provided in Embodiment 3 of the present invention. This embodiment optimizes the above embodiments and provides a preferred implementation scheme in which a target function card is determined from candidate function cards in Zabbix according to target monitoring requirements, and the target input parameters of the target function card are determined according to the information monitoring request. Specifically, as shown... Figure 3 As shown, the method includes:

[0083] S310. Based on the information monitoring request, determine the target application system that needs to be monitored for system status, and determine the target monitoring requirements of the target application system.

[0084] S320. Based on the target monitoring requirements, determine the target monitoring items for the target application system.

[0085] Among them, the target monitoring items of the target application system refer to the items in the target application system that need to be monitored, corresponding to the target monitoring requirements.

[0086] S330. Based on the target monitoring item, determine the target function card from the candidate function cards in Zabbix.

[0087] Specifically, the correspondence between different monitoring items and candidate function cards in Zabbix is ​​pre-set. Based on the target monitoring item and the correspondence between different monitoring items and candidate function cards in Zabbix, the target function card corresponding to the target monitoring item is determined from the candidate function cards in Zabbix.

[0088] S340. Based on the correspondence between candidate function cards and candidate input parameter items, determine the input parameter items of the target function card, extract parameters from the information monitoring request based on the input parameter items, and determine the target input parameters of the target function card based on the parameter extraction results.

[0089] The correspondence between candidate function cards and candidate input parameter items can be preset according to actual conditions. The input parameter item refers to the parameter item in the target function card for which the information monitoring request requests the input of the target parameter.

[0090] Specifically, based on the pre-defined correspondence between candidate function cards and candidate input parameter items, the input parameter item corresponding to the target function card is determined from the candidate input parameter items. Based on the input parameter item, parameters are extracted from the information monitoring request to extract the target input parameters of the target function card from the information monitoring request.

[0091] S350. Based on the target function card and target input parameters, query the target monitoring object from the target application system. If the query is successful and the query result is not empty, determine the target object information of the target monitoring object based on the query result.

[0092] S360: Based on the information monitoring request and the target object information, perform information configuration management for the target monitoring object.

[0093] The technical solution of this embodiment involves: determining the target application system requiring system status monitoring based on the information monitoring request, and determining the target monitoring requirements of the target application system; determining the target monitoring items of the target application system based on the target monitoring requirements; determining the target function card from the candidate function cards in Zabbix based on the target monitoring items; determining the input parameter items of the target function card based on the correspondence between the candidate function cards and the candidate input parameter items, and extracting parameters from the information monitoring request based on the input parameter items, and determining the target input parameters of the target function card based on the parameter extraction results; querying the target monitoring object from the target application system based on the target function card and the target input parameters, and if the query is successful and the query result is not empty, determining the target object information of the target monitoring object based on the query result; and performing information configuration management on the target monitoring object based on the information monitoring request and the target object information. The above solution determines the target monitoring items based on the target monitoring requirements, identifies the target function cards corresponding to the target monitoring items, and determines the input parameter items to be input for the target function cards based on the correspondence between candidate function cards and candidate input parameter items. This allows for the determination of the target input parameters from the information monitoring request, thus enabling automated selection of target input parameters and improving the efficiency of target input parameter acquisition.

[0094] Example 4

[0095] Figure 4 This is a schematic diagram of a Zabbix-based information monitoring device provided in Embodiment 4 of the present invention. This embodiment is applicable to situations where a target application system is monitored using Zabbix. Figure 4 As shown, the Zabbix-based information monitoring device includes: a target monitoring requirement determination module 410, a target input parameter determination module 420, a target object information determination module 430, and an information configuration management module 440.

[0096] Among them, the target monitoring requirement determination module 410 is used to determine the target application system that needs to be monitored for system status based on the information monitoring request, and to determine the target monitoring requirements of the target application system.

[0097] The target input parameter determination module 420 is used to determine the target function card from the candidate function cards in Zabbix according to the target monitoring requirements, and to determine the target input parameters of the target function card according to the information monitoring request.

[0098] The target object information determination module 430 is used to query the target monitoring object from the target application system based on the target function card and the target input parameters. If the query is successful and the query result is not empty, the target object information of the target monitoring object is determined based on the query result.

[0099] The information configuration management module 440 is used to perform information configuration management on the target monitoring object based on the information monitoring request and the target object information.

[0100] The technical solution provided in this embodiment determines the target application system requiring system status monitoring based on the information monitoring request, and determines the target monitoring requirements of the target application system. Based on the target monitoring requirements, a target function card is selected from candidate function cards in Zabbix, and the target input parameters of the target function card are determined according to the information monitoring request. Based on the target function card and target input parameters, the target monitoring object is queried from the target application system. If the query is successful and the query result is not empty, the target object information of the target monitoring object is determined based on the query result. Based on the information monitoring request and target object information, information configuration management is performed on the target monitoring object. This solves the problems of low deployment efficiency, high development cost, and low efficiency in information monitoring and information configuration management of the target application system when monitoring and configuring the target application system through Zabbix. The above solution identifies the target application systems requiring system status monitoring based on information monitoring requests, as well as the target monitoring needs of these systems. Based on these needs, it determines the target function cards in Zabbix that require parameter configuration, inputs the target input parameters into these function cards, and retrieves the target object information based on these parameters. Finally, it determines the information configuration management scheme for the target monitored objects. This approach achieves automated information monitoring and configuration management of the target application systems, enables rapid deployment of the information monitoring management platform, improves the accuracy of information monitoring of the target application systems, and enhances the efficiency of information configuration management.

[0101] For example, the target object information determination module 430 includes:

[0102] The target application system query unit is used to update the target function card with target input parameters and query the target application system based on the updated target function card.

[0103] The target object information acquisition unit is used to determine the target monitoring object based on the query result if the query is successful and the query result is not empty, and to extract the object features of the target monitoring object based on the target input parameters, and to integrate the extracted results to obtain the target object information of the target monitoring object.

[0104] For example, the target object information acquisition unit is specifically used for:

[0105] The extracted object features are mapped to the parameter information list corresponding to the target input parameters to determine the feature information list, and the feature information list is used as the target object information of the target monitoring object.

[0106] For example, the target input parameter determination module 420 is specifically used for:

[0107] Based on the target monitoring requirements, determine the target monitoring items for the target application system;

[0108] Based on the target monitoring item, the target function card is determined from the candidate function cards in Zabbix;

[0109] Based on the correspondence between candidate function cards and candidate input parameter items, the input parameter items of the target function card are determined, and the information monitoring request is extracted based on the input parameter items. The target input parameters of the target function card are determined based on the parameter extraction results.

[0110] For example, the information configuration management module 440 is specifically used for:

[0111] Based on the analysis results of the information monitoring requests, determine the updated object information of the target monitoring object;

[0112] The updated object information is compared with the target object information for consistency, and the updated configuration items of the target monitoring object are determined based on the consistency comparison results.

[0113] The updated object information is used to manage the information configuration of the updated configuration items.

[0114] For example, the Zabbix-based information monitoring device described above also includes:

[0115] The empty query result feedback module is used to provide feedback that if the query is successful and the query result is empty, the target monitoring object does not exist in the target application system, or the object characteristics of the target monitoring object do not correspond to the target input parameters.

[0116] The error reporting module is used to provide error information if the query fails.

[0117] For example, the target monitoring requirement determination module 410 is specifically used for:

[0118] Based on the information monitoring request, the user is required to log in.

[0119] If the verification is successful, the information monitoring request will be analyzed, and the target application system that needs to be monitored for system status will be determined based on the analysis results.

[0120] Based on the monitoring requirement extraction rules of the target application system, the target monitoring requirements of the target application system are extracted from the information monitoring requests.

[0121] The Zabbix-based information monitoring device provided in this embodiment can be applied to any of the Zabbix-based information monitoring methods provided in the above embodiments, and has corresponding functions and beneficial effects.

[0122] Example 5

[0123] Figure 5 A schematic diagram of an electronic device 10 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0124] like Figure 5 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0125] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0126] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the Zabbix-based information monitoring method.

[0127] In some embodiments, the Zabbix-based information monitoring method can be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the Zabbix-based information monitoring method described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform the Zabbix-based information monitoring method by any other suitable means (e.g., by means of firmware).

[0128] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0129] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0130] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0131] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0132] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0133] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0134] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0135] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A Zabbix-based information monitoring method, characterized in that, include: Based on the information monitoring request, determine the target application system that needs to be monitored for system status, and determine the target monitoring requirements of the target application system. Based on the target monitoring requirements, the target function card is determined from the candidate function cards in Zabbix, and the target input parameters of the target function card are determined based on the information monitoring request. Based on the target function card and the target input parameters, query the target monitoring object from the target application system. If the query is successful and the query result is not empty, determine the target object information of the target monitoring object based on the query result. Based on the information monitoring request and the target object information, information configuration management is performed on the target monitoring object; The step of querying the target monitoring object from the target application system based on the target function card and the target input parameters, and determining the target object information of the target monitoring object based on the query result if the query is successful and the query result is not empty, includes: The target function card is updated using the target input parameters, and the target application system is queried based on the updated target function card. If the query is successful and the query result is not empty, the target monitoring object is determined based on the query result, and the object feature of the target monitoring object is extracted based on the target input parameters. The extraction results are then integrated to obtain the target object information of the target monitoring object. The candidate function cards include HostGroup, host, template, item, screen, event, proxy, user, and datareport.

2. The method according to claim 1, characterized in that, The extracted results are integrated to obtain the target object information of the target monitoring object, including: The extracted object features are mapped to the parameter information list corresponding to the target input parameters to determine the feature information list, and the feature information list is used as the target object information of the target monitoring object.

3. The method according to claim 1, characterized in that, Based on the target monitoring requirements, a target function card is determined from the candidate function cards in Zabbix, and the target input parameters of the target function card are determined according to the information monitoring request, including: Based on the target monitoring requirements, determine the target monitoring items for the target application system; Based on the target monitoring item, the target function card is determined from the candidate function cards in Zabbix; Based on the correspondence between the candidate function cards and the candidate input parameter items, the input parameter items to be input for the target function card are determined, and the information monitoring request is extracted based on the input parameter items to be input. The target input parameters of the target function card are determined based on the parameter extraction results.

4. The method according to claim 1, characterized in that, Based on the information monitoring request and the target object information, information configuration management is performed on the target monitoring object, including: Based on the analysis results of the information monitoring request, determine the update object information of the target monitoring object; The updated object information is compared with the target object information for consistency, and the updated configuration items of the target monitoring object are determined based on the consistency comparison results. The updated object information is used to manage the information configuration of the updated configuration item.

5. The method according to claim 1, characterized in that, Based on the target function card and the target input parameters, after querying the target monitoring object from the target application system, the process further includes: If the query is successful and the query result is empty, the system will report that the target monitoring object does not exist in the target application system, or that the object characteristics of the target monitoring object do not correspond to the target input parameters. If the query fails, an error message will be displayed.

6. The method according to claim 1, characterized in that, Based on the information monitoring request, identify the target application system that needs system status monitoring, and determine the target monitoring requirements of the target application system, including: Based on the information monitoring request, the user is required to log in. If the verification is successful, the information monitoring request is analyzed, and the target application system that needs to be monitored for system status is determined based on the analysis results. Based on the monitoring requirement extraction rules of the target application system, the target monitoring requirements of the target application system are extracted from the information monitoring request.

7. An information monitoring device based on Zabbix, characterized in that, include: The target monitoring requirement determination module is used to determine the target application system that needs to be monitored for system status based on the information monitoring request, and to determine the target monitoring requirements of the target application system. The target input parameter determination module is used to determine the target function card from the candidate function cards in Zabbix according to the target monitoring requirements, and to determine the target input parameters of the target function card according to the information monitoring request. The target object information determination module is used to query the target monitoring object from the target application system based on the target function card and the target input parameters. If the query is successful and the query result is not empty, the target object information of the target monitoring object is determined based on the query result. The information configuration management module is used to perform information configuration management on the target monitoring object according to the information monitoring request and the target object information; The target object information determination module is specifically used for: The target function card is updated using the target input parameters, and the target application system is queried based on the updated target function card. If the query is successful and the query result is not empty, the target monitoring object is determined based on the query result, and the object feature of the target monitoring object is extracted based on the target input parameters. The extraction results are then integrated to obtain the target object information of the target monitoring object. The candidate function cards include HostGroup, host, template, item, screen, event, proxy, user, and datareport.

8. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the Zabbix-based information monitoring method according to any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the Zabbix-based information monitoring method according to any one of claims 1-6.

Citation Information

Patent Citations

  • Data processing method and device and storage medium

    CN113934592A

  • Application component processing method and device, equipment and storage medium

    CN115237497A