CN110232010A - A kind of alarm method, alarm server and monitoring server - Google Patents
A kind of alarm method, alarm server and monitoring server Download PDFInfo
- Publication number
- CN110232010A CN110232010A CN201910524411.3A CN201910524411A CN110232010A CN 110232010 A CN110232010 A CN 110232010A CN 201910524411 A CN201910524411 A CN 201910524411A CN 110232010 A CN110232010 A CN 110232010A
- Authority
- CN
- China
- Prior art keywords
- alarm
- information
- server
- target
- target alarms
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
- G06F11/3072—Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3089—Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Alarm Systems (AREA)
Abstract
The embodiment of the invention provides a kind of alarm methods, alarm server and monitoring server, it is related to techno-financial technical field, this method comprises: monitoring server is when monitoring data meets the trigger condition of the corresponding trigger of monitored item, target alarms channel is determined according to the type mark of trigger, target alarms information is generated using target alarms channel, then target alarms information is sent to alarm server, therefore it can trigger alarm in monitoring data exception, without being alerted in the set time, keep abnormal conditions processed in time, to ensure that the normal operation of financial system.Secondly, corresponding alarm channel is arranged for different types of monitored item in monitoring server, different types of warning information is generated using different alarm channels when alerting, alarm type is distinguished when receiving warning information convenient for alarm server, and target alarms information is sent to by corresponding alarm receiving end according to alarm type, to improve alarm efficiency.
Description
Technical field
The present embodiments relate to techno-financial technical field more particularly to a kind of alarm methods, alarm server and prison
Control server.
Background technique
With the development of computer technology, more and more technical applications are in financial field, and traditional financial industry is gradually
Change to financial technology (Fintech), but due to the safety of financial industry, requirement of real-time, also technology is proposed higher
Requirement.Currently, the monitoring server performance indicator of each machine and health status of service software in financial system
It when being monitored, if exception occurs in monitoring data, can't alert at once, but timing daily executes the script of definition, acquisition
Monitoring data more than threshold value generates warning information, and warning information is then sent to alarm server.It will lead to so certain
Serious excess can not be handled index in time, can only wait until that the set time is alerted, to influence financial system just
Often operation.
Summary of the invention
Due to the set time, the mode of alarm handle the serious excess of certain indexs can not in time, to influence Faculty of Finance
The problem of normal operation of system, the embodiment of the invention provides a kind of alarm method, alarm server and monitoring servers.
On the one hand, the embodiment of the invention provides a kind of alarm methods, comprising:
Alarm server receives the target alarms information that monitoring server is sent, and the target alarms information includes that alarm is retouched
State information, the target alarms information is that the monitoring server in the monitoring data for determining received monitored item meets the prison
When controlling the trigger condition of the corresponding trigger of item, target alarms channel is determined according to the type mark of the trigger, and use
What the target alarms channel generated, the corresponding trigger of a monitored item, the alarm description that different alarm channels generates
Information is different;
The alarm server determines alarm type according to the alarm description information in the target alarms information, and according to
The target alarms information is sent to corresponding alarm receiving end by the alarm type.
Optionally, the alarm server determines alarm type according to the alarm description information, comprising:
When not including resource description information in the alarm description information, the alarm server determines the alarm class
Type is platform side alarm;
When in the alarm description information including resource description information, the alarm server determines the alarm type
For user side alarm.
It is optionally, described that the target alarms information is sent to by corresponding alarm receiving end according to the alarm type,
Include:
When the alarm type is that platform side alerts, the target alarms information is sent to flat by the alarm server
Platform administrator end;
When the alarm type is that user side alerts, the resource description information is sent to use by the alarm server
Family management end, so that the user management end determines the identification information at target user end according to the resource description information, and will
The identification information at the target user end is sent to the alarm server;
The warning information is sent to the mesh according to the identification information at the target user end by the alarm server
Mark user terminal.
Optionally, the user management end determines the identification information at target user end according to the resource description information, packet
It includes:
When the user management end determines that alarm resource belongs to personal user according to the resource description information, individual is used
Family information is determined as the identification information at target user end;
When the user management end determines that alarm resource belongs to tenant according to the resource description information, by tenant administrator
Information is determined as the identification information at target user end.
Optionally, further includes:
The alarm server receives the identification information for the alarm tenant that the user management end is sent, the alarm tenant
Identification information sent when to be the user management end determine that alarm resource belongs to tenant according to the resource description information;
The alarm server alerts the identification information of the alarm tenant and the corresponding insertion of the target alarms information
In record sheet.
On the one hand, the embodiment of the invention provides a kind of alarm methods, comprising:
Monitoring server receives the monitoring data for the monitored item that monitored device is sent;
The monitoring server is when the monitoring data meets the trigger condition of the corresponding trigger of the monitored item, root
Target alarms channel, the corresponding trigger of a monitored item are determined according to the type mark of the trigger;
The monitoring server generates target alarms information, the target alarms packet using the target alarms channel
Alarm description information is included, the alarm description information that different alarm channels generates is different;
The target alarms information is sent to alarm server by the monitoring server, so that the alarm server root
Alarm type is determined according to the alarm description information in the target alarms information, and is accused the target according to the alarm type
Alert information is sent to corresponding alarm receiving end.
On the one hand, the embodiment of the invention provides a kind of alarm servers, comprising:
First receiving module, for receiving the target alarms information of monitoring server transmission, the target alarms packet
Alarm description information is included, the target alarms information is that the monitoring server is full in the monitoring data for determining received monitored item
When the trigger condition of the corresponding trigger of the foot monitored item, determine that target alarms are logical according to the type mark of the trigger
Road, and generated using the target alarms channel, the corresponding trigger of a monitored item, what different alarm channels generated
Alarm description information is different;
First processing module, for determining alarm type according to the alarm description information in the target alarms information;
First sending module connects for the target alarms information to be sent to corresponding alarm according to the alarm type
Receiving end.
Optionally, the first processing module is specifically used for:
When not including resource description information in the alarm description information, the alarm server determines the alarm class
Type is platform side alarm;
When in the alarm description information including resource description information, the alarm server determines the alarm type
For user side alarm.
Optionally, first sending module is specifically used for:
When the alarm type is that platform side alerts, the target alarms information is sent to platform administrator end;
When the alarm type is that user side alerts, the resource description information is sent to user management end, so that
The user management end determines the identification information at target user end according to the resource description information, and by the target user end
Identification information be sent to the alarm server;
The warning information is sent to the target user end according to the identification information at the target user end.
Optionally, when the user management end determines that alarm resource belongs to personal user according to the resource description information,
Personal user information is determined as to the identification information at target user end;
When the user management end determines that alarm resource belongs to tenant according to the resource description information, by tenant administrator
Information is determined as the identification information at target user end.
Optionally, first receiving module is also used to:
The identification information for the alarm tenant that the user management end is sent is received, the identification information of the alarm tenant is institute
It states when user management end determines that alarm resource belongs to tenant according to the resource description information and sends;
The first processing module is also used to:
It will be in the identification information of the alarm tenant and the corresponding insertion alarm record sheet of the target alarms information.
On the one hand, the embodiment of the invention provides a kind of monitoring servers, comprising:
Second receiving module, the monitoring data of the monitored item for receiving monitored device transmission;
Trigger module, when for meeting the trigger condition of the corresponding trigger of the monitored item in the monitoring data, root
Target alarms channel, the corresponding trigger of a monitored item are determined according to the type mark of the trigger;
Second processing module, for generating target alarms information, the target alarms letter using the target alarms channel
Breath includes alarm description information, and the alarm description information that different alarm channels generates is different;
Second sending module, for the target alarms information to be sent to alarm server, so that the alerting service
Device determines alarm type according to the alarm description information in the target alarms information, and according to the alarm type by the mesh
Mark warning information is sent to corresponding alarm receiving end.
On the one hand, the embodiment of the invention provides a kind of warning systems, comprising:
Monitoring server, alarm server;
The monitoring server is used for, and receives the monitoring data for the monitored item that monitored device is sent;In the monitoring number
When according to the trigger condition for meeting the corresponding trigger of the monitored item, target alarms are determined according to the type mark of the trigger
Channel, the corresponding trigger of a monitored item;Target alarms information is generated using the target alarms channel, the target is accused
Alert information includes alarm description information, and the alarm description information that different alarm channels generates is different;The target alarms are believed
Breath is sent to alarm server;
The alarm server is used for, and determines alarm type according to the alarm description information in the target alarms information,
And the target alarms information is sent to by corresponding alarm receiving end according to the alarm type.
On the one hand, the embodiment of the invention provides a kind of computer equipment, including memory, processor and it is stored in storage
On device and the computer program that can run on a processor, the processor realize the step of alarm method when executing described program
Suddenly.
On the one hand, the embodiment of the invention provides a kind of computer readable storage medium, being stored with can be set by computer
The standby computer program executed, when described program is run on a computing device, so that the computer equipment executes alarm
The step of method.
In the embodiment of the present invention, monitoring server meets the trigger condition of the corresponding trigger of monitored item in monitoring data
When, target alarms channel is determined according to the type mark of trigger, target alarms information is generated using target alarms channel, then
Target alarms information is sent to alarm server, therefore can trigger alarm in monitoring data exception, without in fixation
Time alarm keeps abnormal conditions processed in time, to ensure that the normal operation of financial system.Secondly, monitoring server
Corresponding alarm channel is set for different types of monitored item, difference is generated using different alarm channels when alerting
The warning information of type, distinguishes alarm type when receiving warning information convenient for alarm server, and according to alarm type by mesh
Mark warning information is sent to corresponding alarm receiving end, to improve alarm efficiency.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings
His attached drawing.
Fig. 1 is a kind of application scenarios schematic diagram provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of alarm method provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of alarm method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of alarm server provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of monitoring server provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of warning system provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of computer equipment provided in an embodiment of the present invention.
Specific embodiment
In order to which the purpose of the present invention, technical solution and beneficial effect is more clearly understood, below in conjunction with attached drawing and implementation
Example, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only used to explain this hair
It is bright, it is not intended to limit the present invention.
In order to facilitate understanding, noun involved in the embodiment of the present invention is explained below.
Zabbix:Zabbix is the distributed open source monitoring scheme an of enterprise-level.It is that a can monitor various networks
The software of parameter and server health and integrality.The informing mechanism of Zabbix using flexible, allowing user is almost to appoint
Event configures the alarm based on mail.In this way can be with rapid feedback server the problem of.Based on stored data, Zabbix
Provide outstanding report and data visualization function.These functions make ideal scheme of the Zabbix as capacity planning.
Zabbix supports active poll and passive capture.Zabbix all report, statistical information and configuration parameters can pass through base
It accesses in the front end page of Web.Front end page based on Web may insure to assess network state and service in terms of any
The health of device.It is appropriate with postponing, Zabbix can play the part of important role in terms of IT infrastructure monitoring.
Big data resource: big data resource includes HIVE, YANR, HDFS;HIVE is a data bins based on Hadoop
The data file of structuring, can be mapped as a database table by library tool, the above-mentioned data by HIVE building using library as
Unit is stored in HDFS distributed file system.YARN is the resource management system of Hadoop cluster, can be split into
The one global resource manager ResourceManager and distinctive ApplicationMaster of each application program.Yarn
The scheduling of resource relies on memory size and CPU core number.HDFS is the highest document storage system of reliability, suitable for being stored in collection
It is run on group, is usually used in storing large-data documents.
Alarm method in the embodiment of the present invention can be applied in application scenarios shown in FIG. 1, which includes being supervised
Control equipment 101, monitoring server 102, alarm server 103, user management end 104, platform administrator end 105, target user
End 106, wherein monitored device 101 can be the service server of bank and other financial mechanism, and monitored device 101 can be
It is one or more.Agent components are installed in each monitored device 101, which can be Zabbix Agent components,
Monitoring script is set in each monitored device 101, and the execution parameter of monitoring script is specified when creating each monitored item.
Monitoring server 102 can be Zabbix monitoring server, when monitoring server 102 calls the agency in monitored device 101
When component, Agent components trigger monitoring script and execute, and obtain the monitoring data of each monitored item.Monitored device 101 will be each
The mark of monitored item and the monitoring data of each monitored item are sent to monitoring server 102 in the form of one-to-one.Monitoring clothes
Device 102 be engaged in including capturing component, captures component in advance using the automatic mark for finding rule and obtaining each monitored item.Capture component
Each monitored item is obtained according to the one-to-one relationship between the mark and the monitoring data of each monitored item of each monitored item
Monitoring data.When monitoring data meets the trigger condition of the corresponding trigger of monitored item, monitoring server 102 is according to trigger
Type mark determine target alarms channel, the corresponding trigger of a monitored item.Monitoring server 102 uses target alarms
Channel generates target alarms information, and target alarms information includes alarm description information, and the alarm that different alarm channels generates is retouched
State information difference.Target alarms information is sent to alarm server 103 by monitoring server 102.Alarm server 103 is according to mesh
When alarm description information in mark warning information determines that alarm type is platform side alarm, target alarms information is sent to platform
Administrator end 105.Alarm server 103 determines that alarm type is user side according to the alarm description information in target alarms information
When alarm, resource description information is sent to user management end 104.User management end 104 determines according to resource description information and accuses
When alert resource belongs to personal user, personal user information is determined as to the identification information at target user end 106, and by target user
The identification information at end 106 is sent to alarm server 103.User management end 104 determines alarm resource according to resource description information
When belonging to tenant, tenant's administrator information is determined as to the identification information at target user end 106, and by target user end 106
Identification information is sent to alarm server 103.Alarm server 103 believes alarm according to the identification information at target user end 106
Breath is sent to target user end 106.
Based on application scenario diagram shown in FIG. 1, the embodiment of the invention provides a kind of process of alarm method, this method
Process can be executed by alarm server and monitoring server interaction, as shown in Figure 2, comprising the following steps:
Step S201, monitoring server receive the monitoring data for the monitored item that monitored device is sent.
Specifically, the monitoring data of monitored item can be the operation data of big data platform component, viability achievement data,
Big data resource data etc..Agent components are installed, Agent components trigger monitoring script and execute, and obtain each in monitored device
The monitoring data of monitored item.The execution parameter of monitoring script is specified when creating each monitored item, and monitoring script is according to holding
Row parameter generates related command and executes.
The monitoring data of the mark of each monitored item and each monitored item is sent to by monitored device using transmission script
Monitoring server.When monitoring script execution does not malfunction, monitored device adds use in the monitoring data of each monitored item
Successful field is acquired in mark.Monitoring server receive monitored device send monitored item monitoring data when, according to
Successful field, which is acquired, in mark determines that data acquire successfully.When monitoring script, which executes, to malfunction, monitored device is not each
Addition acquires successful field for identifying in the monitoring data of monitored item.Monitoring server receives the prison that monitored device is sent
When controlling the monitoring data of item, due to acquiring successful field without being used to identify in monitoring data, it is determined that data acquisition failure.
Monitored device using multithreading execute monitoring script obtain monitoring data, using asynchronous system occur monitoring data to monitor clothes
Business device.
Optionally, in order to reduce the pressure of monitoring server, can be arranged between monitoring server and monitored device
Proxy server, monitored device are sent the monitoring data of the mark of each monitored item and each monitored item using transmission script
To proxy server, the monitoring data of the mark of each monitored item and each monitored item is then sent to prison by proxy server
Control server.
In specific implementation, proxy server can be respectively set in different zones, the proxy server in each region is used for
The monitoring data that the monitored device in the region is sent is received, is then sent by the unified monitoring data by collection of proxy server
The pressure of monitoring server is reduced to monitoring server to realize distributed monitoring.
Optionally, the mark that the capture component of monitoring server pre-saves each monitored item can when monitored item is less
The mark of each monitored item is manually arranged, but when monitored item is more, the mode being manually arranged is not easy to realize, for this purpose, prison
The mark for controlling each monitored item in the capture component of server, which can be, finds what rule obtained using automatic.
Step S202, monitoring server when monitoring data meets the trigger condition of the corresponding trigger of monitored item, according to
The type mark of trigger determines target alarms channel.
Specifically, the corresponding trigger of a monitored item;For a kind of identical monitored item, a kind of triggering can be defined
Then device original shape automatically generates identical trigger for each monitored item.Different alarm level and announcement can be set in trigger
Alert threshold value.The type mark that trigger can be set in advance, for distinguishing different alarm channels, different alarm channel settings
There is corresponding warning information template, different warning information can be generated.
Step S203, monitoring server generate target alarms information using target alarms channel.
Specifically, target alarms information includes alarm description information, at the same further include host name, IP address, alarm title,
Event id etc..The alarm description information that different alarm channels generate is different, for example, different big data resources correspond to it is different
Channel is alerted, it is different to generate alarm description information.
Target alarms information is sent to alarm server by step S204, monitoring server.
Step S205, alarm server determine alarm type according to the alarm description information in target alarms information.
Target alarms information is sent to corresponding alarm receiving end according to alarm type by step S206, alarm server.
In the embodiment of the present invention, monitoring server meets the trigger condition of the corresponding trigger of monitored item in monitoring data
When, target alarms channel is determined according to the type mark of trigger, target alarms information is generated using target alarms channel, then
Target alarms information is sent to alarm server, therefore can trigger alarm in monitoring data exception, without in fixation
Time alarm keeps abnormal conditions processed in time, to ensure that the normal operation of financial system.Secondly, monitoring server
Corresponding alarm channel is set for different types of monitored item, difference is generated using different alarm channels when alerting
The warning information of type, distinguishes alarm type when receiving warning information convenient for alarm server, and according to alarm type by mesh
Mark warning information is sent to corresponding alarm receiving end, to improve alarm efficiency.
Optionally, in above-mentioned steps S205, when not including resource description information in alarm description information, alerting service
Device determines alarm type for platform side alarm;When in alarm description information including resource description information, alarm server is determined
Alarm type is user side alarm.
In specific implementation, for resource description information for describing specifically to alert resource, resource description information includes resource
Cluster and resource name where type, resource can position specific alarm resource based on resource description information.Resource description
Information is located in the resource field of resource description information, and alarm server can be sentenced when receiving target alarms information
It whether include resource field in disconnected target alarms information, if not including, it is determined that alarm type is platform side alarm, if packet
Field containing resource, it is determined that alarm type is user side alarm.It is distinguished and is used using the resource description information in warning information
The alarm of family side and platform side alarm, realize the differentiation of alarm type.
Further, when alarm type is that platform side alerts, target alarms information is sent to platform by alarm server
Administrator end.When alarm type is that user side alerts, resource description information is sent to user management end by alarm server, is used
Family management end determines the identification information at target user end according to resource description information, and the identification information at target user end is sent
To alarm server;Warning information is sent to target user end according to the identification information at target user end by alarm server.
Specifically, platform side alarm refers to that monitoring data is monitoring information relevant to big data platform, user side alarm
Refer to that monitoring data is related to user.The processing people of above two alarm is not identical, it is therefore desirable to distinguish warning information
Recipient.Platform side alarm is handled by platform administrator, therefore when alarm type is that platform side alerts, alarm server will
Target alarms information is sent to platform administrator end.User side alarm is handled by user, but what big data user platform was related to
User is more, therefore user management end is needed to determine target user according to resource description information, then by alarm server by target
Warning information is sent to target user end.Due to after determining alarm type, alarm information is sent to pair for alarm type
The alarm recipient answered is handled, and is realized precisely alarm, be ensure that the timeliness of alarming processing.
Optionally, in multi-tenant system, when alarm type is that user side alerts, the user being related to includes personal user
And tenant.It is when user management end determines that alarm resource belongs to personal user according to resource description information, personal user information is true
It is set to the identification information at target user end.It, will when user management end determines that alarm resource belongs to tenant according to resource description information
Tenant's administrator information is determined as the identification information at target user end.Alarm server will according to the identification information at target user end
Warning information is sent to target user end.Combined by the way that user side is alerted resource with multi-tenant system alarm people, is realized
It effectively sends resource alarm to corresponding tenant or individual, improves the specific aim of alarm.
Optionally, when user management end determines that alarm resource belongs to tenant according to resource description information, alarm tenant is sent
Identification information to alarm server.Alarm server accuses the identification information for alerting tenant and the corresponding insertion of target alarms information
In alert record sheet.
Specifically, the identification information for alerting tenant can be tenant ID, will alert the identification information and target alarms of tenant
After in the corresponding insertion alarm record sheet of information, user can inquire the warning information of tenant, detailed process in portal website are as follows:
Portal website calls the interface of alarm server and transmits the identification information of alarm tenant, alarm server query warning record sheet
The warning information of alarm tenant is obtained, warning information is then returned into portal website, portal website shows alarm tenant to user
Warning information.The warning information that each tenant is recorded by setting alarm record sheet, knows tenant convenient for user's subsequent query
Alarm situation.
Embodiment in order to preferably explain the present invention describes the embodiment of the present invention below with reference to specific implement scene and provides
A kind of alarm method, this method by monitoring server, alarm server, user management end interaction execute, as shown in figure 3, should
Method the following steps are included:
Step S301, monitoring server receive the monitoring data for the monitored item that monitored device is sent.
Agent components are installed, the Agent components triggering monitoring script of monitored device is executed, obtained in monitored device
The monitoring data of each monitored item.
Step S302, monitoring server when monitoring data meets the trigger condition of the corresponding trigger of monitored item, according to
The type mark of trigger determines target alarms channel.
Step S303, monitoring server generate target alarms information using target alarms channel.
Target alarms information is sent to alarm server by step S304, monitoring server.
Step S305, alarm server determine alarm type according to the alarm description information in target alarms information.
Step S306, when alarm type is that platform side alerts, target alarms information is sent to platform by alarm server
Administrator end.
Step S307, when alarm type is that user side alerts, resource description information is sent to user by alarm server
Management end.
Step S308 will be personal when user management end determines that alarm resource belongs to personal user according to resource description information
User information is determined as the identification information at target user end.
Step S309 manages tenant when user management end determines that alarm resource belongs to tenant according to resource description information
Member's information is determined as the identification information at target user end.
The identification information at target user end is sent to alarm server by step S310, user management end.
Warning information is sent to target user according to the identification information at target user end by step S311, alarm server
End.
In the embodiment of the present invention, monitoring server meets the trigger condition of the corresponding trigger of monitored item in monitoring data
When, target alarms channel is determined according to the type mark of trigger, target alarms information is generated using target alarms channel, then
Target alarms information is sent to alarm server, therefore can trigger alarm in monitoring data exception, without in fixation
Time alarm keeps abnormal conditions processed in time, to ensure that the normal operation of financial system.Secondly, monitoring server
Corresponding alarm channel is set for different types of monitored item, difference is generated using different alarm channels when alerting
The warning information of type, distinguishes alarm type when receiving warning information convenient for alarm server, and according to alarm type by mesh
Mark warning information is sent to corresponding alarm receiving end, to improve alarm efficiency.
Based on the same technical idea, the embodiment of the invention provides a kind of alarm servers, as shown in figure 4, the alarm
Server 400 includes:
First receiving module 401, for receiving the target alarms information of monitoring server transmission, the target alarms information
Including alarm description information, the target alarms information is the monitoring server in the monitoring data for determining received monitored item
When meeting the trigger condition of the corresponding trigger of the monitored item, determine that target alarms are logical according to the type mark of the trigger
Road, and generated using the target alarms channel, the corresponding trigger of a monitored item, what different alarm channels generated
Alarm description information is different;
First processing module 402, for determining alarm type according to the alarm description information in the target alarms information;
First sending module 403, for the target alarms information to be sent to corresponding announcement according to the alarm type
Alert receiving end.
Optionally, the first processing module 402 is specifically used for:
When not including resource description information in the alarm description information, the alarm server determines the alarm class
Type is platform side alarm;
When in the alarm description information including resource description information, the alarm server determines the alarm type
For user side alarm.
Optionally, first sending module 403 is specifically used for:
When the alarm type is that platform side alerts, the target alarms information is sent to platform administrator end;
When the alarm type is that user side alerts, the resource description information is sent to user management end, so that
The user management end determines the identification information at target user end according to the resource description information, and by the target user end
Identification information be sent to the alarm server;
The warning information is sent to the target user end according to the identification information at the target user end.
Optionally, when the user management end determines that alarm resource belongs to personal user according to the resource description information,
Personal user information is determined as to the identification information at target user end;
When the user management end determines that alarm resource belongs to tenant according to the resource description information, by tenant administrator
Information is determined as the identification information at target user end.
Optionally, first receiving module 401 is also used to:
The identification information for the alarm tenant that the user management end is sent is received, the identification information of the alarm tenant is institute
It states when user management end determines that alarm resource belongs to tenant according to the resource description information and sends;
The first processing module 402 is also used to:
It will be in the identification information of the alarm tenant and the corresponding insertion alarm record sheet of the target alarms information.
Based on the same technical idea, the embodiment of the invention provides a kind of monitoring servers, as shown in figure 5, the monitoring
Server 500 includes:
Second receiving module 501, the monitoring data of the monitored item for receiving monitored device transmission;
Trigger module 502, when for meeting the trigger condition of the corresponding trigger of the monitored item in the monitoring data,
Target alarms channel, the corresponding trigger of a monitored item are determined according to the type mark of the trigger;
Second processing module 503, for generating target alarms information, the target alarms using the target alarms channel
Information includes alarm description information, and the alarm description information that different alarm channels generates is different;
Second sending module 504, for the target alarms information to be sent to alarm server, so that the alarm takes
Business device determines alarm type according to the alarm description information in the target alarms information, and will be described according to the alarm type
Target alarms information is sent to corresponding alarm receiving end.
Based on the same technical idea, the embodiment of the invention provides a kind of warning systems, as shown in fig. 6, the alarm system
System 600 includes:
Monitoring server 601, alarm server 602;
The monitoring server 601 is used for, and receives the monitoring data for the monitored item that monitored device is sent;In the monitoring
When data meet the trigger condition of the corresponding trigger of the monitored item, determine that target is accused according to the type mark of the trigger
Alert channel, the corresponding trigger of a monitored item;Target alarms information, the target are generated using the target alarms channel
Warning information includes alarm description information, and the alarm description information that different alarm channels generates is different;By the target alarms
Information is sent to alarm server;
The alarm server 602 is used for, and determines alarm class according to the alarm description information in the target alarms information
Type, and the target alarms information is sent to by corresponding alarm receiving end according to the alarm type.
Based on the same technical idea, the embodiment of the invention provides a kind of computer equipments, as shown in fig. 7, comprises extremely
Lack a processor 701, and the memory 702 connecting at least one processor, does not limit processing in the embodiment of the present invention
Specific connection medium between device 701 and memory 702 passes through bus between processor 701 and memory 702 in Fig. 7 and connects
For.Bus can be divided into address bus, data/address bus, control bus etc..
In embodiments of the present invention, memory 702 is stored with the instruction that can be executed by least one processor 701, at least
The instruction that one processor 701 is stored by executing memory 702, can execute step included in alarm method above-mentioned
Suddenly.
Wherein, processor 701 is the control centre of computer equipment, can use various interfaces and connection computer
The various pieces of equipment are stored in memory 702 by running or executing the instruction being stored in memory 702 and calling
Data, to alert.Optionally, processor 701 may include one or more processing units, and processor 701 can integrate application
Processor and modem processor, wherein the main processing operation system of application processor, user interface and application program etc.,
Modem processor mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into
In processor 701.In some embodiments, processor 701 and memory 702 can be realized on the same chip, in some realities
It applies in example, they can also be realized respectively on independent chip.
Processor 701 can be general processor, such as central processing unit (CPU), digital signal processor, dedicated integrated
Circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array or other can
Perhaps transistor logic, discrete hardware components may be implemented or execute present invention implementation for programmed logic device, discrete gate
Each method, step and logic diagram disclosed in example.General processor can be microprocessor or any conventional processor
Deng.The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly in hardware processor and execute completion, Huo Zheyong
Hardware and software module combination in processor execute completion.
Memory 702 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey
Sequence, non-volatile computer executable program and module.Memory 702 may include the storage medium of at least one type,
It such as may include flash memory, hard disk, multimedia card, card-type memory, random access storage device (Random Access
Memory, RAM), static random-access memory (Static Random Access Memory, SRAM), may be programmed read-only deposit
Reservoir (Programmable Read Only Memory, PROM), read-only memory (Read Only Memory, ROM), band
Electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory,
EEPROM), magnetic storage, disk, CD etc..Memory 702 can be used for carrying or storing have instruction or data
The desired program code of structure type and can by any other medium of computer access, but not limited to this.The present invention is real
Applying the memory 702 in example can also be circuit or other devices that arbitrarily can be realized store function, for storing program
Instruction and/or data.
Based on the same technical idea, it the embodiment of the invention provides a kind of computer readable storage medium, is stored with
The computer program that can be executed by computer equipment, when described program is run on a computing device, so that the computer
Equipment executes the step of alarm method.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the present invention
Form.It is deposited moreover, the present invention can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of alarm method characterized by comprising
Alarm server receives the target alarms information that monitoring server is sent, and the target alarms information includes alarm description letter
Breath, the target alarms information are that the monitoring server in the monitoring data for determining received monitored item meets the monitored item
When the trigger condition of corresponding trigger, target alarms channel is determined according to the type mark of the trigger, and described in use
What target alarms channel generated, the corresponding trigger of a monitored item, the alarm description information that different alarm channels generates
It is different;
The alarm server determines alarm type according to the alarm description information in the target alarms information, and according to described
The target alarms information is sent to corresponding alarm receiving end by alarm type.
2. the method as described in claim 1, which is characterized in that the alarm server is determined according to the alarm description information
Alarm type, comprising:
When not including resource description information in the alarm description information, the alarm server determines that the alarm type is
Platform side alarm;
When in the alarm description information including resource description information, the alarm server determines the alarm type to use
The alarm of family side.
3. method according to claim 2, which is characterized in that it is described according to the alarm type by the target alarms information
It is sent to alarm receiving end, comprising:
When the alarm type is that platform side alerts, the target alarms information is sent to platform pipe by the alarm server
Reason person end;
When the alarm type is that user side alerts, the resource description information is sent to user and managed by the alarm server
End is managed, so that the user management end determines the identification information at target user end according to the resource description information, and will be described
The identification information at target user end is sent to the alarm server;
The warning information is sent to the target according to the identification information at the target user end and used by the alarm server
Family end.
4. method as claimed in claim 3, which is characterized in that the user management end is determined according to the resource description information
The identification information at target user end, comprising:
When the user management end determines that alarm resource belongs to personal user according to the resource description information, personal user is believed
Breath is determined as the identification information at target user end;
When the user management end determines that alarm resource belongs to tenant according to the resource description information, by tenant's administrator information
It is determined as the identification information at target user end.
5. method as claimed in claim 4, which is characterized in that further include:
The alarm server receives the identification information for the alarm tenant that the user management end is sent, the mark of the alarm tenant
Knowing information is that the user management end is sent when determining that alarm resource belongs to tenant according to the resource description information;
The alarm server records the identification information of the alarm tenant and the corresponding insertion alarm of the target alarms information
In table.
6. a kind of alarm method characterized by comprising
Monitoring server receives the monitoring data for the monitored item that monitored device is sent;
The monitoring server is when the monitoring data meets the trigger condition of the corresponding trigger of the monitored item, according to institute
The type mark for stating trigger determines target alarms channel, the corresponding trigger of a monitored item;
The monitoring server generates target alarms information using the target alarms channel, and the target alarms information includes accusing
Alert description information, the alarm description information that different alarm channels generates are different;
The target alarms information is sent to alarm server by the monitoring server, so that the alarm server is according to institute
It states the alarm description information in target alarms information and determines alarm type, and believed the target alarms according to the alarm type
Breath is sent to corresponding alarm receiving end.
7. a kind of alarm server characterized by comprising
First receiving module, for receiving the target alarms information of monitoring server transmission, the target alarms information includes accusing
Alert description information, the target alarms information are that the monitoring server in the monitoring data for determining received monitored item meets institute
When stating the trigger condition of the corresponding trigger of monitored item, target alarms channel is determined according to the type mark of the trigger, and
It is generated using the target alarms channel, the corresponding trigger of a monitored item, the alarm that different alarm channels generates
Description information is different;
First processing module, for determining alarm type according to the alarm description information in the target alarms information;
First sending module is received for the target alarms information to be sent to corresponding alarm according to the alarm type
End.
8. a kind of monitoring server characterized by comprising
Second receiving module, the monitoring data of the monitored item for receiving monitored device transmission;
Trigger module, when for meeting the trigger condition of the corresponding trigger of the monitored item in the monitoring data, according to institute
The type mark for stating trigger determines target alarms channel, the corresponding trigger of a monitored item;
Second processing module, for generating target alarms information, the target alarms packet using the target alarms channel
Alarm description information is included, the alarm description information that different alarm channels generates is different;
Second sending module, for the target alarms information to be sent to alarm server, so that the alarm server root
Alarm type is determined according to the alarm description information in the target alarms information, and is accused the target according to the alarm type
Alert information is sent to corresponding alarm receiving end.
9. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor
Calculation machine program, which is characterized in that the processor is realized described in Claims 1 to 5 any claim when executing described program
The step of method or claim 6 the method.
10. a kind of computer readable storage medium, which is characterized in that it is stored with the computer journey that can be executed by computer equipment
Sequence, when described program is run on a computing device, so that computer equipment perform claim requirement 1~5 is any described
The step of method or claim the method 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910524411.3A CN110232010A (en) | 2019-06-18 | 2019-06-18 | A kind of alarm method, alarm server and monitoring server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910524411.3A CN110232010A (en) | 2019-06-18 | 2019-06-18 | A kind of alarm method, alarm server and monitoring server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110232010A true CN110232010A (en) | 2019-09-13 |
Family
ID=67860059
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910524411.3A Pending CN110232010A (en) | 2019-06-18 | 2019-06-18 | A kind of alarm method, alarm server and monitoring server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110232010A (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110445694A (en) * | 2019-09-23 | 2019-11-12 | 成都长虹网络科技有限责任公司 | A method of trigger notice is monitored based on Zabbix |
CN110688278A (en) * | 2019-09-23 | 2020-01-14 | 凡普数字技术有限公司 | Alarm notification method, device and storage medium |
CN110688281A (en) * | 2019-09-25 | 2020-01-14 | 凡普数字技术有限公司 | Alarm method and device in monitoring system and storage medium |
CN110764967A (en) * | 2019-10-18 | 2020-02-07 | 广东浪潮大数据研究有限公司 | High-performance monitoring alarm system, method and device and computer readable storage medium |
CN111026607A (en) * | 2019-11-14 | 2020-04-17 | 山东中创软件商用中间件股份有限公司 | Server monitoring system and method and server data acquisition method and system |
CN111782486A (en) * | 2020-07-03 | 2020-10-16 | 上海浦东发展银行股份有限公司 | Alarm implementation method and system based on dynamic configuration |
CN112015618A (en) * | 2020-08-17 | 2020-12-01 | 杭州指令集智能科技有限公司 | Abnormity warning method and device |
CN112530139A (en) * | 2019-09-19 | 2021-03-19 | 维谛技术有限公司 | Monitoring system, method, device, collector and storage medium |
CN112532404A (en) * | 2019-09-17 | 2021-03-19 | 中国移动通信集团广东有限公司 | Data monitoring method and device and electronic equipment |
CN112650642A (en) * | 2020-12-07 | 2021-04-13 | 深圳前海微众银行股份有限公司 | Alarm processing method and device, equipment and storage medium |
CN112685247A (en) * | 2020-12-24 | 2021-04-20 | 京东方科技集团股份有限公司 | Alarm suppression method based on Zabbix monitoring system and monitoring system |
CN113468030A (en) * | 2021-07-16 | 2021-10-01 | 京东科技控股股份有限公司 | Monitoring and alarming method and device of ABS (anti-lock braking system), storage medium and electronic equipment |
CN115396278A (en) * | 2022-08-11 | 2022-11-25 | 西安雷风电子科技有限公司 | System exception handling method and device |
CN115913888A (en) * | 2022-11-18 | 2023-04-04 | 浪潮(山东)计算机科技有限公司 | Server alarm system control method, device and medium |
-
2019
- 2019-06-18 CN CN201910524411.3A patent/CN110232010A/en active Pending
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112532404B (en) * | 2019-09-17 | 2023-09-22 | 中国移动通信集团广东有限公司 | Data monitoring method and device and electronic equipment |
CN112532404A (en) * | 2019-09-17 | 2021-03-19 | 中国移动通信集团广东有限公司 | Data monitoring method and device and electronic equipment |
CN112530139A (en) * | 2019-09-19 | 2021-03-19 | 维谛技术有限公司 | Monitoring system, method, device, collector and storage medium |
CN110688278A (en) * | 2019-09-23 | 2020-01-14 | 凡普数字技术有限公司 | Alarm notification method, device and storage medium |
CN110445694A (en) * | 2019-09-23 | 2019-11-12 | 成都长虹网络科技有限责任公司 | A method of trigger notice is monitored based on Zabbix |
CN110688281A (en) * | 2019-09-25 | 2020-01-14 | 凡普数字技术有限公司 | Alarm method and device in monitoring system and storage medium |
CN110764967A (en) * | 2019-10-18 | 2020-02-07 | 广东浪潮大数据研究有限公司 | High-performance monitoring alarm system, method and device and computer readable storage medium |
CN111026607A (en) * | 2019-11-14 | 2020-04-17 | 山东中创软件商用中间件股份有限公司 | Server monitoring system and method and server data acquisition method and system |
CN111782486A (en) * | 2020-07-03 | 2020-10-16 | 上海浦东发展银行股份有限公司 | Alarm implementation method and system based on dynamic configuration |
CN111782486B (en) * | 2020-07-03 | 2024-04-16 | 上海浦东发展银行股份有限公司 | Alarm realization method and system based on dynamic configuration |
CN112015618A (en) * | 2020-08-17 | 2020-12-01 | 杭州指令集智能科技有限公司 | Abnormity warning method and device |
CN112650642A (en) * | 2020-12-07 | 2021-04-13 | 深圳前海微众银行股份有限公司 | Alarm processing method and device, equipment and storage medium |
CN112685247A (en) * | 2020-12-24 | 2021-04-20 | 京东方科技集团股份有限公司 | Alarm suppression method based on Zabbix monitoring system and monitoring system |
CN112685247B (en) * | 2020-12-24 | 2024-01-12 | 京东方科技集团股份有限公司 | Alarm suppression method based on Zabbix monitoring system and monitoring system |
CN113468030A (en) * | 2021-07-16 | 2021-10-01 | 京东科技控股股份有限公司 | Monitoring and alarming method and device of ABS (anti-lock braking system), storage medium and electronic equipment |
CN115396278A (en) * | 2022-08-11 | 2022-11-25 | 西安雷风电子科技有限公司 | System exception handling method and device |
CN115913888A (en) * | 2022-11-18 | 2023-04-04 | 浪潮(山东)计算机科技有限公司 | Server alarm system control method, device and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110232010A (en) | A kind of alarm method, alarm server and monitoring server | |
CN107992398B (en) | Monitoring method and monitoring system of service system | |
US20180365085A1 (en) | Method and apparatus for monitoring client applications | |
CN108776934B (en) | Distributed data calculation method and device, computer equipment and readable storage medium | |
CN110661659A (en) | Alarm method, device and system and electronic equipment | |
CN112311617A (en) | Configured data monitoring and alarming method and system | |
CN109460307B (en) | Micro-service calling tracking method and system based on log embedded point | |
CN110290190A (en) | A kind of method, monitored device and monitoring server acquiring data | |
CN111770002B (en) | Test data forwarding control method and device, readable storage medium and electronic equipment | |
CN111813573B (en) | Communication method of management platform and robot software and related equipment thereof | |
CN113656245B (en) | Data inspection method and device, storage medium and processor | |
CN112511580B (en) | Message pushing method, device, storage medium and equipment | |
CN109726091B (en) | Log management method and related device | |
US10310851B2 (en) | Automated generation of service definitions for message queue application clients | |
CN111258798B (en) | Fault positioning method and device for monitoring data, computer equipment and storage medium | |
CN110941632A (en) | Database auditing method, device and equipment | |
CN110807050B (en) | Performance analysis method, device, computer equipment and storage medium | |
CN104407966B (en) | Statistical system and method for memory object number of JVM (JAVA virtual machine) | |
CN109918277A (en) | Electronic device, the evaluation method of system log cluster analysis result and storage medium | |
CN111338888B (en) | Data statistics method and device, electronic equipment and storage medium | |
CN111324583A (en) | Method and device for classifying service logs | |
CN109495544A (en) | A kind of message data treating method and apparatus and computer equipment | |
CN109815081A (en) | The long range acquisition method and collection device of database performance | |
CN110958129A (en) | Method, system and device for flow analysis | |
CN109635015B (en) | Determination method and device for attribute data using object and server |
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 |