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.
    2. On the Health checks page, choose the compartment that you want to create the ping monitor in.
    3. Click Create health check.
    4. In the Create health check dialog box, enter the following values:
      • Health check name: Enter a name for the ping monitor. Avoid entering confidential information.

      • Select the compartment to run the health check in. A default value from the scope is provided.

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

      • For Vantage points, optionally select up to ten locations to use for monitoring the targets. For more information, see Listing Vantage Points.

      • For Request type, select Ping.

      • For Protocol, select the network protocol to use: ICMP or TCP.

      • For Port (shown for the TCP protocol), select the port to use for the connection.

        A port is required for the TCP protocol. The default value is 80.

      • For Timeout, define the maximum time to wait for a reply before marking the health check as failed.

      • For Interval, specify the period of time between health checks of the target.

    5. (Optional) Tag the new ping monitor.
      • Tag namespace: To add a defined tag, select an existing namespace. If you're adding a free-from tag, leave this field 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.

      • Tag value: Type the tag value that you want.

    6. Click Create health check.
    The details page for the new ping monitor 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.