Hawkular 解析 "Missing" 触发器
Hawkular resolving "Missing" triggers
我是 Hawkular 的新手,当设备在给定时间段(测试 10 秒)内未与我通信时,我创建了一个警报触发器。
"trigger": {
"id": "YYY,
"name": "My trigger",
"description": "",
"type": "GROUP",
"firingMatch": "ANY",
"autoResolve": true,
"autoResolveAlerts": true,
"enabled": true
},
"conditions": [{
"triggerMode": "FIRING",
"type": "MISSING",
"dataId": "XXX",
"interval": 10000
}]
现在我想在设备开始通信时解决任何此类警报。
谢谢
已由 Lucas Ponce comment 修复
"trigger": {
"id": "YYY",
"name": "My trigger",
"description": "",
"type": "GROUP",
"firingMatch": "ANY",
"autoResolve": true,
"autoResolveAlerts": true,
"enabled": true
},
"conditions": [{
"triggerMode": "FIRING",
"type": "MISSING",
"dataId": "XXX",
"interval": 10000
},
{
"triggerMode": "AUTORESOLVE",
"type": "AVAILABILITY",
"dataId": "Collar_UIDHEX",
"operator": "UP"
}
]
我是 Hawkular 的新手,当设备在给定时间段(测试 10 秒)内未与我通信时,我创建了一个警报触发器。
"trigger": {
"id": "YYY,
"name": "My trigger",
"description": "",
"type": "GROUP",
"firingMatch": "ANY",
"autoResolve": true,
"autoResolveAlerts": true,
"enabled": true
},
"conditions": [{
"triggerMode": "FIRING",
"type": "MISSING",
"dataId": "XXX",
"interval": 10000
}]
现在我想在设备开始通信时解决任何此类警报。 谢谢
已由 Lucas Ponce comment 修复
"trigger": {
"id": "YYY",
"name": "My trigger",
"description": "",
"type": "GROUP",
"firingMatch": "ANY",
"autoResolve": true,
"autoResolveAlerts": true,
"enabled": true
},
"conditions": [{
"triggerMode": "FIRING",
"type": "MISSING",
"dataId": "XXX",
"interval": 10000
},
{
"triggerMode": "AUTORESOLVE",
"type": "AVAILABILITY",
"dataId": "Collar_UIDHEX",
"operator": "UP"
}
]