An open API service indexing awesome lists of open source software.

https://github.com/courtsite/gcp-monitoring-to-teams

[Unmaintained] :gear: A simple Google Cloud Function in Go to transform / proxy Google Cloud Platform (GCP) Monitoring static webhook notifications to Microsoft Teams.
https://github.com/courtsite/gcp-monitoring-to-teams

connector google-cloud google-cloud-functions microsoft microsoft-teams monitoring notification stackdriver teams

Last synced: 5 months ago
JSON representation

[Unmaintained] :gear: A simple Google Cloud Function in Go to transform / proxy Google Cloud Platform (GCP) Monitoring static webhook notifications to Microsoft Teams.

Awesome Lists containing this project

README

          

# gcp-monitoring-to-teams

⚙️ A simple Google Cloud Function in Go to transform / proxy [Google Cloud Platform (GCP) Monitoring](https://cloud.google.com/monitoring) static webhook notifications to [Microsoft Teams](https://teams.microsoft.com/).

![Notification in Teams](screenshot.png "Notification in Teams")

_Forked from https://github.com/Courtsite/stackdriver-to-discord_

## Getting Started

### Prerequisites

- Ensure you have `gcloud` installed:
- MacOS: `brew cask install google-cloud-sdk`
- Others: https://cloud.google.com/sdk/gcloud
- Ensure you have authenticated with Google Cloud: `gcloud init`
- (Optional) Set your current working project: `gcloud config set project `

### Deployment

1. Clone / download a copy of this repository
2. Copy `.env.sample.yaml` to `.env.yaml`, and modify the environment variables declared in the file
3. Run `./deploy.sh`
4. Configure GCP Monitoring static webhook notification channel in https://console.cloud.google.com/monitoring/alerting/notifications

_Be sure to append `?auth_token=` to the end of the URL under `httpsTrigger` (returned in the output from (3)). e.g. https://my-region-my-organisation.cloudfunctions.net/gcp-monitoring-to-teams?auth_token=123456._

![GCP Monitoring Add New Webhook](installation.png "GCP Monitoring Add New Webhook")