IBM Support

Netcool/Impact data sets for DASH stop working after deploying the AIOps to Impact connector

Troubleshooting


Problem

After deploying the IBM Cloud Pak for AIOps to Netcool/Impact connector, the Netcool/Impact server stops sending data to DASH widgets.

Symptom

Dashboard widgets connected to a Netcool/Impact data set no longer show any data and report a ATKRST132E or 404 error message instead.

Cause

During the integration of the connector, a set of AIOPs policies and parameter files are imported into Netcool/Impact.
The UI data provider for Impact is unable to process the new parameter files, which blocks the processing of all data sets.

Diagnosing The Problem

Dashboard widgets connected to a Netcool/Impact data set report an ATKRST132E or 404 error message in the DASH system log:
ATKRST132E An error occurred while transferring a request to the following remote provider: 'Impact_NCICLUSTER.example.com'. Error Message is '404:Cannot access data provider - Impact_NCICLUSTER.example.com'.
00000163 passthrough   E   com.ibm.tivoli.rest.passthrough.DefaultPassThrough handleRequest Remote Provider response: {"msgSeverity":"error","msgId":"ATKRST103E","msgText":"ATKRST103E An unknown data source was specified for the provider 'Impact_NCICLUSTER.example.com'. Unknown data source: 'IMPACT_POLICY_policy1'."}
004fa1b7 HTTPHelper    I com.ibm.isclite.rest.conmgr.navmodel.HTTPHelper makeConnection URL=https://example.com:16311/ibm/tivoli/rest/datasources
004fa1b7 HTTPHelper    I com.ibm.isclite.rest.conmgr.navmodel.HTTPHelper configureTrustManager trying SSL_TLSv2
00000ec0 passthrough   I   Initial uri:/providers/Impact_NCICLUSTER.example.com/datasources/IMPACT_POLICY_policy1/datasets/chartData/items method=GET
00000ec0 passthrough   I   Sending uri:https://example.com:16311/ibm/tivoli/rest/providers/Impact_NCICLUSTER/datasources/IMPACT_POLICY_policy1/datasets/chartData/items method=GET
00000ec0 passthrough   I com.ibm.tivoli.rest.passthrough.DefaultPassThroughAuthHandler handle Authenticating using request header
00000ec0 SystemOut     O  INFO | Client response is an error code: 404
The following errors are reported in the Impact GUI server's message.log:
ERROR [ImpactServerNavModel] Error in obtaining the datatype Parameter for the Policy : AIOPS_HandleAction
java.lang.NullPointerException: null
        at java.util.Hashtable.put(Hashtable.java:507) ~[?:1.8.0]
        at com.micromuse.common.restprovider.ImpactServerNavModel.addInformationToPolicyHolders(ImpactServerNavModel.java:1175) ~[nciClient.jar:?]
        at com.micromuse.common.restprovider.ImpactServerNavModel.getCollectionIdentifiersForPolicies(ImpactServerNavModel.java:557) ~[nciClient.jar:?]
        at com.micromuse.common.restprovider.ImpactServerNavModel.initializeDatasourceIdentifiers(ImpactServerNavModel.java:380) ~[nciClient.jar:?]
        at com.micromuse.common.restprovider.ImpactCURITimerTask.initalizeDataSetIds(ImpactCURITimerTask.java:92) ~[nciClient.jar:?]
        at com.micromuse.common.restprovider.ImpactCURITimerTask.run(ImpactCURITimerTask.java:73) ~[nciClient.jar:?]
        at java.util.TimerThread.mainLoop(Timer.java:566) ~[?:1.8.0]
        at java.util.TimerThread.run(Timer.java:516) ~[?:1.8.0]
ERROR [ImpactServerNavModel] Could not initializeDataSourceIdentifier(). Reason:
java.lang.NullPointerException: null
        at java.util.Hashtable.put(Hashtable.java:507) ~[?:1.8.0]
        at com.micromuse.common.restprovider.ImpactServerNavModel.addInformationToPolicyHolders(ImpactServerNavModel.java:1175) ~[nciClient.jar:?]
        at com.micromuse.common.restprovider.ImpactServerNavModel.getCollectionIdentifiersForPolicies(ImpactServerNavModel.java:557) ~[nciClient.jar:?]
        at com.micromuse.common.restprovider.ImpactServerNavModel.initializeDatasourceIdentifiers(ImpactServerNavModel.java:380) ~[nciClient.jar:?]
        at com.micromuse.common.restprovider.ImpactCURITimerTask.initalizeDataSetIds(ImpactCURITimerTask.java:92) ~[nciClient.jar:?]
        at com.micromuse.common.restprovider.ImpactCURITimerTask.run(ImpactCURITimerTask.java:73) ~[nciClient.jar:?]
        at java.util.TimerThread.mainLoop(Timer.java:566) ~[?:1.8.0]
        at java.util.TimerThread.run(Timer.java:516) ~[?:1.8.0]
