CN108363653A - Dispositions method, device, computer equipment and the storage medium of monitoring system - Google Patents

Dispositions method, device, computer equipment and the storage medium of monitoring system Download PDF

Info

Publication number
CN108363653A
CN108363653A CN201810123507.4A CN201810123507A CN108363653A CN 108363653 A CN108363653 A CN 108363653A CN 201810123507 A CN201810123507 A CN 201810123507A CN 108363653 A CN108363653 A CN 108363653A
Authority
CN
China
Prior art keywords
default
monitoring system
monitoring
deployment
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810123507.4A
Other languages
Chinese (zh)
Other versions
CN108363653B (en
Inventor
高泗俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201810123507.4A priority Critical patent/CN108363653B/en
Priority to PCT/CN2018/084709 priority patent/WO2019153532A1/en
Publication of CN108363653A publication Critical patent/CN108363653A/en
Application granted granted Critical
Publication of CN108363653B publication Critical patent/CN108363653B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3013Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is an embedded system, i.e. a combination of hardware and software dedicated to perform a certain function in mobile devices, printers, automotive or aircraft systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
    • G06F11/3093Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/20Administration of product repair or maintenance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data

Abstract

The embodiment of the present application discloses a kind of dispositions method of monitoring system, device, computer equipment and storage medium, the wherein dispositions method:Obtain the module information of the monitoring system;The monitoring system is deployed in multiple default deployment regions according to default deployment rule according to the module information;Default monitoring tools are deployed in each default deployment region, wherein the default monitoring tools are for monitoring the monitoring system;And the monitoring system is monitored by the default monitoring tools to complete the deployment to the monitoring system.The dispositions method of the monitoring system is also disposed default monitoring tools and is monitored to monitoring system with realizing when monitoring system executes monitoring when disposing the monitoring system, it is thus achieved that dual monitoring improves the high availability of the monitoring system in turn.

Description

Dispositions method, device, computer equipment and the storage medium of monitoring system
Technical field
This application involves field of computer technology more particularly to a kind of dispositions method of monitoring system, device, computer to set Standby and storage medium.
Background technology
Currently, there is the monitoring system of many O&Ms in the market, such as Zabbix monitoring systems and Open-falcon prisons Control system.It is required to being monitored in real time to these products for monitoring system in internet product exploitation and O&M.These monitoring System generally comprises a assembly module more than 30, when disposing these monitoring systems, needs the High Availabitity for ensureing each assembly module Property, it just can ensure that the operational efficiency and quality monitoring of entire monitoring system.It is more however in the deployment way of existing monitoring system Simple and fast deployment, such as Ansible tools etc. are carried out to the monitoring system using some management tools, but this letter Single deployment way reduces the system availability and monitoring efficiency of monitoring system, improves O&M complexity, cannot meet visitor Demand of the family to monitoring system.
Invention content
This application provides a kind of dispositions method of monitoring system, device, computer equipment and storage mediums, it is intended to improve The availability of monitoring system.
In a first aspect, this application provides a kind of dispositions methods of monitoring system, including:
Obtain the module information of the monitoring system;
The monitoring system is deployed in multiple default deployment regions according to default deployment rule according to the module information;
Default monitoring tools are deployed in each default deployment region, wherein the default monitoring tools are for monitoring The monitoring system;And
The monitoring system is monitored by the default monitoring tools to complete the deployment to the monitoring system.
Second aspect, this application provides a kind of deployment devices of monitoring system, including:
Information acquisition unit, the module information for obtaining the monitoring system;
System deployment unit, for being deployed in the monitoring system according to default deployment rule according to the module information Multiple default deployment regions;
Tool deployment unit, for default monitoring tools to be deployed in each default deployment region, wherein described pre- If monitoring tools are for monitoring the monitoring system;And
Systems Monitoring Unit is monitored the monitoring system for passing through the default monitoring tools to complete to institute State the deployment of monitoring system.
The third aspect, present invention also provides a kind of computer equipments comprising memory, processor and is stored in described On memory and the computer program that can run on the processor, the processor realize the application when executing described program The dispositions method of any one of them monitoring system of offer.
Fourth aspect, present invention also provides a kind of storage mediums, wherein the storage medium is stored with computer program, The computer program includes program instruction, and described program instruction makes the processor execute the application when being executed by a processor The dispositions method of any one of them monitoring system of offer.
The module information that the embodiment of the present application passes through the acquisition monitoring system;According to the module information according to default portion The monitoring system is deployed in multiple default deployment regions by administration's rule;Default monitoring tools are deployed in each default portion Region is affixed one's name to, wherein the default monitoring tools are for monitoring the monitoring system;And by the default monitoring tools to institute Monitoring system is stated to be monitored to complete the deployment to the monitoring system.The dispositions method of the monitoring system is disposing the monitoring When system, while also disposing default monitoring tools and monitoring system is monitored when monitoring system executes monitoring with realizing, by This high availability for realizing dual monitoring and then improving the monitoring system.
Description of the drawings
It, below will be to needed in embodiment description in order to illustrate more clearly of the embodiment of the present application technical solution Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present application, general for this field For logical technical staff, without creative efforts, other drawings may also be obtained based on these drawings.
Fig. 1 is a kind of schematic flow diagram of the dispositions method for monitoring system that one embodiment of the application provides;
Fig. 2 is the sub-step schematic flow diagram of the dispositions method of monitoring system in Fig. 1;
Fig. 3 is the sub-step schematic flow diagram of the dispositions method of monitoring system in Fig. 1;
Fig. 4 is the effect diagram of monitoring system layout provided by the embodiments of the present application;
Fig. 5 is the sub-step schematic flow diagram of the dispositions method of monitoring system in Fig. 1;
Fig. 6 is another sub-step schematic flow diagram of the dispositions method of monitoring system in Fig. 1;
Fig. 7 is a kind of schematic block diagram of the deployment device for monitoring system that another embodiment of the application provides;
Fig. 8 is the sub-step schematic flow diagram of the dispositions method of monitoring system in Fig. 7;
Fig. 9 is the sub-step schematic flow diagram of the dispositions method of monitoring system in Fig. 7;
Figure 10 is a kind of schematic block diagram of the deployment device for monitoring system that one embodiment of the application provides;
Figure 11 is a kind of schematic block diagram of the deployment device for monitoring system that another embodiment of the application provides;
Figure 12 is a kind of schematic block diagram for computer equipment that one embodiment of the application provides.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation describes, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Based on this Shen Please in embodiment, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall in the protection scope of this application.
It should be appreciated that ought use in this specification and in the appended claims, term " comprising " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded Body, step, operation, element, component and/or its presence or addition gathered.
It is also understood that the term used in this present specification is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the application.As present specification and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is Refer to any combinations and all possible combinations of one or more of associated item listed, and includes these combinations.
Referring to Fig. 1, Fig. 1 is a kind of exemplary flow of the dispositions method for monitoring system that one embodiment of the application provides Figure.As shown in Figure 1, the dispositions method of the monitoring system includes step S101~S104.
S101, the module information for obtaining the monitoring system.
In the present embodiment, which is that the monitoring system of secondary development is carried out based on Open-falcon monitoring systems System, referred to as Argus monitoring systems.The Argus monitoring systems equally include multiple assembly modules, and each assembly module is completed different Function, such as Agent assembly modules are responsible for acquisition machine performance data;Transfer assembly modules are responsible for data forwarding clothes Business etc., different assembly modules have different function and complete different tasks.The module information of the monitoring system is obtained, specifically For the module information of the assembly module of the acquisition monitoring system.Wherein, the module information includes the mark letter of assembly module Breath, assembly function information and api interface information etc..
It is understood that the monitoring system may be other monitoring systems, such as Zabbix monitoring systems and Open- Falcon monitoring systems.
S102, the monitoring system is deployed in by multiple default deployment according to default deployment rule according to the module information Region.
In the present embodiment, which includes center deployment region and non-central deployment region.The default portion Administration region is that user needs to dispose the region of the monitoring system, and server is arranged on the area so that monitoring system is deployed in this The server in region realizes the monitoring to other internet products.The default deployment region, be specifically as follows one it is national several The different office in several areas in one, a city city etc. or a company.
Specifically, the monitoring system is deployed in by multiple default portions according to default deployment rule according to the module information Region is affixed one's name to, using dispositions method as shown in Figure 2, i.e. step S102 includes sub-step S1021~S1022.
S1021, multiple assembly modules are divided by central set according to default division rule based on the module information Part group and non-central component group;
Wherein, the module information includes assembly function information and api interface information, based on the module information according to pre- If multiple assembly modules are divided into center element group and non-central component group by division rule, specifically according to the component What assembly function information and api interface information in information divided the assembly module.
In the present embodiment, as shown in figure 3, step S1021 includes sub-step:S1021a to S1021d.
S1021a, judge whether the assembly module needs centrally stored information according to the assembly function information, and Judge whether the assembly module needs to expose unified api interface according to the api interface information;If S1021b, described group Part module needs centrally stored information, then the assembly module is divided into the center element group;If S1021c, the component Module needs to expose unified api interface, then the assembly module is divided into the center element group;And if S1021d, The assembly module does not need centrally stored information and need not expose unified api interface, then divides the assembly module For the non-central component group.
For example, alarm assembly modules and redis assembly modules are required to centralized management alarm data, it is therefore desirable to concentrate Store information;Mysql assembly modules are used for centrally stored configuration data, it is also desirable to centrally stored information;Therefore, the alarm Assembly module, redis assembly modules and mysql assembly modules belong to the center element group.Web assembly modules need to provide Page access and API Access, therefore to expose unified api interface;Query-proxy assembly modules need unified entrance for Query performance data, therefore also to expose unified api interface;So web assembly modules and query-proxy assembly modules Belong to the center element group.
For another example, the transfer assembly modules of process performance data forwarding filtering, the graph groups that performance data is stored Part module alerts the judge assembly modules of judgement, is responsible for the query assembly modules of the performance data inquiry in the region, Yi Jiti For the meta assembly modules that agent versions issue, these assembly modules are substantially distributed deployment, each region individual tubes Reason, therefore centrally stored information had not both been needed, unified api interface need not be also exposed, so transfer, graph, The assembly modules such as judge, query and meta belong to the non-central component group.
S1022, the assembly module for belonging to the non-central component group is deployed in the center according to default deployment rule Deployment region and non-central deployment region;
Specifically, the assembly module for belonging to the non-central component group is deployed in the center according to logic of propositions subregion Deployment region and non-central deployment region, wherein logic of propositions subregion include:Available area, common service area and cloud area under control.
Specifically, step S1022 includes:Preset relation table is obtained, wherein the preset relation table includes belonging to described non- The assembly module of center element group and the available area, the correspondence of common service area and cloud area under control;Described in S1022b, basis By the assembly module for belonging to the non-central component group, correspondence is deployed in the available area, common service area to preset relation table respectively With cloud area under control.
Wherein, which uses three-tier architecture, is divided into available area, common service area and cloud pipe from below to up Area.It is disposed according to the function of assembly module, the assembly module with different function is deployed in different zones.It can be by default The assembly module that relation table setting belongs to the non-central component group is corresponding with the available area, common service area and cloud area under control The different assembly modules for belonging to the non-central component group can be corresponded to portion respectively by relationship in deployment according to the correspondence Administration is in the available area, common service area and cloud area under control.
For example, the corresponding assembly module that host information is acquired and reported is deployed in available area, such as:Agent modules Component acts on behalf of forwarding capability and is deployed in common service area;Gateway assembly modules and proxy assembly modules are process performance number According to, alarm data or issues instruction and be deployed in cloud area under control;Transfer, judge, graph, redis, mysql and alarm etc. Assembly module is also deployed in cloud area under control.The assembly module for belonging to the non-central component group is deployed according to logic of propositions subregion The center deployment region and non-central deployment region so that the function division of monitoring system is more clear;Also have simultaneously more Good safety.
Specifically, the deploying cloud host computer of user provides infrastructure service in available area, common service area for the available area, such as supervises Control, deployment, yum (installation software service), ntp (time synchronization service) and dns (domain name resolution service) etc..Cloud is disposed in cloud area under control The Centroid systematic difference of platform.Therefore and user has the platform service of direct interaction to be placed on the public clothes close to available area Be engaged in area, and the kernel service of cloud platform itself is placed on cloud area under control, and thus security isolation is more preferable, one logic of intermediate more increases Separation layer, the host of user cannot directly and the core system of cloud platform does interaction, therefore such peace for contributing to increase system Quan Xing, such core system are not readily susceptible to direct attack and unauthorized access from user area.
S1023, the assembly module for belonging to the center element group is deployed in the center deployment region.
In the present embodiment, it is that the multiple assembly modules for belonging to the center element group are deployed in center deployment region, For example dispose Shenzhen Central District and Shanghai center.The container cluster management system (Kubernetes, letter specifically can also be used Claim K8s) it is disposed.
Fig. 4 is please referred to, Fig. 4 is the deployment effect signal using the monitoring system of the dispositions method deployment in the present embodiment Figure.Non-central deployment region and center deployment region include cloud area under control, common service area and available area, the logic point in Fig. 4 For dispose the assembly module for belonging to non-central component group, in Fig. 4, center deployment region, which is additionally operable to dispose, in area belongs to center element The assembly module of group, the assembly module for belonging to center element group are not disposed by the way of logical partition.
S103, default monitoring tools are deployed in each default deployment region, wherein the default monitoring tools are used In the monitoring monitoring system.
In the present embodiment, the monitoring of the equipment performance of multiple default deployment regions uses Argus monitoring system System, the Argus monitoring systems but the monitoring of availability cannot place one's entire reliance upon, if the availability monitor of Argus monitoring systems Dependent on itself, then the availability of monitoring system itself is when something goes wrong, will fail to the monitoring of itself, lead to not and When pinpoint the problems.Therefore the mode of default monitoring tools is monitored the monitoring system, which is independent Monitoring tools specifically dispose a set of default monitoring tools in a manner of software package in each default deployment region, for pair The assembly module of monitoring system is monitored.
S104, the monitoring system is monitored by the default monitoring tools to complete to the monitoring system Deployment.
In the present embodiment, it after having disposed the monitoring system and default monitoring tools, is transported starting monitoring system Start the default monitoring tools when dimension or exploitation to be monitored the various components module of the monitoring system.Can specifically it be arranged Timed task is polled detection, and testing result sent by way of telephone number or E-mail related management personnel into Row alarm prompt.Availability report can be also generated according to testing result simultaneously, and relevant be responsible for is sent by way of Email People.In addition to the abnormal phenomenon in these testing results is sent related management personnel by way of phone number or E-mail Outside.One alarm center and self-healing system can also be set, which is used to receive the alarm data of default monitoring tools into center, The alert analysis module at the alarm center can also filter out the alarm event of monitoring system itself, be then sent to self-healing system, More the failure for the processing monitoring system that system can be automated according to event, such as server expansion restart service or limitation flow etc..
Wherein, which uses different monitor modes to complete to monitoring system different assembly modules Monitoring.As shown in Figure 5 and Figure 6, respectively different monitor mode.
In one embodiment, as shown in figure 5, one of which monitor mode includes:S1041a, pass through the default monitoring work Tool calls the api interface of the assembly module of the monitoring system to obtain call result information;And S1041b, according to the tune The availability information of the assembly module is determined with result information.
Specifically, availability information includes available and unavailable two kinds of result informations, and prison is called by default monitoring tools API (Application Programming Interface, application programming interface) interface of the modular assembly of control system And call result information is generated, call the api interface of the modular assembly of monitoring system to can determine in the api interface of calling there are data There is no two kinds of call results of data transmission in transmission or api interface, specifically can determine assembly module according to the call result Availability information is available or unavailable, and have data transmission in api interface is that can be used, and does not have data biography in api interface Defeated is as unavailable.Such as each core component module (transfer, graph, judge, alarm of Argus monitoring systems And sender) monitoring can all be pinpointed the problems by api interface calling, start an Argus checker container, call Relevant api interface checks its availability.
In one embodiment, as shown in fig. 6, another monitor mode includes:S1042a, pass through the default monitoring tools Call the ports IP of the assembly module of the monitoring system;S1042b, acquisition are corresponding with the assembly module default specific Instruction;S1042c, the default specific instruction is sent to the assembly module so that assembly module operation is described default Specific instruction simultaneously generates operation result information;And S1042d, the assembly module determined according to the operation result information Availability information.
Specifically, there is no api interfaces for some assembly modules of the Argus monitoring systems, it is therefore desirable to call the assembly mould Whether the ports IP of block judge the assembly module also in communications status, if not detected in communications status by the ports IP Go out the assembly module and there is exception;If also being sent to the assembly module in communications status and presetting specific instruction, preset specific Instruction is a specific instruction code, is used to indicate assembly module and executes certain task, the assembly module runs the default spy Operation result information is instructed and generates calmly, which includes that can execute the default specific instruction or not can perform to be somebody's turn to do Default specific instruction, it is possible thereby to determine therefrom that the availability information of the assembly module.If can perform this presets specific finger It enables, then can determine that the assembly module is available;If not can perform the default specific instruction, it can determine that the assembly module is not It can use.
Above-described embodiment is not only disposed according to default deployment rule when disposing monitoring system in each default deployment region Monitoring system, while a default monitoring tools also are disposed in each default deployment region, by the monitoring tools to the prison Control system is monitored to monitor the assembly module of the monitoring system, to ensure each assembly module of the monitoring system Normal operation which thereby enhances the availability of monitoring system.
Referring to Fig. 7, Fig. 7 is a kind of exemplary flow of the dispositions method for monitoring system that another embodiment of the application provides Figure.As shown in fig. 7, the dispositions method of the monitoring system includes step S201~S205.
S201, the module information for obtaining the monitoring system.
S202, the monitoring system is deployed in by multiple default deployment according to default deployment rule according to the module information Region.
S203, default monitoring tools are deployed in each default deployment region, wherein the default monitoring tools are used In the monitoring monitoring system.
In the present embodiment, default monitoring tools are deployed in each default deployment region, using the deployment in Fig. 8 Method is disposed, in particular:S203a, preset arrangement script is obtained;S203b, the preset arrangement script is deployed in institute State default deployment region.
Specifically, which includes some self-defining operations, can be held when calling the preset arrangement script The self-defining operation of the row preset arrangement script, the self-defining operation is for starting the default monitoring tools to the monitoring The assembly module of system is monitored, which is used to indicate default monitoring tools and is monitored according to different monitoring rules Different assembly modules, such as some assembly modules need to be monitored using the mode of api interface, and some assembly modules need The mode of the ports IP is used to be monitored, these are required on preset arrangement script, and predefined is good to be realized.
S204, the monitoring system is monitored by the default monitoring tools to complete to the monitoring system Deployment.
In the present embodiment, the monitoring system is monitored by the default monitoring tools to complete to the prison The deployment of control system, using method in Fig. 9, specially:S204a, the preset arrangement script is called;S204b, by described pre- If presetting monitoring tools described in layout script startup to be monitored the assembly module of the monitoring system.
Wherein it is possible to using the layout script in Ansible tools, the corresponding layout scripts of Ansible are known as Playbook, the action of user's batch processing defined in playbook.Playbook related notions have Tasks, Inventory, Environment and Site.yml etc..Wherein Inventory defines the Host List for wanting remote control, Ansible can be logged on according to the host information of list and be executed operation on host.The script to be copied can be defined in Tasks, The order remotely executed, the script be monitored to component and order are all defined herein, and which site.yml then defines A little hosts will execute any task.The operation that Ansible can be defined according to Site.yml is logged on host and is executed accordingly one by one Operation.It is possible thereby to borrow the mode of Ansible scripts, facilitate realization by being preset described in the preset arrangement script startup Monitoring tools are monitored the assembly module of the monitoring system.
S205, the assembly module that committed memory in the monitoring system is more than default memory value is obtained, and to described group Dynamic loading function is preset in the configuration of part module.
Specifically, the configuration presets dynamic loading function mainly for being the larger assembly module of some committed memories, Such as graph, the assembly modules such as judge.The concrete mode that dynamic loading function is preset in configuration can be used what program registration to be received Semaphore, the SIGUSR1 semaphores of capture systems, reloads and is configured in memory.It is real using the SIGUSR1 semaphores of system Existing, by taking the assembly module transfer of Golang class of languages as an example, transfer assembly modules need Accreditation System in a program SIGUSER1, once configure update once will produce SIGUSER1 semaphores, can be read in corresponding channel channel It arrives, after capturing this semaphore, program will re-read configuration and be placed into memory, and new assembly module will use new Configuration information, to accomplish to be not required to restart load configuration.And then accelerate the operational efficiency of monitoring system.
The module information that embodiment passes through the acquisition monitoring system;According to the module information according to default deployment rule The monitoring system is deployed in multiple default deployment regions;Default monitoring tools are deployed in each default deployment area Domain, wherein the default monitoring tools are for monitoring the monitoring system;And by the default monitoring tools to the prison Control system is monitored to complete the deployment to the monitoring system.The also deployment in deployment of the dispositions method of the monitoring system is pre- If monitoring tools are monitored monitoring system in monitoring system monitoring with realizing, it is thus achieved that dual monitoring improves in turn The high availability of the monitoring system.
Referring to Fig. 10, Figure 10 is a kind of schematic frame of the deployment device of monitoring system provided by the embodiments of the present application Figure.The deployment device 400 of the monitoring system can be installed in server or terminal.As shown in figure 5, the deployment dress of monitoring system Setting 400 includes:Information acquisition unit 401, system deployment unit 402, tool deployment unit 403 and Systems Monitoring Unit 404.
Information acquisition unit 401, the module information for obtaining the monitoring system.
System deployment unit 402, for regular by the monitoring system portion according to default deployment according to the module information Administration is in multiple default deployment regions.
Specifically, system deployment subelement 402 includes:Component clustering subelement 4021, first disposes 4022 and of subelement Second deployment subelement 4023.
Wherein, component clustering subelement 4021, for based on the module information according to default division rule by multiple institutes It states assembly module and is divided into center element group and non-central component group.The module information includes that assembly function information and API connect Message ceases;The component clustering subelement 4021 is specifically used for:
Judge whether the assembly module needs centrally stored information according to the assembly function information, and according to described Api interface information judges whether the assembly module needs to expose unified api interface;It is deposited if the assembly module needs to concentrate Information is stored up, then the assembly module is divided into the center element group;If the assembly module needs exposed unified API to connect Mouthful, then the assembly module is divided into the center element group;And if the assembly module does not need centrally stored information And unified api interface need not be exposed, then the assembly module is divided into the non-central component group.
First deployment subelement 4022, the assembly module for that will belong to the non-central component group are advised according to default deployment Then it is deployed in the center deployment region and non-central deployment region.It is specifically used for:The group of the non-central component group will be belonged to Part module is deployed in the center deployment region and non-central deployment region according to logic of propositions subregion.
Second deployment subelement 4023, for the assembly module for belonging to the center element group to be deployed in the central part Affix one's name to region.
Tool deployment unit 403, for default monitoring tools to be deployed in each default deployment region, wherein described Default monitoring tools are for monitoring the monitoring system.
Systems Monitoring Unit 404 is monitored to complete the monitoring system for passing through the default monitoring tools Deployment to the monitoring system.
In one embodiment, Systems Monitoring Unit 404 includes:Result information obtains subelement 4041a and the first information is true Stator unit 4041b.Wherein, result information obtains subelement 4041a, for calling the prison by the default monitoring tools The api interface of the assembly module of control system is to obtain call result information;And first information determination subelement 4041b, it is used for The availability information of the assembly module is determined according to the call result information.
In one embodiment, as shown in figure 11, Systems Monitoring Unit 404 further includes:Call subelement 4042a, spy in port Fixed instruction obtains subelement 4042b, instruction sends generating subunit 4042c and the second information determination subelement 4042d.
Wherein, subelement 4042a, the group for calling the monitoring system by the default monitoring tools are called in port The ports IP of part module;Specific instruction obtains subelement 4042b, corresponding with the assembly module default specific for obtaining Instruction;Instruction sends generating subunit 4042c, for the default specific instruction to be sent to the assembly module so that described Assembly module runs the default specific instruction and generates operation result information;And the second information determination subelement 4042d, it uses In the availability information for determining the assembly module according to the operation result information.
It is apparent to those skilled in the art that for convenience of description and succinctly, the prison of foregoing description The specific work process of the deployment device and unit of control system, can refer to the corresponding process in aforementioned deployment embodiment of the method, Details are not described herein.
In several embodiments provided herein, it should be understood that disclosed deployment device and method, Ke Yitong Other modes are crossed to realize.For example, deployment device embodiment described above is only schematical.For example, each unit Division, only a kind of division of logic function, formula that in actual implementation, there may be another division manner.Such as multiple units or group Part can be combined or can be integrated into another system, or some features can be ignored or not executed.
Step in the embodiment of the present application method can be sequentially adjusted, merged and deleted according to actual needs.
Unit in the embodiment of the present application device can be combined, divided and deleted according to actual needs.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also It is that each unit physically exists alone, can also be during two or more units are integrated in one unit.It is above-mentioned integrated The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product, It can be stored in a computer read/write memory medium.Based on this understanding, the technical solution of the application substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a storage medium, including some instructions are with so that a computer is set Standby (can be personal computer, terminal or the network equipment etc.) execute each embodiment the method for the application whole or Part steps.
Above-mentioned apparatus can be implemented as a kind of form of computer program, and computer program can be in meter as shown in figure 12 It calculates and is run on machine equipment.
Please refer to Fig.1 the schematic block diagram that 2, Figure 12 is a kind of computer equipment provided by the embodiments of the present application.The calculating 700 equipment of machine equipment can be terminal or server.
Referring to Fig.1 2, which includes processor 720, memory and the net connected by system bus 710 Network interface 750, wherein memory may include non-volatile memory medium 730 and built-in storage 740.
The non-volatile memory medium 730 can storage program area 731 and computer program 732.The computer program 732 It is performed, processor 720 may make to execute a kind of dispositions method of monitoring system.
The processor 720 supports the operation of entire computer equipment 700 for providing calculating and control ability.
The built-in storage 740 provides environment for the operation of the computer program in non-volatile memory medium, the computer When program is executed by processor 720, processor 720 may make to execute a kind of dispositions method of several monitoring systems.
The network interface 750 such as sends the task dispatching of distribution for carrying out network communication.Those skilled in the art can manage It solves, structure is not constituted only with the block diagram of the relevant part-structure of application scheme to the application side shown in Figure 12 The restriction for the computer equipment 700 that case is applied thereon, specific computer equipment 700 may include more than as shown in the figure Or less component, it either combines certain components or is arranged with different components.
Wherein, the processor 720 is for running program code stored in memory, to realize following steps:
Obtain the module information of the monitoring system;
The monitoring system is deployed in multiple default deployment regions according to default deployment rule according to the module information;
Default monitoring tools are deployed in each default deployment region, wherein the default monitoring tools are for monitoring The monitoring system;And
The monitoring system is monitored by the default monitoring tools to complete the deployment to the monitoring system.
In one embodiment, default monitoring tools described are deployed in each default deployment executing by processor 720 When region, following steps are executed:Obtain preset arrangement script;And the preset arrangement script is deployed in the default deployment Region.
In one embodiment, processor 720 is described in execution is to the monitoring by the default monitoring tools When system is monitored, following steps are executed:Call the preset arrangement script;And pass through the preset arrangement script startup institute Default monitoring tools are stated to be monitored the assembly module of the monitoring system.
In one embodiment, processor 720 is described in execution is to the monitoring by the default monitoring tools When system is monitored, following steps are executed:The API of the assembly module of the monitoring system is called by the default monitoring tools Interface is to obtain call result information;And the availability information of the assembly module is determined according to the call result information.
In one embodiment, processor 720 is described in execution is to the monitoring by the default monitoring tools When system is monitored, following steps are executed:The IP of the assembly module of the monitoring system is called by the default monitoring tools Port;Obtain default specific instruction corresponding with the assembly module;The default specific instruction is sent to the component Module is so that the assembly module runs the default specific instruction and generates operation result information;And it is tied according to the operation Fruit information determines the availability information of the assembly module.
In one embodiment, the default deployment region includes center deployment region and non-central deployment region;Processor The monitoring system described is deployed in multiple default deployment executing by 720 according to the module information according to default deployment is regular It is specific to execute when region:
Based on the module information according to default division rule by multiple assembly modules be divided into center element group and Non-central component group;The assembly module for belonging to the non-central component group is deployed in the central part according to default deployment rule Affix one's name to region and non-central deployment region;And the assembly module for belonging to the center element group is deployed in center deployment area Domain.
In one embodiment, processor 720 execute it is described will belong to the assembly module of the non-central component group according to It is specific to execute when default deployment rule is deployed in the center deployment region and non-central deployment region:
The assembly module for belonging to the non-central component group is deployed in center deployment area according to logic of propositions subregion Domain and non-central deployment region, wherein logic of propositions subregion include:Available area, common service area and cloud area under control.
In one embodiment, the module information includes assembly function information and api interface information;Processor 720 is being held Row is described to be divided into center element group and non-according to default division rule based on the module information by multiple assembly modules It is specific to execute when center element group:
Judge whether the assembly module needs centrally stored information according to the assembly function information, and according to described Api interface information judges whether the assembly module needs to expose unified api interface;
If the assembly module needs centrally stored information, the assembly module is divided into the center element group;
If the assembly module needs to expose unified api interface, the assembly module is divided into the central set Part group;And
If the assembly module does not need centrally stored information and need not expose unified api interface, by described group Part module is divided into the non-central component group.
It should be appreciated that in the embodiment of the present application, processor 720 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable GateArray, FPGA) or other programmable logic devices Part, discrete gate or transistor logic, discrete hardware components etc..Wherein, general processor can be microprocessor or The processor can also be any conventional processor etc..
It will be understood by those skilled in the art that 700 structure of computer equipment shown in Figure 12 is not constituted to computer The restriction of equipment 700 may include either combining certain components or different components than illustrating more or fewer components Arrangement.
One of ordinary skill in the art will appreciate that be realize above-described embodiment method in all or part of flow, be Relevant hardware can be instructed to complete by computer program, program can be stored in a storage medium, the storage medium For computer readable storage medium.In the embodiment of the present invention, which can be stored in the storage medium of computer system, and It is executed by least one of computer system processor, to realize including that the flow of the embodiment of above-mentioned each method such as walks Suddenly.
The computer readable storage medium can be magnetic disc, CD, USB flash disk, mobile hard disk, random access memory The various media that can store program code such as (Random Access Memory, RAM), magnetic disc or CD.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This A little functions are implemented in hardware or software actually, depend on the specific application and design constraint of technical solution.Specially Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not It is considered as exceeding scope of the present application.
The above, the only specific implementation mode of the application, but the protection domain of the application is not limited thereto, it is any Those familiar with the art can readily occur in various equivalent modifications or replace in the technical scope that the application discloses It changes, these modifications or substitutions should all cover within the protection domain of the application.Therefore, the protection domain of the application should be with right It is required that protection domain subject to.

