When you enable launch in context on a vRealize Operations Manager instance, vRealize Log Insight creates an instance of the vRealize Log Insight adapter on the vRealize Operations Manager instance.

This instance of the adapter remains in the vRealize Operations Manager instance when you uninstall vRealize Log Insight. As a result, the launch in context menu items continue to appear in the actions menus, and point to a vRealize Log Insight instance that no longer exists.

To disable the launch in context functionality in vRealize Operations Manager, you must remove the vRealize Log Insight adapter from the vRealize Operations Manager instance.

You can use the command line utility cURL to send HTTP POST requests to vRealize Operations Manager.

Verify that cURL is installed on your system.

Verify that you know the IP address or host name of the target vRealize Operations Manager instance.

Depending on the vRealize Operations Manager license that you own, verify that you have minimum user credentials.

vRealize Operations Manager License

Minimum Required Credentials

Standard

Default Admin user credentials

Advanced or Enterprise

Read Only user credentials

Note

vRealize Log Insight does not support Active Directory integration with vRealize Operations Manager.

1

In cURL, run the following query on the vRealize Operations Manager virtual appliance to find the vRealize Log Insight adapter.

curl -k --user admin username:passwd
https://URL:443/HttpPostAdapter/OpenAPIServlet -d
"action=getRelationships&resourceName=Log Insight
Server&adapterKindKey=LogInsight&resourceKindKey=LogInsightLogServer&
getChildren=true&getParents=false"

Where admin username and passwd are the administrator user credentials, and URL is the IP address of the vRealize Operations Manager instance.

The query returns a result in the following format.

resourceName=Log Insight Server&adapterKindKey=LogInsight&resourceKindKey=LogInsightLogServer

Parents:

Children:
resourceName=Log Insight Serverlog insight location&
adapterKindKey=LogInsight&
resourceKindKey=LogInsightLogServerHost&
identifiers=HOST::log insight location

Where log insight location is the HOST value of the child object of the queried resource. You can use this value in the command that removes the adapter instance.

2

Run the following command to remove the vRealize Log Insight adapter.

curl -k --user admin username:passwd https://URL:443/HttpPostAdapter/OpenAPIServlet -d 
"action=addRemoveParentChildRelationship&parentResource=Log Insight Server&adapterKindKey=LogInsight&
resourceKindKey=LogInsightLogServer&addFlag=false&
childResources=Log Insight Serverlog insight location,LogInsight,LogInsightLogServerHost,HOST::log insight location"

Where admin username and passwd are the administrator user credentials, URL is the IP address of the vRealize Operations Manager instance, and log insight location is the host location of the child resource of the relationship you want to remove.

vRealize Log Insight launch in context items are removed from the menus in vRealize Operations Manager. For more information about launch in context, see the topic vRealize Log Insight Launch in Context of the vRealize Log Insight in-product help.