victoriametrics

Ansible Role: VictoriaMetrics

ubuntu-18 ubuntu-20 debian-9 [debian-10](https://www.debian.org/

License GitHub issues GitHub tag

Description

Deploy victoriametrics monitoring system using ansible.

Requirements

  • Ansible >= 2.9 (It might work on previous versions, but we cannot guarantee it)

Role Variables

All variables which can be overridden are stored in defaults/main.yml file as well as in table below.

Name Default Value Description
proxy_env {} Proxy environment variables
victoriametrics_version 1.57.1 victoriametrics package version. Also accepts latest as parameter. Only victoriametrics 2.x is supported
victoriametrics_config_dir /etc/victoriametrics Path to directory with victoriametrics configuration
victoriametrics_data_dir /var/lib/victoriametrics Path to directory with victoriametrics database
victoriametrics_binary_install_dir /usr/local/bin Path to directory with victoriametrics binaries
victoriametrics_system_user prometheus victoriametrics system user
victoriametrics_system_group victoriametrics victoriametrics system group
victoriametrics_limit_nofile 16384 set nofile limit in systemd unit
victoriametrics_web_listen_address "0.0.0.0" Address on which victoriametrics will be listening
victoriametrics_web_listen_port 8428 Port on which victoriametrics will be listening
victoriametrics_log_level warn Set loglevel
victoriametrics_log_format json Set logformat
victoriametrics_prometheus_config {} define prometheus config
victoriametrics_config [] define victoriametrics environment variables - List Flags

Example

Playbook

---
- hosts: all
  roles:
  - onkeldom.victoriametrics

Contributing

See contributor guideline.

License

This project is licensed under MIT License. See LICENSE for more details.

About

Ansible role for installing and configuring victoriametrics storage backend

Install
ansible-galaxy install OnkelDom/ansible-role-victoriametrics
GitHub repository
License
mit
Downloads
431