Claims (10)

1. a kind of dispositions method of monitoring system, which is characterized in that including:
Obtain the module information of the monitoring system;
The monitoring system is deployed in multiple default deployment regions according to default deployment rule according to the module information;
Default monitoring tools are deployed in each default deployment region, wherein the default monitoring tools are described for monitoring Monitoring system;And
The monitoring system is monitored by the default monitoring tools to complete the deployment to the monitoring system.
2. the dispositions method of monitoring system according to claim 1, which is characterized in that described to dispose default monitoring tools In each default deployment region, including:
Obtain preset arrangement script;And the preset arrangement script is deployed in the default deployment region;
It is described that the monitoring system is monitored by the default monitoring tools, including:
Call the preset arrangement script;And
The assembly module of the monitoring system is monitored by presetting monitoring tools described in the preset arrangement script startup.
3. the dispositions method of monitoring system according to claim 1, which is characterized in that described to pass through the default monitoring work Tool is monitored the monitoring system, including:
The api interface of the assembly module of the monitoring system is called by the default monitoring tools to obtain call result letter Breath;And
The availability information of the assembly module is determined according to the call result information.
4. the dispositions method of monitoring system according to claim 1, which is characterized in that described to pass through the default monitoring work Tool is monitored the monitoring system, including:
The ports IP of the assembly module of the monitoring system are called by the default monitoring tools;
Obtain default specific instruction corresponding with the assembly module;
The default specific instruction is sent to the assembly module so that the assembly module runs the default specific instruction And generate operation result information;And
The availability information of the assembly module is determined according to the operation result information.
5. the dispositions method of monitoring system according to claim 1, which is characterized in that during the default deployment region includes Heart deployment region and non-central deployment region;
It is described that the monitoring system is deployed in by multiple default deployment regions according to default deployment rule according to the module information, Including:
Based on the module information according to default division rule by multiple assembly modules be divided into center element group and it is non-in Heart component group;
By the assembly module for belonging to the non-central component group according to default deployment rule be deployed in the center deployment region and Non-central deployment region;And
The assembly module for belonging to the center element group is deployed in the center deployment region.
6. the dispositions method of monitoring system according to claim 5, which is characterized in that described to belong to described non-central group The assembly module of part group is deployed in the center deployment region and non-central deployment region according to default deployment rule, including:
By the assembly module for belonging to the non-central component group according to logic of propositions subregion be deployed in the center deployment region and Non-central deployment region, wherein logic of propositions subregion include:Available area, common service area and cloud area under control.
7. the dispositions method of monitoring system according to claim 5, which is characterized in that the module information includes component work( It can information and api interface information;
It is described based on the module information according to default division rule by multiple assembly modules be divided into center element group with Non-central component group, including:
Judge whether the assembly module needs centrally stored information according to the assembly function information, and according to the API Interface message judges whether the assembly module needs to expose unified api interface;
If the assembly module needs centrally stored information, the assembly module is divided into the center element group;
If the assembly module needs to expose unified api interface, the assembly module is divided into the center element group; And
If the assembly module does not need centrally stored information and need not expose unified api interface, by the assembly mould Block is divided into the non-central component group.
8. a kind of deployment device of monitoring system, which is characterized in that including:
Information acquisition unit, the module information for obtaining the monitoring system;
System deployment unit, it is multiple for being deployed in the monitoring system according to default deployment rule according to the module information Default deployment region;
Tool deployment unit, for default monitoring tools to be deployed in each default deployment region, wherein the default prison Control tool is for monitoring the monitoring system;And
Systems Monitoring Unit is monitored the monitoring system for passing through the default monitoring tools to complete to the prison The deployment of control system.
9. a kind of computer equipment, which is characterized in that including memory, processor and be stored on the memory and can be in institute The computer program run on processor is stated, the processor is realized when executing the computer program as in claim 1 to 7 Any one of them dispositions method.
10. a kind of storage medium, which is characterized in that the storage medium is stored with computer program, the computer program packet Program instruction is included, described program instruction makes the processor execute such as any one of claim 1 to 7 institute when being executed by a processor The dispositions method stated.
CN201810123507.4A 2018-02-07 2018-02-07 Deployment method and device of monitoring system, computer equipment and storage medium Active CN108363653B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810123507.4A CN108363653B (en) 2018-02-07 2018-02-07 Deployment method and device of monitoring system, computer equipment and storage medium
PCT/CN2018/084709 WO2019153532A1 (en) 2018-02-07 2018-04-27 Deployment method and apparatus for monitoring system, and computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810123507.4A CN108363653B (en) 2018-02-07 2018-02-07 Deployment method and device of monitoring system, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108363653A true CN108363653A (en) 2018-08-03
CN108363653B CN108363653B (en) 2020-08-07

Family

ID=63004795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810123507.4A Active CN108363653B (en) 2018-02-07 2018-02-07 Deployment method and device of monitoring system, computer equipment and storage medium

Country Status (2)

Country Link
CN (1) CN108363653B (en)
WO (1) WO2019153532A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108845916A (en) * 2018-07-03 2018-11-20 中国联合网络通信集团有限公司 Platform monitoring and alarm method, device, equipment and computer readable storage medium
CN109451047A (en) * 2018-12-13 2019-03-08 深圳前海微众银行股份有限公司 Data transferring method, device, equipment and the storage medium of monitoring warning system
CN109800254A (en) * 2018-12-28 2019-05-24 易票联支付有限公司 A kind of service feature inspection report form generation method, system and device
CN110377294A (en) * 2019-07-23 2019-10-25 上海金融期货信息技术有限公司 A kind of multi-environment configuration system and method based on DevOps
CN117135050A (en) * 2023-10-26 2023-11-28 建信金融科技有限责任公司 Application deployment method and device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110855473B (en) * 2019-10-16 2022-11-18 平安科技(深圳)有限公司 Monitoring method, device, server and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120173717A1 (en) * 2010-12-31 2012-07-05 Vince Kohli Cloud*Innovator
CN104601673A (en) * 2014-12-23 2015-05-06 中国电子科技集团公司第三十二研究所 Extensible high-availability server layered monitoring system
CN107491371A (en) * 2016-06-13 2017-12-19 阿里巴巴集团控股有限公司 A kind of method and device for monitoring deployment
CN107528751A (en) * 2017-09-30 2017-12-29 南京卓盛云信息科技有限公司 A kind of system and its management method of dynamic distribution Zabbix monitoring datas

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105656685A (en) * 2016-02-26 2016-06-08 浪潮通信信息系统有限公司 Automatic deployment and operation and maintenance monitoring method based on zabbix system oracle
CN106549829B (en) * 2016-10-28 2019-11-12 北方工业大学 Big data computing platform monitoring system and method
CN106789284B (en) * 2016-12-28 2020-03-27 郑州云海信息技术有限公司 Monitoring system and method based on Zabbix and Docker

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120173717A1 (en) * 2010-12-31 2012-07-05 Vince Kohli Cloud*Innovator
CN104601673A (en) * 2014-12-23 2015-05-06 中国电子科技集团公司第三十二研究所 Extensible high-availability server layered monitoring system
CN107491371A (en) * 2016-06-13 2017-12-19 阿里巴巴集团控股有限公司 A kind of method and device for monitoring deployment
CN107528751A (en) * 2017-09-30 2017-12-29 南京卓盛云信息科技有限公司 A kind of system and its management method of dynamic distribution Zabbix monitoring datas

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108845916A (en) * 2018-07-03 2018-11-20 中国联合网络通信集团有限公司 Platform monitoring and alarm method, device, equipment and computer readable storage medium
CN109451047A (en) * 2018-12-13 2019-03-08 深圳前海微众银行股份有限公司 Data transferring method, device, equipment and the storage medium of monitoring warning system
CN109451047B (en) * 2018-12-13 2021-05-18 深圳前海微众银行股份有限公司 Data transmission method, device, equipment and storage medium of monitoring alarm system
CN109800254A (en) * 2018-12-28 2019-05-24 易票联支付有限公司 A kind of service feature inspection report form generation method, system and device
CN110377294A (en) * 2019-07-23 2019-10-25 上海金融期货信息技术有限公司 A kind of multi-environment configuration system and method based on DevOps
CN117135050A (en) * 2023-10-26 2023-11-28 建信金融科技有限责任公司 Application deployment method and device
CN117135050B (en) * 2023-10-26 2024-02-09 建信金融科技有限责任公司 Application deployment method and device

Also Published As

Publication number Publication date
CN108363653B (en) 2020-08-07
WO2019153532A1 (en) 2019-08-15

Similar Documents

Publication Publication Date Title
CN108363653A (en) Dispositions method, device, computer equipment and the storage medium of monitoring system
CN112511339B (en) Container monitoring alarm method, system, equipment and storage medium based on multiple clusters
CN108337315B (en) Dispositions method, device, computer equipment and the storage medium of monitoring system
CN108829560A (en) Data monitoring method, device, computer equipment and storage medium
CN104360878B (en) A kind of method and device of application software deployment
CN102340410B (en) Cluster management system and method
KR20170020311A (en) Wireless sensor network
CN109788068B (en) Heartbeat state information reporting method, device and equipment and computer storage medium
CN111404759A (en) Service detection method, rule configuration method, related device and medium
US8649270B2 (en) Dynamic network configuration
CN109428779A (en) A kind of monitoring alarm method and device of distributed service
CN108616429A (en) A kind of reconnection method and equipment of Push Service
CN105224441B (en) Virtual machine information acquisition device, method and virtual machine information maintaining method and system
CN106681861A (en) New environment isolation configuration data management method and system
EP4030690A1 (en) Device management method, apparatus, and system
CN107992491A (en) A kind of method and device of distributed file system, data access and data storage
WO2021213171A1 (en) Server switching method and apparatus, management node and storage medium
EP2645261B1 (en) Management apparatus, management system, management method and set of an application source program, a first program and a second program
US20070147260A1 (en) Method for loading a list of alarms by means of an alarm application
CN112230847A (en) Method, system, terminal and storage medium for monitoring K8s storage volume
CN115766715A (en) High-availability super-fusion cluster monitoring method and system
CN115955384A (en) Error code returning method, device and system
CN102185720A (en) North notification management interface device and management method thereof
CN105607953B (en) The method and device of process recovery processing is carried out in the application
CN110830305B (en) Method and device for wireless device to access WIFI network, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant