Coder Social home page Coder Social logo

courtsite / gcp-monitoring-to-teams Goto Github PK

View Code? Open in Web Editor NEW
23.0 6.0 14.0 211 KB

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

License: MIT License

Shell 4.52% Go 95.48%
google-cloud notification google-cloud-functions stackdriver monitoring microsoft teams microsoft-teams connector

gcp-monitoring-to-teams's Introduction

gcp-monitoring-to-teams

โš™๏ธ A simple Google Cloud Function in Go to transform / proxy Google Cloud Platform (GCP) Monitoring static webhook notifications to Microsoft Teams.

Notification in Teams

Forked from https://github.com/Courtsite/stackdriver-to-discord

Getting Started

Prerequisites

  • Ensure you have gcloud installed:
  • Ensure you have authenticated with Google Cloud: gcloud init
  • (Optional) Set your current working project: gcloud config set project <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=<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

gcp-monitoring-to-teams's People

Contributors

mrsaints avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gcp-monitoring-to-teams's Issues

generated url is not working

I have followed the whole process as mentioned and the generated URL is not even pinging to the teams channel.
Also, I saw that the procedure says that is for "static webhook", not sure it might br true or not but just pointing it out as I did not see the same title in the GCP console while putting the URL in gcp notification channel

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.