Creating a Ping Monitor

Create a ping monitor in Health Checks.

    1. Open the navigation menu and click Observability & Management. Under Monitoring, click Health Checks.
      The Health Checks page opens.
    2. Choose a compartment that you have permission to work in (on the left side of the page).
      The Health Checks page lists health checks in the selected compartment and region. Health checks include HTTP and ping monitors.
    3. Click Create Health Check.
      The Create Health Check dialog box opens.
    4. Fill in the fields.
      FieldDescription
      Health Check Name The name to use for the health check. Avoid entering confidential information.
      Compartment The compartment to run the health check in. A default value from the scope is provided.
      Target(s)

      For each host that you want to monitor with this health check, specify either the IP address or the name (fully qualified domain name (FQDN)).

      HTTP protocol: Use Path to specify an optional path in addition to the target. For example, for the target www.example.com, if you want to monitor www.example.com/project/help.htm, then specify /project/help.htm.

      Vantage Points (Optional) Select up to ten locations to use for monitoring the targets. For more information, see Listing Vantage Points.
      Request Type Select Ping.
      Protocol Select the network protocol to use:
      • ICMP
      • TCP
      Port (shown for TCP protocol)

      The port to use for the connection. Required for TCP protocol. Default value: 80

      Timeout Maximum time to wait for a reply before marking the health check as failed.
      Interval Period of time between health checks of the target.
      Tag Namespace To add a defined tag, select an existing namespace. If adding a free-from tag, leave blank.
      Tag Key

      To add a defined tag, select an existing tag key.

      To add a free-form tag, type the key name that you want.

      Value Type the tag value that you want.
      + Additional Tag (Optional) Click to add another tag.
    5. Click Create Health Check.
      The details page for the new health check opens. Results appear after a few moments.
  • Use the oci health-checks ping-monitor create command and required parameters to create a ping monitor:

    oci health-checks ping-monitor create [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the CLI for Health Checks.

  • Run the CreatePingMonitor operation to create a ping monitor.