Google Cloud Platform Integration Guide
Prerequisites
Before you begin, ensure you have the following:
- A Google Cloud Platform account with alerting policies set up.
- The webhook endpoint URL for the alert group in Alertu you want to integrate with.
Setup Steps
Follow these steps to integrate Google Cloud Platform alerts with Alertu:
Access Alerting: In the Google Cloud Console, navigate to Monitoring > Alerting.
Create or Edit Notification Channel:
- Click on “Notification Channels” in the left sidebar.
- Click “Add Notification Channel” or edit an existing one.
- Select “Webhook” as the channel type.
Configure Webhook:
- Provide a descriptive name for the webhook.
- Enter the webhook endpoint URL from your Alertu alert group.
- Click “Save” to create the notification channel.
Link to Alerting Policy:
- Go back to the Alerting page and create a new policy or edit an existing one.
- In the “Notifications” section, add the webhook notification channel you just created.
- Configure other policy details as needed and save the policy.
Test the Integration (Optional):
- In the Alerting page, find your policy and click “More actions” (three dots).
- Select “Test notification channels”.
- If successful, you should receive a notification in Alertu, confirming the integration. 🎉
Verification
After setting up the integration:
- Trigger a test alert in Google Cloud Platform.
- Verify that you receive a notification for the alert in Alertu.
- Check that all expected alert details are correctly displayed in Alertu.
Troubleshooting
If you don’t receive alerts in Alertu:
- Double-check the webhook URL in the GCP notification channel.
- Ensure your GCP alerting policies are correctly configured.
- Verify that the Alertu alert group is set up to receive GCP alerts.