我是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
}]
现在我想在设备开始通信时解决任何此类警报。 感谢
答案 0 :(得分:0)
由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"
}
]