Installing dependencies

Note

The Azure monitoring module can be configured in the Wazuh manager (which also behaves as an agent) or directly in a Wazuh agent.

Warning

The Wazuh manager includes all dependencies installed, these steps are only necessary when configuring the integration in a Wazuh agent.

Python

The Azure monitoring module requires python 3. It is compatible with python versions from 3.6.0 to 3.9.5. Future python releases should maintain compatibility although it cannot be guaranteed.

  1. For CentOS/RHEL/Fedora operating systems:

# yum update && yum install python3
  1. For Debian/Ubuntu operating systems:

# apt-get update && apt-get install python3

Pip

The required modules can be installed with Pip, the Python package manager. Most of UNIX distributions have this tool available in their software repositories:

  1. For CentOS/RHEL/Fedora operating systems:

# yum update && yum install python3-pip
  1. For Debian/Ubuntu operating systems:

# apt-get update && apt-get install python3-pip

Azure Storage Blobs client library for Python

Azure Storage Blobs client library is the official Python library for Microsoft’s Azure Blob storage.

To install the Azure Storage Blobs client library for Python, execute the following command:

# pip3 install azure-common==1.1.25 azure-storage-blob==2.1.0 azure-storage-blob==2.1.0 azure-storage-common==2.1.0 pytz==2020.1 requests==2.25.1