onkeldom.victoriametrics
Ansible Role: VictoriaMetrics
Description
This role helps you set up the Victoriametrics monitoring system using Ansible.
Requirements
- Ansible version 2.9 or higher (may work with older versions, but not guaranteed).
Role Variables
You can customize the following variables. They are listed in the defaults/main.yml file and in the table below.
Name | Default Value | Description |
---|---|---|
proxy_env |
{} | Proxy environment variables |
victoriametrics_version |
1.57.1 | Version of the Victoriametrics package. You can also use latest , but only 2.x is supported. |
victoriametrics_config_dir |
/etc/victoriametrics | Directory for Victoriametrics configuration files. |
victoriametrics_data_dir |
/var/lib/victoriametrics | Directory for the Victoriametrics database. |
victoriametrics_binary_install_dir |
/usr/local/bin | Directory for Victoriametrics binaries. |
victoriametrics_system_user |
prometheus | System user for Victoriametrics. |
victoriametrics_system_group |
victoriametrics | System group for Victoriametrics. |
victoriametrics_limit_nofile |
16384 | Sets the nofile limit in the systemd unit. |
victoriametrics_web_listen_address |
"0.0.0.0" | Address where Victoriametrics will listen. |
victoriametrics_web_listen_port |
8428 | Port where Victoriametrics will listen. |
victoriametrics_log_level |
warn | Sets the logging level. |
victoriametrics_log_format |
json | Sets the logging format. |
victoriametrics_prometheus_config |
{} | Defines the Prometheus configuration. |
victoriametrics_config |
[] | Defines environment variables for Victoriametrics - List of Flags |
Example
Playbook
---
- hosts: all
roles:
- onkeldom.victoriametrics
Contributing
Refer to the contributor guideline.
License
This project is licensed under the MIT License. For more details, see LICENSE.
Informazioni sul progetto
Ansible role for installing and configuring victoriametrics storage backend
Installa
ansible-galaxy install onkeldom.victoriametrics
Licenza
mit
Download
440
Proprietario