Update VES Client scripts supporting VES 7.2
[oam.git] / solution / dev / ves-test-collector / client-scripts-ves-v7 / json / templates / thresholdCrossingAlert.json
index fcb7948..fe8b097 100644 (file)
@@ -1,46 +1,50 @@
 {
-  "event": {
-    "commonEventHeader": {
-      "domain": "@domain@",
-      "eventId": "@eventId@",
-      "eventName": "@domain@_@eventType@_TCA_@alarm@",
-      "eventType": "@eventType@_TCA",
-      "sequence": 0,
-      "priority": "High",
-      "reportingEntityId": "",
-      "reportingEntityName": "@controllerName@",
-      "sourceId": "",
-      "sourceName": "@pnfId@",
-      "startEpochMicrosec": "@timestamp@",
-      "lastEpochMicrosec": "@timestamp@",
-      "nfNamingCode": "@type@",
-      "nfVendorName": "@vendor@",
-      "timeZoneOffset": "+00:00",
-      "version": "4.0.1",
-      "vesEventListenerVersion":"7.0.1"
-    },
-    "thresholdCrossingAlertFields": {
-      "thresholdCrossingFieldsVersion": "4.0",
-      "additionalParameters": [],
-      "alertAction": "@action@",
-      "alertDescription": "TCA",
-      "alertType":"INTERFACE-ANOMALY",
-      "alertValue":"@type@",
-      "associatedAlertIdList":[],
-      "collectionTimestamp": "@collectionTimestamp@",
-      "dataCollector":"",
-      "elementType": "@type@",
-      "eventSeverity":"@severity@",
-      "eventStartTimestamp":"@eventStartTimestamp@",
-      "interfaceName":"@interface@",
-      "networkService":"",
-      "possibleRootCause":"",
-      "additionalFields": {
-        "eventTime": "@eventTime@",
-        "equipType": "@type@",
-        "vendor":"@vendor@",
-        "model": "@model@"
-      }
+    "event": {
+        "commonEventHeader": {
+            "domain": "@domain@",
+            "eventId": "@eventId@",
+            "eventName": "@domain@_@eventType@_TCA_@alarm@",
+            "eventType": "@eventType@_TCA",
+            "sequence": 0,
+            "priority": "High",
+            "reportingEntityId": "",
+            "reportingEntityName": "@controllerName@",
+            "sourceId": "",
+            "sourceName": "@pnfId@",
+            "startEpochMicrosec": "@timestamp@",
+            "lastEpochMicrosec": "@timestamp@",
+            "nfNamingCode": "@type@",
+            "nfVendorName": "@vendor@",
+            "timeZoneOffset": "+00:00",
+            "version": "4.1",
+            "vesEventListenerVersion": "7.2.1"
+        },
+        "thresholdCrossingAlertFields": {
+            "thresholdCrossingFieldsVersion": "4.0",
+            "additionalParameters": [{
+                "criticality": "MAJ",
+                "hashMap": { "additionalProperties": "up-and-down" },
+                "thresholdCrossed": "packetLoss"
+            }],
+            "alertAction": "@action@",
+            "alertDescription": "TCA",
+            "alertType": "INTERFACE-ANOMALY",
+            "alertValue": "@type@",
+            "associatedAlertIdList": ["loss-of-signal"],
+            "collectionTimestamp": "@collectionTimestamp@",
+            "dataCollector": "data-lake",
+            "elementType": "@type@",
+            "eventSeverity": "@severity@",
+            "eventStartTimestamp": "@eventStartTimestamp@",
+            "interfaceName": "@interface@",
+            "networkService": "from-a-to-b",
+            "possibleRootCause": "always-the-others",
+            "additionalFields": {
+                "eventTime": "@eventTime@",
+                "equipType": "@type@",
+                "vendor": "@vendor@",
+                "model": "@model@"
+            }
+        }
     }
-  }
 }
\ No newline at end of file