Creating a Ping Monitor

Create a ping monitor in Health Checks.

    1. On the Health checks list page, select Create health check. If you need help finding the list page, see Listing Ping Monitors.
    2. 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. We recommend selecting at least three vantage points across three different providers. For more information about vantage points, 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.

    3. (Optional) In the Tags section, add one or more tags to the HTTP monitor.
      If you have permissions to create a resource, then you also have permissions to apply free-form tags to that resource. To apply a defined tag, you must have permissions to use the tag namespace. For more information about tagging, see Resource Tags. If you're not sure whether to apply tags, skip this option or ask an administrator. You can apply tags later.
    4. Select Create health check.
    The new ping monitor's details page 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 --compartment-id <compartment_OCID> --display-name <name> --interval-in-seconds <number> --targets <json_file_or_string>

    For a complete list of parameters and values for CLI commands, see the CLI for Health Checks.

  • Run the CreatePingMonitor operation to create a ping monitor.