Skip to content

groovy-sky/azure-lb-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monitor Azure Load Balancers Backend Pool using Azure Functions

Introduction

This repository contains config and code to deploy and configure Azure Functions, which could be used to monitor Azure Load Balancers Backend Pools. Functions code is written on Go and uses managed identity to obtain an information about backend pools state.

Prerequisites

For initial deployment you'll need:

Practical Part

Before publishing the function you'll need to create a new incoming webhook in Teams and store its URL.

To start the deployment clone this repository and execute "function/deploy.sh" script with following arguments:

  1. Resource group name (which will be created/used for other resource deployment)
  2. Load Balancers resource ID (one or many)
  3. Teams Webhooks URL

Result

If everything went according to plan, then a functions resource should be deployed and configured:

Function is triggered every 5 minutes and alerts if a pool is empty:

Related resources

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published