derekpurdy.configure_prometheus_unraid

Configurando prometheus.yml en un unraid a través de Ansible usando la lista de hosts


  • Se añadió soporte para el descubrimiento de /etc/prometheus/targets/*.yml utilizando file_sd_configs

Ansible Galaxy

https://galaxy.ansible.com/ui/standalone/roles/derekpurdy/configure_prometheus_unraid

Ejemplo de archivo de hosts de Ansible

---

all:
  children:
    unraid:
      hosts:
        server.lan:

Ejemplo de Playbook de Ansible

---

- name: Playbook para Configurar Prometheus
  hosts: unraid
  gather_facts: yes

  roles:
    - role: derekpurdy.configure_prometheus_unraid

Ejemplo de group_vars/all/vars.yml

prometheus_env: 'NOMBRE DEL ENTORNO'
alertmanager_host: 'alertmanager.lan'

Información del autor

Este rol fue creado por Derek Purdy

Acerca del proyecto

Configure prometheus.yml file on Unraid via Ansible using the Ansible hosts list

Instalar
ansible-galaxy install derekpurdy.configure_prometheus_unraid
Licencia
Unknown
Descargas
525
Propietario
Some guy with his head in the clouds.