Directory Some concepts on the page Configure the agent service to obtain target host data Monitor nginx server Add a configuration to the web page Custom monitoring items — taking monitoring nginx as an example 1. Turn on the statistical function of nginx itself 2. Write scripts to collect data 3. Get data in zabbix-server […]
Tag: triggers
AggregateFunction combines with custom triggers to implement click-through rate calculation
Background: Continuing from the previous article, ProcessWindowFunction combined with a custom trigger will cause the problem of too large a state. This article uses AggregateFunction combined with a custom trigger to implement it, so that it will not cause the problem of too large a state. AggregateFunction combined with custom triggers Flink only needs to […]
ProcessWindowFunction Traps combined with custom triggers
Background: Common requirements in flink are as follows: count the click-through rate of a page within a day and output it every 10 seconds. How can we achieve this if we use ProcessWindowFunction combined with a custom trigger? What’s the problem if it’s implemented this way? ProcessWindowFunction combines custom triggers to achieve statistical click rate […]
osdmap change in PG Peering process triggers peering
In this section, we start from the basics to study the complex process of ceph peering, hoping to have a deeper understanding of its working principle. 1. Processing of network messages in OSD In the previous ceph network communication chapter, we introduced the SimpleMessenger network communication framework. Here OSD implements the Dispatcher interface: class OSD […]
Zabbix templates, monitoring items and triggers
The process of adding a monitoring host to zabbix Customized monitoring item implementation process Add monitoring items to the controlled terminal /etc/zabbix_agent2.d/xxx.conf UserParameter=key , command; restart Server-side test zabbix_get -s host -k key web creation template web Add monitoring items to the template The web template is associated with the host Observe data and graphs […]
Why MySQL uses triggers and how to use triggers
Use triggers In this chapter, learn what triggers are, why you should use triggers, and how to use triggers. This chapter also describes the syntax for creating and using triggers. trigger Requires MySQL 5 Support for triggers was added in MySQL 5. Therefore, the contents of this chapter apply to MySQL 5 or later versions. […]
Step 8 — MySQL Stored Procedures and Triggers
Step 8—MySQL stored procedures and triggers 1. Stored procedure Supported starting from 5 sql set, similar to the method in the code in Java Realize the encapsulation and consumption of sql There are inputs and outputs Variables can be declared You can implement complex control statements 1.1 Getting Started Case basic grammar Test Data — […]
MySql stored procedures and triggers
1. Stored procedure 1.1, Introduction A stored procedure is a collection of SQL statements that have been compiled and stored in the database in advance. Calling a stored procedure can simplify a lot of work for application developers, reduce data transmission between the database and the application server, and improve the efficiency of data processing. […]
Quartz+SpringBoot implements a task corresponding to the addition, suspension, recovery, deletion, and query of multiple triggers. Each method has an explanation
Tip: Tasks and triggers are uniquely identified by a group and a name. dto object package com.sifan.erp.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.io.Serializable; @Data public class ScheduleInfoDto implements Serializable { @ApiModelProperty(value = “service name”) private String serveName; // @ApiModelProperty(value = “Interface address”) // private String interfaceAddress; @ApiModelProperty(value = “task description”) private String descName; @ApiModelProperty(value = […]
Mysql views, stored procedures, triggers
@TOC View Introduction A view is a virtual table. The data in the view does not actually exist in the database. The row and column data come from the table used in the query of the custom view, and are dynamically generated when the view is used. In layman’s terms, the view only saves the […]