Update release notes for Sprint 4
[oam.git] / solution / dev / client-scripts-ves-v7 / json / templates / thresholdCrossingAlert.json
diff --git a/solution/dev/client-scripts-ves-v7/json/templates/thresholdCrossingAlert.json b/solution/dev/client-scripts-ves-v7/json/templates/thresholdCrossingAlert.json
new file mode 100644 (file)
index 0000000..fe8b097
--- /dev/null
@@ -0,0 +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.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