WARN  [ImpactCURITimerTask] Error initializing DataSet Ids
java.lang.NullPointerException: null
        at java.util.Hashtable.put(Hashtable.java:507) ~[?:1.8.0]
An examination of the parameter files for the AIOPS_HandleAction and AIOPS_ExecJS policies shows the following values:
cat /opt/IBM/tivoli/impact/etc/NCI_AIOPS_HandleAction.params

impact.params.1.name=inputData
impact.params.1.format=String
impact.params.2.name=inputMetadata
impact.params.2.format=String
impact.params.numparams=2
impact.dtparams.1.DTNAME=policyOutputData
impact.dtparams.1.DTTYPE=String
impact.dtparams.1.POLICYVARIABLENAME=AIOpsPolicyOutput
impact.dtparams.numparams=1
cat /opt/IBM/tivoli/impact/etc/NCI_AIOPS_ExecJS.params

impact.params.1.format=String
impact.params.1.name=AIOPS_JS
impact.params.numparams=1

Resolving The Problem

Upgrade to fix pack 7.1.0.33

The problem was resolved by APAR IJ49120. Upgrade to Netcool/Impact fix pack 7.1.0.33 to apply the APAR fix.
Alternative solution
To resolve the issue in earlier fix packs, use the following procedure to replace the parameter files for the AIOPS_HandleAction.js and AIOPS_ExecJS.js policies.
1. Open an SSH terminal to the backend Impact server.
2. Stop the Impact servers:
/opt/IBM/tivoli/impact/bin/stopGUIServer.sh
/opt/IBM/tivoli/impact/bin/stopImpactServer.sh
3. Navigate to the policy directory:

cd /opt/IBM/tivoli/impact/policy
4. Create a backup of the parameter files:
cp <SERVER>_AIOPS_HandleAction.params <SERVER>_AIOPS_HandleAction.params.bak
cp <SERVER>_AIOPS_ExecJS.params <SERVER>_AIOPS_ExecJS.params.bak
where <SERVER> is the name of the Impact server. For example:
cp NCI_AIOPS_HandleAction.params NCI_AIOPS_HandleAction.params.bak
cp NCI_AIOPS_ExecJS.params NCI_AIOPS_ExecJS.params.bak
5. Replace the content of the <SERVER>_AIOPS_HandleAction.params file with the following text:
impact.params.1.name=inputData
impact.params.1.format=String
impact.params.1.value=
impact.params.1.label=inputData
impact.params.1.desc=
impact.params.2.name=inputMetadata
impact.params.2.format=String
impact.params.2.value=
impact.params.2.label=inputMetadata
impact.params.2.desc=
impact.params.numparams=2
impact.dtparams.1.DTNAME=policyOutputData
impact.dtparams.1.DTTYPE=String
impact.dtparams.1.value=
impact.dtparams.1.POLICYVARIABLENAME=AIOpsPolicyOutput
impact.dtparams.1.IMPACT_DATATYPE_NAME=
impact.dtparams.1.IMPACT_DATASOURCE_NAME=
impact.dtparams.numparams=1
impact.eicparam.enabled=false
impact.tasksparam.numparams=0
impact.uidataproviderparam.enabled=false
6. Save the file.
7. Replace the contents of the <SERVER>_AIOPS_ExecJS.params file with the following text:
impact.params.1.format=String
impact.params.1.name=AIOPS_JS
impact.params.1.value=
impact.params.1.label=
impact.params.1.desc=
impact.params.numparams=1
8. Save the file.
9. Restart the Netcool/Impact servers:
/opt/IBM/tivoli/impact/bin/startGUIServer.sh
/opt/IBM/tivoli/impact/bin/startImpactServer.sh

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSSHYH","label":"Tivoli Netcool\/Impact"},"ARM Category":[{"code":"a8m50000000L22QAAS","label":"Impact-\u003EDASH Console Integration-\u003EWidgets"}],"ARM Case Number":"TS014471330","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1.0"}]

Document Information

Modified date:
19 March 2024

UID

ibm17071333