Stay organized with collections
Save and categorize content based on your preferences.
This document shows you how to create an alerting policy that notifies you when
an uptime check fails. The steps described in this document assume that you
have an uptime check that you want to monitor. For information about
creating uptime checks, see the following documents:
We recommend that you create alerting policies to monitor your uptime checks.
When you create an uptime check by using the Google Cloud console, you have
the option to create an alerting policy. However, you can create an alerting
policy for any uptime check by following the instructions in this document.
This feature is supported only for Google Cloud projects.
For App Hub
configurations, select the App Hub host project or
the app-enabled folder's management project.
Before you begin
Complete the following in the Google Cloud project that stores your
uptime checks:
To get the permissions that
you need to create and modify alerting policies by using the Google Cloud console,
ask your administrator to grant you the
Monitoring Editor (roles/monitoring.editor)
IAM role on your project.
For more information about granting roles, see Manage access to projects, folders, and organizations.
Ensure that you have configured the notification channels that you want
to use for the alerting policy. For information about configuring
notification channels, see
Create and manage notification channels.
Create an alerting policy
To create an alerting policy that notifies you when an uptime check fails,
do the following:
In the Google Cloud console, go to the Uptime checks page:
If you use the search bar to find this page, then select the result whose subheading is
Monitoring.
In the toolbar of the Google Cloud console,
select your Google Cloud project. For App Hub
configurations, select the App Hub host project or
the app-enabled folder's management project.
Locate the uptime check that you want to monitor,
click more_vertMore , and select Add alert policy.
The alerting policy configuration dialog opens and the
Condition is pre-configured.
In the navigation pane of the dialog, select Notifications and name.
Add your notification channels, enter a name for the alerting policy.
You can also add documentation that you want included in
notifications.
View or edit an alerting policy
To view details of the alerting policy, open the details page of the
uptime check, go to the Alert Policies pane, and then select the policy.
In the Google Cloud console, go to the
notificationsAlerting page:
If you use the search bar to find this page, then select the result whose subheading is
Monitoring.
In the toolbar of the Google Cloud console,
select your Google Cloud project. For App Hub
configurations, select the App Hub host project or
the app-enabled folder's management project.
Locate the alerting policy that you want to view or modify and then
select its name.
Optional: To change who is notified, the documentation, or the condition
of an alerting policy, click editEdit.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[],[],null,["# Create alerting policies for uptime checks\n\nThis document shows you how to create an alerting policy that notifies you when\nan uptime check fails. The steps described in this document assume that you\nhave an uptime check that you want to monitor. For information about\ncreating uptime checks, see the following documents:\n\n- [Create public uptime checks](/monitoring/uptime-checks).\n- [Create private uptime checks](/monitoring/uptime-checks/private-checks).\n\nWe recommend that you create alerting policies to monitor your uptime checks.\nWhen you create an uptime check by using the Google Cloud console, you have\nthe option to create an alerting policy. However, you can create an alerting\npolicy for any uptime check by following the instructions in this document.\n\nThis feature is supported only for Google Cloud projects.\nFor [App Hub](/app-hub/docs/overview)\nconfigurations, select the App Hub host project or\nthe app-enabled folder's management project.\n\nBefore you begin\n----------------\n\nComplete the following in the Google Cloud project that stores your\nuptime checks:\n\n1.\n\n To get the permissions that\n you need to create and modify alerting policies by using the Google Cloud console,\n\n ask your administrator to grant you the\n\n\n [Monitoring Editor](/iam/docs/roles-permissions/monitoring#monitoring.editor) (`roles/monitoring.editor`)\n IAM role on your project.\n\n\n For more information about granting roles, see [Manage access to projects, folders, and organizations](/iam/docs/granting-changing-revoking-access).\n\n\n You might also be able to get\n the required permissions through [custom\n roles](/iam/docs/creating-custom-roles) or other [predefined\n roles](/iam/docs/roles-overview#predefined).\n\n For more information about Cloud Monitoring roles,\n see [Control access with Identity and Access Management](/monitoring/access-control).\n2. Ensure that you have configured the notification channels that you want\n to use for the alerting policy. For information about configuring\n notification channels, see\n [Create and manage notification channels](/monitoring/support/notification-options).\n\nCreate an alerting policy\n-------------------------\n\nTo create an alerting policy that notifies you when an uptime check fails,\ndo the following:\n\n1. In the Google Cloud console, go to the **Uptime checks** page:\n\n [Go to **Uptime checks**](https://console.cloud.google.com/monitoring/uptime)\n\n \u003cbr /\u003e\n\n If you use the search bar to find this page, then select the result whose subheading is\n **Monitoring**.\n2. In the toolbar of the Google Cloud console, select your Google Cloud project. For [App Hub](/app-hub/docs/overview) configurations, select the App Hub host project or the app-enabled folder's management project.\n3. Locate the uptime check that you want to monitor,\n click *more_vert* **More** , and select **Add alert policy**.\n\n The alerting policy configuration dialog opens and the\n **Condition** is pre-configured.\n4. In the navigation pane of the dialog, select **Notifications and name**.\n\n5. Add your notification channels, enter a name for the alerting policy.\n You can also add documentation that you want included in\n notifications.\n\nView or edit an alerting policy\n-------------------------------\n\nTo view details of the alerting policy, open the details page of the\nuptime check, go to the **Alert Policies** pane, and then select the policy.\n\n1. In the Google Cloud console, go to the\n *notifications* **Alerting** page:\n\n [Go to **Alerting**](https://console.cloud.google.com/monitoring/alerting)\n\n \u003cbr /\u003e\n\n If you use the search bar to find this page, then select the result whose subheading is\n **Monitoring**.\n2. In the toolbar of the Google Cloud console, select your Google Cloud project. For [App Hub](/app-hub/docs/overview) configurations, select the App Hub host project or the app-enabled folder's management project.\n3. Locate the alerting policy that you want to view or modify and then select its name.\n4. Optional: To change who is notified, the documentation, or the condition of an alerting policy, click *edit* **Edit**.\n\nWhat's next\n-----------\n\nFor information about charting uptime metrics,\nsee [Chart uptime-check metrics](/monitoring/charts/uptime-charts)."]]