0

我是 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
        }]

现在我想在设备开始通信时解决任何此类警报。谢谢

4

1 回答 1

0

修正了 Lucas Ponce的评论

"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"
    }
]
于 2017-11-24T01:56:27.533 回答