Windows事件--重复事件检测
监视器--Windows事件--重复事件检测--计时器重置:
自动重置计时器:指定等待时间10分钟,则在10分钟后自动关闭该警报,更改状态为 正常(绿色)
检测事件1,事件3重置计数器状态,2分钟内检测到3次 事件1 触发Alert
重复设置--计数模式:
计时器触发:检测到 事件1,开始计时,达到2分钟触发Alert
计数器触发:检测到 事件1,在2分钟内检测到3次触发Alert
计数器,滑动:00:01检测到 事件1,计时器窗口从该时间点开始算起,如果在2分钟内未再次检测到 事件1,则不会触发Alert;在00:04检测到 事件1,计时器窗口重新从该时间点开始算起,如果在00:06之前还未检测到3次 事件1,则计时器窗口又重新开始计算;在00:05检测到 事件1,到00:07时共检测到3次 事件1,则触发Alert
Repeated Events Example
To help with understanding the different algorithms used for repeated event detection, the following table shows the effect on health state for monitors based on the different kinds of consolidation. This is based on a repeated event monitor that uses the following details:
- Consolidation interval: 2 minutes
- Compare count: 3 (ignored by Trigger on Timer)
- Health state on repeated event: Critical
- Reset Logic: Event reset using Event 3
| Time | Event | Trigger on Timer | Trigger on Count | Trigger on Count, Sliding |
|---|---|---|---|---|
|
00:00:00 |
- |
Healthy |
Healthy |
Healthy |
|
00:01:00 |
Event 1 |
Healthy |
Healthy |
Healthy |
|
00:02:00 |
- |
Healthy |
Healthy |
Healthy |
|
00:02:30 |
- |
Healthy |
Healthy |
Healthy |
|
00:03:00 |
- |
Critical |
Healthy |
Healthy |
|
00:03:30 |
Event 3 |
Healthy |
Healthy |
Healthy |
|
00:04:00 |
Event 1 |
Healthy |
Healthy |
Healthy |
|
00:04:30 |
- |
Healthy |
Healthy |
Healthy |
|
00:05:00 |
Event 1 |
Critical |
Healthy |
Healthy |
|
00:05:30 |
- |
Critical |
Healthy |
Healthy |
|
00:06:00 |
- |
Critical |
Healthy |
Healthy |
|
06:30:00 |
Event 1 |
Critical |
Healthy |
Healthy |
|
07:00:00 |
Event 1 |
Critical |
Healthy |
Critical |
|
07:30:00 |
- |
Critical |
Healthy |
Critical |
|
00:08:00 |
Event 1 |
Critical |
Healthy |
Critical |
|
00:08:30 |
- |
Critical |
Critical |
Critical |
|
00:09:00 |
Healthy |
Critical |
Healthy |
Healthy |
- Using trigger on timer, a critical state is set at 00:03:00 event though the event is received at 00:01:00 because the time window starts when the monitor is loaded. The start is reset to healthy at 00:03:30, but the critical state is again triggered at 00:05:00 from the time window started at 00:03:00.
- Using trigger on count, the event at 00:05:00 does not trigger a critical state because the time window started by the event at 00:01:00 would have expired at 00:03:00. This event is instead part of the time window started by the event at 00:04:00 which expires at 00:06:00. The monitor triggers a critical state at 00:08:30 because of the 3 events detected in the time window started with the event at 00:06:30.
- Using trigger on count, sliding, each occurrence of Event 1 starts its own window. The critical state is triggered at 00:07:00 from the 3 events detected in the time window started with the event at 00:05:00.
自:http://technet.microsoft.com/en-us/library/hh457566.aspx
Windows事件--重复事件检测的更多相关文章
- windows多线程同步--事件
推荐参考博客:秒杀多线程第六篇 经典线程同步 事件Event 事件是内核对象,多用于线程间通信,可以跨进程同步 事件主要用到三个函数:CreateEvent,OpenEvent,SetEvent, ...
- jquery事件重复绑定的几种解决方法 (二)
防止事件重复绑定共有4种方法: bind().unbind()方法 live().die()方法 off().on()方法 one()方法 一.bind().unbind()方法 bind();绑定事 ...
- jquery中绑定click事件重复执行问题
jquery中单击事件重复多次执行的问题使用如下方式: $('#sub').unbind('click').click(function () { ... });
- jquery click嵌套 事件重复注册 多次执行的问题
jquery click嵌套 事件重复注册 多次执行的问题 上面只是参考,我自己的解决方法是先使用unbind("click")解除事件然后再绑定新事件: $("#tes ...
- jquery事件重复绑定的几种解决方法
防止事件重复绑定共有4种方法: bind().unbind()方法 live().die()方法 off().on()方法 one()方法 一.bind().unbind()方法 bind();绑定事 ...
- echarts 绑定事件重复执行问题。
网上所有,先调用.off 方法后再调用.on 绑定事件. 无效果,查看api未发现off方法,于是采用,先删除原先元素,后重新生成的方式. 场景描述. 用户查询时,每次结果都对应一张饼图.该张饼图绑定 ...
- 解决pjax重复加载js导致事件重复绑定的问题
个人博客 地址:http://www.wenhaofan.com/article/20180925232057 1.所有js统一在pjax容器外引入 在pjax容器外引入的js只会被引入一次,所以不会 ...
- jQuery--事件, 事件绑定, 阻止事件冒泡, 事件委托,页面载入后函数
1.常用事件, 按住shift键实现同步选择效果,搜索框联想效果 2.阻止事件冒泡 3.事件委托 4.使用 $(document).ready(function (){...}) 实现文件加载完绑定事 ...
- 从零开始学习jQuery (五) 事件与事件对象
本系列文章导航 从零开始学习jQuery (五) 事件与事件对象 一.摘要 事件是脚本编程的灵魂. 所以本章内容也是jQuery学习的重点. 本文将对jQuery中的事件处理以及事件对象进行详细的讲解 ...
随机推荐
- 数据库其他注入思路 - 万能密码 - cookie注入 -搜索型注入
另类登录注入形式: 经常有一类验证(ASP,PHP,JSP均存在),先判断user是否存在,ASP为例子:"select password from admin where user_nam ...
- 如何调用npm已经安装在全局位置的模块
参考链接 https://nodejs.org/api/modules.html#modules_loading_from_the_global_folders npm install xxx -g ...
- Linux 命令学习之cd
功能说明: cd 命令是 linux 最基本的命令语句,其他的命令都会依赖与 cd 命令.因此学好 cd 命令是必须的. 语 法:cd [目的目录] 补充说明:cd指令可让用户在不同的目录间切换,需要 ...
- 多线程编程(三)-CountDownLatch的使用
CountDownLatch的介绍 类CountDownLatch是同步功能得一个辅助类,使用效果就是给定一个计数,当使用CountDownLatch类的线程判断计数不为0时,则呈wait状态,如果是 ...
- spingAOP在springMVC中的使用(我用在拦截controller中的方法。主要用于登录控制)
首先截取了网上的一张配置execution的图片 我在项目中关于aop的配置:如果拦截controller的方法,需要在spring-mvc.xml文件中加入(如果在spring.xml中加入则无法拦 ...
- mysql去除重复记录案例
例1,表中有主键(可唯一标识的字段),且该字段为数字类型 1 测试数据 /* 表结构 */ DROP TABLE IF EXISTS `t1`; CREATE TABLE IF NOT EXISTS ...
- BZOJ1050 旅行comf(kruskal)
旅行comf 给你一个无向图,N(N<=500)个顶点, M(M<=5000)条边,每条边有一个权值Vi(Vi<30000).给你两个顶点S和T,求一条路径,使得路径上最大边和最小边 ...
- 把AspDotNetCoreMvc程序运行在Docker上-part2:修改容器以及发布镜像
在上一个part<把AspDotNetCoreMvc程序运行在Docker上-part1>,已经将成功将aspdotnetcore程序运行在两个不同的容器中,目前两个容器的内容完全相同,只 ...
- Nginx 基于客户端 IP 来开启/关闭认证
前些日子帮助公司在搭建了一个内部资源的导航页面,方便公司员工访问各种常用的系统.因为这个页面包含一些敏感信息,我们希望对其做认证,但仅当从外网访问的时候才开启,当从公司内网访问的时候,则无需输入账号密 ...
- [转]Porting to Oracle with Entity Framework NLog
本文转自:http://izzydev.net/.net/oracle/entityframework/2017/02/01/Porting-to-Oracle-with-Entity-Framewo ...