Map the Process Set ID to One or More Hosts

Once you've created the Process Set and obtained the Process Set meID, you must now associate it with the hosts on which the processes of interest are running.

Note:

You must have the meID of the host in order to complete this step. The host meID can be obtained using the extended entity REST APIs. For this release, the REST API documentation can be accessed via the Infrastructure Monitoring Cloud Service Master Note (Doc ID 2195015.1) in My Oracle Support (MOS).

Map the Process Set to the Host

  1. Create a JSON file using the map file syntax specified in the process monitoring REST API. In this file, you'll specify the following:
    • meID of the Process Set
    • Name of the Process Set
    • meID of the host whose processes you want to monitor

      The meID can be obtained using the Oracle Management Cloud extended APIs.

      Note:

      See Oracle Management Cloud: Find the meID of a Host Entity Using REST API in the References section of the Infrastructure Monitoring Cloud Service Master Note (Doc ID 2195015.1).
  2. Map the Process Set to the host using the process monitoring REST API.

    Upon successful execution, the API call returns the Process Set-Host mapping status.

    In the following example, the returned output shows that the execution of the mapping API call was successful (mappingResponse is 200) and the execution ID (ecID).
    {"mapping":{"mappingResponse":200,"mappingMessage":"Mappings created successfully.","ecid":"a1753f33-93a3-bf2f-fc946c26"}}