Method for monitoring FastDFS storage system based on zabbix custom extension

A storage system and self-defined technology, applied in hardware monitoring, program control design, program control device, etc., can solve problems such as lack of system abnormal monitoring, and achieve the effect of system stability and storage data security management and remediation

Pending Publication Date: 2022-03-11
成都傲梅科技有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a method for monitoring the FastDFS storage system based on zabbix custom extension to solve the problem that the current FastDFS itself does not have system abnormality monitoring proposed in the background technology

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for monitoring FastDFS storage system based on zabbix custom extension

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] like figure 1 As shown, a method for monitoring FastDFS storage system based on zabbix custom extension, including the following steps:

[0028] Server building step S1: build a zabbix-server server and start the server;

[0029] Monitoring program connection step S2: Install zabbix-agent on the FasDFS host, and connect with the zabbix-server server built in S1;

[0030] Start monitoring step S3: start the zabbix-agent service;

[0031] Add monitoring program step S4: use the monitoring template of zabbix to add the hardware and software resources of the FastDFS storage system to the zabbix-server server for monitoring;

[0032] Set independent monitoring step S5: set independent monitoring items by modifying the custom script, and add other programs to the zabbix-server server for monitoring;

[0033] Set monitoring warning step S6: Set triggers on zabbix-server to send warning information to monitoring items according to the urgency of fatal, serious, general serio...

Embodiment 2

[0044]This embodiment is a further refinement of the first embodiment. The specific implementation method in the step S4 is: log in to the zabbix-server front-end page http: / / {zabbix-server server ip}:8080 and click to enter the configuration / host (according to the host name, select the host that needs to be monitored) / Template, according to the official introduction of zabbix official website (https: / / www.zabbix.com), you can find a suitable monitoring template for the host to choose. At this time, you can click to enter monitoring / latest data to see various settings in the template The latest data of monitoring items of software and hardware.

[0045] The specific implementation steps of the setting independent monitoring step S5 are: take the custom script check_httpd.sh as an example, modify the UnsafeUserParameters=1 in the configuration file / etc / zabbix / zabbix_agentd.conf on the zabbix-agent node, and then add UserParameter=check_httpd ,sh / usr / local / etc / zabbix / scripts / ...

Embodiment 3

[0047] The main idea of ​​the present invention is: 1) find a server to build a zabbix-server server alone, and start the service;

[0048] 2) Install zabbix-agent on each FastDFS server, set the configuration file to be connected to the zabbix-server built in the first step, and then start the zabbix-agent service;

[0049] 3) Use the zabbix default monitoring items to add the hardware and software resources of the FastDFS storage system to the zabbix-server for monitoring, and for other programs to set independent monitoring items by modifying the custom script to join the zabbix-server for monitoring;

[0050] 4) On zabbix-server, set triggers for monitoring items according to different urgency, and set to send abnormal information to managers by email;

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for monitoring a FastDFS storage system based on zabbix user-defined extension. The method comprises the following steps of server establishment: S1, establishing a zabbix-server; s2, a zabbix-agent is installed on a FasDFS host computer, and the FasDFS host computer is connected with a zabbix-server; monitoring is started; S3, a zabbix-agent service is started; s4, adding a monitoring program, and adding software and hardware resources of the FastDFS storage system to a zabbix-server for monitoring by utilizing the monitoring template of the zabbix; s5, independent monitoring is set; S5, independent monitoring items are set by modifying the user-defined script; s6, a trigger is set on the zabbix-server according to the emergency degree, and alarm information is sent to the monitoring items; and S7, sending the monitored abnormal information to a manager through a mail. According to the method, the zabbix and the FastDFS are combined to reduce the burden of the operation and maintenance work, and the operation and maintenance personnel can be quickly notified through the zabbix when the FastDFS server is abnormal, so that the system stability and the stored data security are managed and remedied.

Description

technical field [0001] The invention belongs to the technical field of computer data monitoring, in particular to a method for monitoring a FastDFS storage system based on zabbix self-defined extension. Background technique [0002] The current situation The storage system based on FastDFS can expand multiple servers to form a cluster, which requires extremely high stability of the server's hardware and software. [0003] The storage server cluster implemented based on FastDFS needs to provide external services 24 hours a day without interruption. It is impossible for the operation and maintenance personnel to keep an eye on the storage cluster. SUMMARY OF THE INVENTION [0004] The purpose of the present invention is to provide a method for monitoring the FastDFS storage system based on zabbix self-defined extension, so as to solve the problem that the current FastDFS itself does not have system abnormal monitoring proposed in the background art. [0005] For solving the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/30G06F8/61G06F9/445
CPCG06F11/3006G06F11/3034G06F11/3051G06F9/44505G06F8/61
Inventor 刘文龙
Owner 成都傲梅科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products