The probes collect data after they are activated. To activate the probes for a REST call, you can use the _oeping service that is shipped with the product. This service activates the REST probes. In a later example, a request will be made to an unhealthy server and different results will be displayed.

  1. In a separate tab of the browser, make a ping service REST call using the following URL:
    localhost:8810/rest/_oepingService/_oeping
  2. Confirm that the "_retVal":"" was returned.
    Note:

    For JSON formatted return values, add the appropriate JSON formatting plugin for your browser.

  3. Poll the details of the probes again with http://hostname:8899/health?view=details.
  4. Press Ctrl+F to search for REST Ping Health. Stop at the first occurrence.

    The value of 1 for the health is 100% healthy for the REST Ping Health .
  5. In the second occurrence, see how the probe is weighted.

    The weight this has on the score is 0.33333.

    The value of 1 for the health is 100% healthy for the REST Ping Health .