Activating or deactivating a probe - Amazon CloudWatch
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Activating or deactivating a probe

You can activate or deactivate a probe in a monitor in Network Monitor. You might want to deactivate a probe in a scenario where you aren't currently using it but might want to use it again in the future. By deactivating a probe instead of deleting it, you won't need to spend time setting it up again. You are not billed for deactivated probes.

You can change the status of a probe by using either the Amazon CloudWatch console or the Amazon Command Line Interface.

Set a probe to active or inactive by using the console

Use the CloudWatch console to set a probe to active or inactive.

To set a probe to active or inactive by using the console
  1. Open the CloudWatch console at https://console.amazonaws.cn/cloudwatch/, and then, under Network Monitoring, choose Network Monitor.

  2. Choose the Monitor details tab.

  3. In the Probes section, choose the probe that you want to activate or deactivate.

  4. Choose Actions, and then choose Activate or Deactivate.

    Note

    When you reactivate a probe, you begin incurring billing charges on the probe again.

Set a probe to active or inactive using the CLI

You can set a probe to active or inactive or deactivate by using the CLI. You can only use this command for a single probe.

To set a probe to active or inactive using the CLI
  1. Use list-monitors to get a list of your monitors if you don't know the name of the monitor. Note the name of the monitor that includes the probe that you want to change the status for.

  2. Use get-monitor with the monitor name from the previous step. This returns a list of any probes associated with that monitor. Note the probe IDs of the probes that you want to change the status for.

  3. Use update-probe to set the probe state to either ACTIVE or INACTIVE.