Skip to content

Linux - Metricbeat

Go to Automation

View in GitLab

Warning

As metricbeat is replaced by Elastic Agent, this playbook is deprecated.

Description

This playbook uses the mon-elastic-beat-metricbeat role to ensure that Metricbeat is installed.
The role automates the installation, configuration, and management of Elastic's Metricbeat on target systems. It ensures the correct version of Metricbeat is installed, using variables for version control. The role fetches configuration files from a Git repository and applies host or group-specific configurations, with fallback to default settings when necessary. It disables Elastic repositories after installation to prevent unintended updates. The role supports CentOS/RHEL environments and ensures Metricbeat is enabled and started, with error handling and debugging for traceability.

Credentials

None

Input

Variable Description
target Target host or group for the playbook.

Output

None

Dependencies