Enabling alarm correlation

Nokia NSP 20.9 and later supports alarm correlation information of multiple level impact and root cause details in the NSP-FAULT topic.

"rootCauseAndImpactDetails": {
"status": "causalityDetailsAvailable",
"impacts": {
"alarmFdn": "fdn:model:fm:Alarm:1638",
"impacts": [
                            {
"alarmFdn": "fdn:model:fm:Alarm:1838",
"impacts": [
                                    {
"alarmFdn": "fdn:model:fm:Alarm:1535",
"impacts": []
                                    }
                                ]
                            }
                        ]
                    }

To enable root cause and impact detail correlation, set the probe property as below and enable the pre-parser script for the Nokia NSP integration in the TransformerFile file: $OMNIHOME/probes/message_bus_nokia_nfmp_parser_rootCauseImpact.json

TransformerFile                 : '/opt/IBM/tivoli/netcool/omnibus/probes/linux2x86/message_bus_nokia_nfmp_parser_rootCauseImpact.json' 

In message_bus_nokia_nfmp_parser_rootCauseImpact.json modify <arch> in the following line for your operating system:

"preparserScript" : "/opt/IBM/tivoli/netcool/omnibus/probes/<arch>/message_bus_nokia_nfmp_preparser.js"

For example, for Linux, modify the line to:

"preparserScript" : "/opt/IBM/tivoli/netcool/omnibus/probes/linux2x86/message_bus_nokia_nfmp_preparser.js"

Edit $OMNIHOME/<arch>/message_bus_nokia_nfmp.rules and uncomment the following line:

# Uncomment below line to enable alarm correlation root cause & impacts
$rootCauseImpactsEnabled = "true"

Edit $OMNIHOME/java/conf/nokiaNspRestMultiChannelHttpTransport.json to enable root cause and impacts for notification and active alarm resynchronization:

"SUBSCRIBE":
   {
        "GET_SUBSCRIPTION":
        {
            "uri":"https://HOST:PORT/nbi-notification/api/v1/notifications/subscriptions",
            "method":"POST",
            "headers":"Authorization=Bearer ++access_token++,Accept=application/json,
                       Content-Type=application/json,Use-Cookie=true,
                       User-Agent=IBM Netcool/OMNIBus Message Bus Probe",
            "content":"{\"categories\":[{\"advancedFilter\": \"{\\\"includeRootCauseAndImpactDetails\\\":true}\",\"name\":\"NSP-FAULT\"}]}",
            "interval":"0",
            "requireSSL":"true"
        },
 ...

   "RESYNC":
   {
        "RESYNC_FAULT_MANAGEMENT_ALARMS":
        {
            "uri":"https://HOST:PORT/FaultManagement/rest/api/v2/alarms/details/?includeRootCauseAndImpactDetails=true",
            "method":"GET",
            "headers":"Authorization=Bearer ++access_token++,Accept=application/stream+json,Content-Type=application/stream+json,Use-Cookie=true,User-Agent=IBM Netcool/OMNIBus Message Bus Probe",
            "content":"",
            "interval":"0",
            "requireSSL":"true",
            "enablePagination":"false"
        }
   },
...