---
name: "ocf_heartbeat_azure-events-az"
section: "7"
platform: "linux"
package: "resource-agents"
version: "1:4.16.0-3+deb13u2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ocf_heartbeat_azure-events-az"
---

# ocf\_heartbeat\_azure-events-az(7)

Microsoft Azure Scheduled Events monitoring agent

## NAME

ocf\_heartbeat\_azure-events-az - Microsoft Azure Scheduled Events monitoring agent

## SYNOPSIS

**azure-events-az** \[start \| stop \| monitor \| meta-data \| validate-all\]

## DESCRIPTION

This resource agent implements a monitor for scheduled (maintenance) events for a Microsoft Azure VM.

If any relevant events are found, it moves all Pacemaker resources away from the affected node to allow for a graceful shutdown.

Deployment: crm configure primitive rsc\_azure-events-az ocf:heartbeat:azure-events-az op monitor interval=10s crm configure clone cln\_azure-events-az rsc\_azure-events-az

For further information on Microsoft Azure Scheduled Events, please refer to the following documentation: https://docs.microsoft.com/en-us/azure/virtual-machines/linux/scheduled-events

## SUPPORTED PARAMETERS

**eventTypes**

A comma-separated list of event types that will be handled by this resource agent. (Possible values: Freeze,Reboot,Redeploy)

(optional, string, default "Reboot,Redeploy")

**verbose**

Set to true to enable verbose logging

(optional, boolean, default false)

**retry\_count**

Set to any number bigger than zero to enable retry count

(optional, integer, default 3)

**retry\_wait**

Set retry wait time in seconds

(optional, integer, default 20)

**request\_timeout**

Set request timeout in seconds

(optional, integer, default 15)

## SUPPORTED ACTIONS

This resource agent supports the following actions (operations):

**start**

Starts the resource. Suggested minimum timeout: 10s.

**stop**

Stops the resource. Suggested minimum timeout: 10s.

**validate-all**

Performs a validation of the resource configuration. Suggested minimum timeout: 20s.

**monitor**

Performs a detailed status check. Suggested minimum timeout: 240s. Suggested interval: 10s.

**meta-data**

Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 10s.

## EXAMPLE CRM SHELL

The following is an example configuration for a azure-events-az resource using the [**crm**(8)](/crm/8.md) shell:

```
primitive p_azure-events-az ocf:heartbeat:azure-events-az \
  op monitor timeout="240s" interval="10s"
```

## EXAMPLE PCS

The following is an example configuration for a azure-events-az resource using [**pcs**(8)](/pcs/8.md)

```
pcs resource create p_azure-events-az ocf:heartbeat:azure-events-az \
  op monitor timeout="240s" interval="10s"
```

## SEE ALSO

**http://clusterlabs.org/**

## AUTHOR

**ClusterLabs contributors (see the resource agent source for information about individual authors)**
