![]() Zabbix hosts represent Azure Resource Groups.The following workflow\statements was designed to achieve the goal: You must be familiar with Powershell a bit to be able to modify scripts (replace strings, comment un-needed code, etc.). I'll talk more about this in the very end of the article. There are hard-coded values in the code and they should be replaced with your real data (like password, keys, etc). Zabbix Azure set of Powershell scripts will do all the work for you. Azure Service Principal with permissions to read monitor metrics from the cloud.Powershell 7.0 both for Linux and your local Windows machine.Azure Monitoring API - through this API we will fetch metrics data from cloud.What tools and APIs will we use in the article: So, we've decided to adopt Zabbix for monitoring of Azure. ![]() Metrics could appear there with big delays, problems with writing queries, triggering - is also a problem. ![]() Why do we need all this? Well, I've encountered a number of issues, problems and limitations while trying to use native Azure tools - Log Analytics (to paint graphs) and Monitor (to configure alerting). Before you start configuring\scripting, please make sure you're familiar with most common Zabbix features, because the task is not trivial. There is no built-in solution for monitoring Azure with 3rd-party software (at least, I know nothing about that), so we'll need to build our own. Today is the great day, as I'm finally going to share my approach to monitoring of Azure Cloud resources with Zabbix. All code moved to GitHub where you can clone it to your PC and update as needed.Īlso, I've removed all comments as they're not relevant anymore. During last year, I've been actively refactoring this solution and finally I've updated this article. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |