Alerting on uptime checks

Using the Google Cloud Console

This page shows you how to create an alerting policy for an uptime check. To create, update, and delete your uptime checks, see Managing uptime checks. For details about alerting policies, see Introduction to alerting. To view pricing and limits on uptime checks, see Pricing and limits.

Creating an alerting policy

If you don't have an existing uptime check, you must create one prior to creating an alerting policy. For more information, see Creating uptime checks.

To create an alert policy for an existing uptime check, do the following:

  1. In the Cloud Console, select Monitoring:

    Go to Monitoring

  2. Click Uptime checks.

  3. Locate the uptime check that you want to edit, click More and select Add alert policy.

    You can also create an alert policy from the details view of an uptime check. In this case, click Add alert policy in the Uptime details pane.

  4. The Condition for an alerting policy is displayed. The following screenshot shows the Condition pane for an uptime check named "My Uptime Check" prior to any changes:

    Create alert condition dialog.

    The Condition pane includes the Target and Configuration panes. These are pre-populated for you. Complete the Condition configuration by doing the following:

    1. Click the Uptime Check tab if it isn't selected.
    2. Enter a title for the Condition.

    3. Click Save.

  5. The Create New Alerting Policy dialog is displayed:

    Create new Alerting Policy

    • Enter a name for the policy.
    • To be notified when an alert policy violation occurs, click Add Notification Channel. In the Add notification channel dialog, select your preferred notification channel, enter any channel-specific information, and click Add.
    • (Optional) Enter a message in the Documentation pane that is to be be included in the notification.
  6. Click Save.

    After the alerting policy is saved, the Policy details window is displayed.

Editing an alerting policy

To edit an alerting policy, do the following:

  1. In the Cloud Console, select Monitoring:

    Go to Monitoring

  2. Click Alerting.

  3. Locate the alert policy that you want to edit, then do one of the following:

    • Click More and select Edit.
    • View the alert policy details, and then click Edit.
  4. Change the values of the fields as needed. You can't modify all fields. If the custom header values of a check are hidden, you cannot make them viewable.

  5. Click Save.

Deleting an alerting policy

To delete an alerting policy, do the following:

  1. In the Cloud Console, select Monitoring:

    Go to Monitoring

  2. Click Alerting.

  3. Locate the alert policy that you want to edit, then do one of the following:

    • Click More and select Delete.
    • View the alert policy details, and then click Delete .

Using the Stackdriver Monitoring console

This page shows you how to create an alerting policy for an uptime check. To create, update, and delete your uptime checks, see the Managing Uptime Checks page. You can have up to 100 uptime checks per Workspace. For details about alerting policies, see Introduction to Alerting.

Be sure to create the alerting policy for an uptime check from the Uptime Checks dashboard, as described on this page. Don't use the Alerting dashboard.

Creating an alerting policy

You can create an alerting policy to notify you when an uptime check fails.

  1. Create the uptime check. In this example, the uptime check identifier is My Uptime Check.

  2. To create an alerting policy for your uptime check, go to Uptime Checks > Uptime Checks Overview, click More and select Create Alerting Policy.

    Create Alert Policy

  3. The Condition pane for an alerting policy is displayed:

    1. Click the Uptime Check tab if it isn't selected.
    2. Enter a title for the Condition.
    3. The Target and Configuration panes are pre-populated for you.
    4. Click Save.

    Create Condition

  4. The Create New Alerting Policy dialog is displayed:

    Create new Alerting Policy

    • To configure a notification channel, click Add Notification Channel. From the drop-down menu, select your preferred notification channel and enter any channel-specific information.
    • Optionally, enter a notification message in the Documentation pane.
    • Enter a name for your policy.
  5. Click Save. After the alerting policy is saved, a summary of the policy is displayed.

Editing and deleting an alerting policy

To edit or delete an alerting policy, from the Alerting > Policies Overview page, click the policy name, and then select Edit or Delete.

If you select edit, the Edit alerting policy page appears. From this page, you can edit the condition, notifications, documentation and policy name. After you have completed your modification and saved them, you might need to refresh your Stackdriver console to refresh the alerting policy summary.

Czy ta strona była pomocna? Podziel się z nami swoją opinią:

Wyślij opinię na temat...

Stackdriver Monitoring