Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
/ zMonitor Public archive

Azure Multi-subscription/tenant Monitoring Solution

License

Notifications You must be signed in to change notification settings

microsoft/zMonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zMonitor

An Azure platform native monitoring solution that enables Azure monitoring across multiple tenants or subscriptions.

Overview

Problem statement: A service provider with 50 tenants, each with Azure subscriptions provisioned through CSP (Cloud Solution Provider), needs to consolidate operational telemetry to optimize running costs, as well as deliver higher SLAs with a minimum amount of administrative overhead.

Enter zMonitor, a platform for reporting based on Log Analytics data collected, quickly gaining insights across tenants or subscriptions. Gain insights on disks capacity status, VM performance - over or under utilized CPU/Memory/Disk/etc, security vulnerabilities - failed logons, update/patch status, application errors, etc.

The primary goal is to utilize Azure native components, and deliver an as simple as possible, highly configurable and scalable, cost-effective monitoring solution. The driving force behind this solution was the need to be able to monitor Azure resources across tenants (for service providers), using Azure native tools. While there are many metrics and logs generated in Azure, surfacing this information across subscriptions/tenants and effectively monitoring proved challenging. Design decisions focused on limiting Azure costs on the tenants/subscriptions components, and rather have the bulk of the costs incurred on the single central component (service provider).

For an indication of potential costs for the solution, review the cost estimate documentation.

Solution

For monitoring within subscriptions, OMS Log Analytics is leveraged as the native log and metric aggregation toolset in Azure. Using the free tier of Log Analytics will be sufficient for most cases, but depends on the number of resources being monitored and the metrics being collected.

Log Analytics data is then exported into a central Cosmos DB collection, from where it can be vizualized using any preferred tool. For this solution, PowerBI is used for demonstration purposes.

zMonitor Solution Overview

The components that make up the solution:

  • Tenant / Subscription

    • Log Analytics
    • Azure Automation
  • Service Provider / Central Repository

    • Azure Storage Account (BLOB)
    • Stream Analytics
    • Azure Cosmos DB
    • Azure Automation
    • [Optional] Power BI

For additional info on what is currently enabled through this solution (work in progress):

Deployment

The detailed deployment instructions for the solution:

Deploying monitoring for Tenant/ Subscription

Deploying the central repository (e.g. Service Provider)

Azure Resource Documentation

For more information on the individual components, please refer to the official documentation:

Contributions

Please refer to CONTRIBUTING

License

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

The MIT License (MIT)

Copyright (c) 2016 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Azure Multi-subscription/tenant Monitoring Solution

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published