# Azure Monitor

### What is Azure Monitor integration in ZigiOps?

Azure Monitor is a cloud-native monitoring service that collects metrics, logs, alerts, and events from Azure resources and applications.

ZigiOps enables secure, agentless integration between Azure Monitor and ITSM, monitoring, and enterprise systems. Using ZigiOps, Azure Monitor alerts, metrics, and topology data can be forwarded to downstream systems to trigger incidents, events, or automated workflows.

With ZigiOps, Azure Monitor can:

* Send alerts and metrics to ITSM and monitoring platforms
* Trigger incident or event creation based on Azure alerts
* Participate in monitoring-to-resolution workflows
* Integrate using APIs and webhooks, without custom code

### Which Azure Monitor versions are supported?

Using a supported version is mandatory.

| Product       | Supported Deployment Types | Supported Versions |
| ------------- | -------------------------- | ------------------ |
| Azure Monitor | All                        | All                |

### Are there any environmental prerequisites for Azure Monitor?

{% hint style="info" %}
Always confirm the prerequisites of the corresponding integration template before continuing, as some templates may not require all environmental prerequisites.
{% endhint %}

> See the **Related Templates** section at the end of this page.

### How do I get my Subscription ID from Azure Monitor?

{% stepper %}
{% step %}
Log in to your Azure portal at [https://portal.azure.com](https://portal.azure.com/).
{% endstep %}

{% step %}
Click **Subscriptions**.
{% endstep %}

{% step %}
Locate and copy your **Subscription ID** from the list.
{% endstep %}
{% endstepper %}

### How do I get my Client ID, Client Secret Password, and Tenant ID from Azure Monitor?

These credentials are required for authenticating Azure Monitor with ZigiOps.

{% stepper %}
{% step %}
Log in to your Azure portal at [https://portal.azure.com](https://portal.azure.com/).
{% endstep %}

{% step %}
Open the **Cloud Shell** console.
{% endstep %}

{% step %}
Execute the command:

```bash
az login
```

This generates a temporary login code.
{% endstep %}

{% step %}
Open <https://microsoft.com/devicelogin> and enter the generated code to authorize the session.
{% endstep %}

{% step %}
In **Cloud Shell**, execute:

```bash
az account set --subscription "<subscription_id>"
```

{% endstep %}

{% step %}
Execute:

```bash
az ad sp create-for-rbac -n "<service_principal_name>"
```

{% endstep %}

{% step %}
Copy the generated values:

* **Client ID** - AppID
* **Client Secret Password** - Password
* **Tenant ID** - Tenant
  {% endstep %}
  {% endstepper %}

### How do I create a Webhook Action in Azure Monitor?

Webhook actions are required for integrations that rely on Azure Monitor alerts.

{% stepper %}
{% step %}
Create a Webhook Action by following Microsoft's documentation:\
<https://docs.microsoft.com/en-us/azure/azure-monitor/alerts/action-groups#webhook>
{% endstep %}

{% step %}
Configure the **Webhook URL** to point to the ZigiOps listener endpoint.\
Example: `https://zigiops.example.com:8899/azure/alerts`
{% endstep %}
{% endstepper %}

### How do I connect Azure Monitor to ZigiOps?

#### Azure Monitor - Connected System Configuration

Follow the steps below to add Azure Monitor as a connected system in ZigiOps.

{% stepper %}
{% step %}
Log in to your **ZigiOps** instance.
{% endstep %}

{% step %}
Navigate to **Connected Systems > Add New System > Azure Monitor** and configure the following parameters:

**URL**\
Enter the Azure management URL.\
Example: `https://management.azure.com`

**Subscription ID**\
Enter your Azure subscription identifier.

**Client ID**\
Enter your client identifier.

**Client Secret Password**\
Enter your client secret password.

**Tenant ID**\
Enter your tenant identifier.

**Proxy Settings (optional)**\
Enable this option if a proxy server is required.
{% endstep %}

{% step %}
Review the configuration.
{% endstep %}

{% step %}
Click **Save** to store the connected system.
{% endstep %}
{% endstepper %}

Once saved, Azure Monitor becomes available for use in ZigiOps integration templates.

### What are the most common Azure Monitor integration use cases?

#### Use case 1: Forwarding Azure Monitor alerts to ITSM systems

ZigiOps can forward Azure Monitor alerts to ITSM platforms as incidents or events. Alert details, severity, timestamps, and metadata are mapped automatically, enabling faster response to infrastructure and application issues.

#### Use case 2: Centralized monitoring with downstream systems

Azure Monitor metrics and alerts can be synchronized to monitoring platforms using ZigiOps, allowing organizations to consolidate Azure monitoring data into existing observability tools.

#### Use case 3: Webhook-based automation workflows

Using Azure Monitor webhooks, ZigiOps can trigger automated workflows based on alert conditions, enabling real-time integration without polling.

### What integration templates are available for Azure Monitor?

ZigiOps provides prebuilt integration templates for Azure Monitor, depending on the target system and use case.

#### Related Templates

* Azure Monitor alerts - OBM events
* Azure Monitor VM metrics - OBM metrics
* Azure Monitor VM topology - OBM topology
* Azure Monitor webhook alerts - OBM events

Each template includes:

* Predefined entity mappings
* Direction of synchronization
* Entity-specific logic and filtering rules

Templates are documented individually in the **Integration Catalog**.

### Summary

The Azure Monitor integration in ZigiOps enables:

* Secure, agentless integration with Azure monitoring services
* Support for all Azure Monitor versions
* Authentication using Azure AD service principals
* Webhook-based alert processing
* Ready-to-use templates for alerts, metrics, and topology workflows


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zigiwave.com/available-systems/azure-monitor.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
