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

About this task

The 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 REST calls to vRealize Operations Manager.

Note:

These steps are only required if Launch in Context was enabled.

Prerequisites

  • Verify that cURL is installed on your system. Note that this tool is preinstalled in the vRealize Operations Manager virtual appliance and the steps can be performed from the appliance using IP address 127.0.0.1.

  • 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 the minimum credentials required to remove the management pack. See Minimum Required Permissions for a Local or Active Directory User Account.

Procedure

  1. In cURL, run the following query on the vRealize Operations Manager virtual appliance to find the vRealize Log Insight adapter.
    curl -k -u "admin" https://ipaddress/suite-api/api/adapterkinds/LogInsight/resourcekinds/LogInsightLogServer/resources
    

    Where admin is the administrator login name and ipaddress is the IP address (or hostname) of the vRealize Operations Manager instance. You are prompted to enter the password for the user: admin.

    From the curl output find the GUID value assigned to the identifier: <ops:resource creationTime="{TIMESTAMP}" identifier=“{GUID}”>. You can use this GUID value in the below command that removes the adapter instance.

  2. Run the following command to remove the vRealize Log Insight adapter.
    curl -k -u "admin" -X DELETE https://ipaddress/suite-api/api/adapters/{GUID}

    Where admin is the administrator login name and ipaddress is the IP address (or hostname) of the vRealize Operations Manager instance. You are prompted to enter the password for the user: admin.

Results

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.