Troubleshooting the TrueSight Operations Management integration
After you integrate TrueSight Operations Management with BMC Helix AIOps, event classes might not be created in the following scenarios:
- There is a slot conflict
- An event contains read-only or internal slots
- An event class contains custom slots and enums are not generated
Class slot conflict error and read-only or internal slots
After the TrueSight Operations Management integration is configured, you get the following error message, and event classes are not created in BMC Helix AIOps:
Issue symptoms
This issue occurs because the slots are not created in BMC Helix AIOps because of one of the following issues:
- There is a slot conflict
- The event slots are read-only or internal
Issue scope
This issue affects only the TrueSight Operations Management integrations.
Resolution
To resolve this issue, you must add the conflicted slots in the class_name_mapping.json file. Perform the following actions to add the slots:
- Open the /opt/bmc/connectors/<connector_name>/data/<integration_name>/config/class_name_mapping.json file.
Add the slots as comma separated entries in the checkvalue list as shown in the following image with sample data:
- Reload the Connector. Do the following steps:
- Obtain the container ID. To do this, on the docker container, run the following command:
docker psYou can see the container ID as highlighted in the following image with sample data: - Run the following command to reload the container:
docker exec -it <container_id> bash reload.sh
- Obtain the container ID. To do this, on the docker container, run the following command:
Event slot conflict error and read-only or internal slots
After the TrueSight Operations Management integration is configured, you get the following error message, and event classes are not created in BMC Helix AIOps:
Issue symptoms
This issue occurs because the slots are not created in BMC Helix AIOps because of one of the following issues:
- There is a slot conflict
- The event slots are read-only or internal
Issue scope
This issue affects only the TrueSight Operations Management integrations.
Resolution
To resolve this issue, you must add the conflicted event slots in the event_slot_mapping.json file. Perform the following actions to add the slots:
- Open the /opt/bmc/connectors/<connector_name>/data/<integration_name>/config/event_slot_mapping.json file.
- Under the delete_data type of attributes, add the conflicted enum slots that you can see in the error message. Add the slots in the checkvalue list as shown in the following image with sample data:
- Update the integration. To do this, perform the following steps:
Go to the
BMC Helix Developer Tools
> Configured Integrations page.
- Click the menu for the TrueSight Operations Management integration, and click Edit.
- On the Edit Integration page, click Save.
The integration is updated even if you click Save without making any changes.
- Reload the Connector. To do this, perform the following steps:
- Obtain the container ID. To do this, on the docker container, run the following command:
docker psYou can see the container ID as highlighted in the following image with sample data: - Run the following command to reload the container:
docker exec -it <container_id> bash reload.sh
- Obtain the container ID. To do this, on the docker container, run the following command:
Enum error
After the TrueSight Operations Management integration is configured, you get the following error message, and event classes are not created in BMC Helix AIOps:
Issue symptoms
This issue occurs because the following event classes are not created in BMC Helix AIOps:
- ADMIN_CLEAR_BLOCK
- ADMIN_UNREGISTER
- ANNOTATION_ATTACH_EV
- CI_INCIDENT_INFO
- EVENT_INCIDENT_INFO
- MC_SM_SHADOW_DELETE
- MC_SM_SHADOW_REQUEST
- MC_SM_SHADOW_REQUEST_ERROR
- MC_SM_SHADOW_UPDATE
Issue scope
This issue affects only the TrueSight Operations Management integrations.
Resolution
To resolve this issue, in the event_slot_mapping.json file, you must add event slots belonging to the event classes listed above. Perform the following actions to add the slots:
- Open the /opt/bmc/connectors/<connector_name>/data/<integration_name>/config/event_slot_mapping.json file.
- Under the delete_data type of attributes, add the enum slots in the comma-separated checkvalue list as shown in the following image with sample data:
- Update the integration. To do this, perform the following steps:
- Go to the BMC Helix Developer Tools > Configured Integrations page.
- Click the menu for the TrueSight Operations Management integration, and click Edit.
- On the Edit Integration page, click Save.
The integration is updated even if you click Save without making any changes.
- Reload the Connector. To do this, perform the following steps:
- Obtain the container ID. To do this, on the docker container, run the following command:
docker ps - Log in to the container by running the following command:
docker exec -it <container_id> bash - Run the following command to reload the container:docker exec -it <container_id> bash reload.sh
- Obtain the container ID. To do this, on the docker container, run the following command: