zMonitor/README.md

93 строки
5.1 KiB
Markdown
Исходник Постоянная ссылка Обычный вид История

2017-05-24 15:57:48 +03:00
# zMonitor
2017-05-24 12:56:08 +03:00
2017-05-31 15:25:16 +03:00
An Azure platform native monitoring solution that enables Azure monitoring across multiple tenants or subscriptions.
2017-05-24 15:57:48 +03:00
## Overview
2017-05-31 16:18:04 +03:00
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.
2017-05-31 15:25:16 +03:00
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.
2017-05-24 15:57:48 +03:00
2017-05-31 16:18:04 +03:00
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).
2017-05-24 15:57:48 +03:00
2017-05-31 14:29:44 +03:00
For an indication of potential costs for the solution, review the [cost estimate](Documentation/Cost-Estimate.md) documentation.
2017-05-24 15:57:48 +03:00
## 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.
2017-05-28 22:02:21 +03:00
![zMonitor Solution Overview](Documentation/images/zMonitorOverview.png)
2017-05-24 15:57:48 +03:00
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):
2017-05-24 15:57:48 +03:00
* [Reports/Queries](Documentation/Log-Reports.md)
* [Resources for writing Log Analytics queries](Documentation/Writing-Reports.md)
2017-05-24 15:57:48 +03:00
## Deployment
2017-05-24 15:57:48 +03:00
The detailed deployment instructions for the solution:
2017-05-24 15:57:48 +03:00
[Deploying monitoring for Tenant/ Subscription][6]
2017-05-24 15:57:48 +03:00
[Deploying the central repository (e.g. Service Provider)][7]
2017-05-24 15:57:48 +03:00
## Azure Resource Documentation
2017-05-24 15:57:48 +03:00
For more information on the individual components, please refer to the official documentation:
2017-05-24 15:57:48 +03:00
* [Log Analytics][1]
2017-05-24 15:57:48 +03:00
<!--![Log Analytics](Documentation/images/loganalytics.png)-->
2017-05-24 15:57:48 +03:00
* [Azure Automation][2]
2017-05-24 15:57:48 +03:00
* [Stream Analytics][3]
2017-05-24 15:57:48 +03:00
* [Azure Cosmos DB][4]
2017-05-24 15:57:48 +03:00
* [Power BI][5]
2017-05-24 15:57:48 +03:00
## Contributions
2017-05-28 22:02:21 +03:00
Please refer to [CONTRIBUTING](Documentation/Contributing.md)
2017-05-24 15:57:48 +03:00
## License
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information, see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) 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.
<!-- LINKS -->
[1]: https://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-overview
[2]: https://docs.microsoft.com/en-us/azure/automation/automation-intro
[3]: https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-introduction
[4]: https://docs.microsoft.com/en-us/azure/cosmos-db/
[5]: https://powerbi.microsoft.com/en-us/documentation/powerbi-landing-page/
2017-05-28 22:02:21 +03:00
[6]: Documentation/Deploy-Tenant.md
[7]: Documentation/Deploy-ServiceProvider.md