Moving a Ping Monitor to Another Compartment

Move a ping monitor in Health Checks to another compartment.

  • These steps show how to move a ping monitor from its details page. You can also move a ping monitor from the Health checks page by clicking the Actions menu (Actions Menu) to the right of the monitor name and then selecting Move resource.
    1. Open the navigation menu and click Observability & Management. Under Monitoring, click Health Checks.
    2. On the Health checks page, choose the compartment that contains the ping monitor that you want.
    3. Click the name of the ping monitor that you want.
      Tip

      To find a ping monitor by name, enter its name in the Search field.
    4. On the details page for the ping monitor, click Move resource.
    5. In the Move resource dialog box, select the compartment that you want to move the ping monitor to.
    6. Click Move resource.
  • Use the oci health-checks ping-monitor change-compartment command and required parameters to move a ping monitor to another compartment:

    oci health-checks ping-monitor change-compartment --compartment-id <destination_compartment_OCID> --monitor-id <ping_monitor_OCID>

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

  • Run the ChangePingMonitorCompartment operation to move a ping monitor to another compartment.