智能边缘平台 IEF-添加告警:示例

时间:2024-09-05 15:36:09

示例

  • 节点告警
    {
        "alarmName": "测试##test",
        "alarmId": "73ccbccce05de74f9d3dda42f6ecfe20",
        "detailedInformation": "测试##test",
        "url": "",
        "source": "IEF",
        "cleared": false,
        "policyID": "",
        "perceivedSeverity": 4,
        "resourceId": {
            "namespace": "PAAS.NODE",
            "dimension": {
                "clusterId": "e277befa37a64ed1aa25b522e686bc28",
                "nameSpace": "default",
                "nodeIP": "192.168.0.164"
            }
        },
        "neType": "Host",
        "eventType": 23
    }
  • 应用告警
    {
        "alarmName": "应用重启test##Application restart",
        "alarmId": "b09076ff565c59d4da0db0c9223781",
        "detailedInformation": "应用重启 test##Application restart test",
        "url": "",
        "source": "IEF",
        "cleared": false,
        "policyID": "",
        "perceivedSeverity": 3,
        "resourceId": {
            "namespace": "PAAS.CONTAINER",
            "dimension": {
                "containerName": "container-e991acd3-864c-4038-8a90-e042eebab496",
                "containerID": "70b385315c8ac507b3de7dfe1258932cea0b53a850b7d030ce7ed0a55c47877c",
                "podID": "0e9ce4fd-b732-11e9-8a30-fa163e9b3546",
                "podName": "hxkapp1-7898f5bd4b-2lj8z"
            }
        },
        "neType": "Application",
        "eventType": 23
    }
support.huaweicloud.com/usermanual-ief/ief_01_0055.html