chriscowley.unifi_exporter

Unifi Exporter

Actions Status
License
Ansible Role
GitHub tag (latest by date)

This guide helps you install and set up the Unifi Prometheus Exporter.

Requirements

  • A Unifi Controller
  • Prometheus

Role Variables

# Default settings for ccunix.unifi_exporter
unifi_exporter_version: 0.4.0
unifi_exporter_user: unifi_exporter
unifi_exporter_group: "{{ unifi_exporter_user }}"
unifi_exporter_home: "/var/lib/unifi_exporter"

unifi_exporter_address: :9130
unifi_exporter_metricspath: /metrics

unifi_exporter_unifi_address: https://localhost:8443
unifi_exporter_unifi_username: admin
unifi_exporter_unifi_password: changeme
unifi_exporter_unifi_site: home
unifi_exporter_unifi_insecure: false

Dependencies

None

Example Playbook

Here’s how to use this role in your playbook with some variables:

- hosts: unifi
  become: true
  
  roles:
    - role: ccunix.unifi_exporter
      state: present
  vars:
    unifi_exporter_unifi_address: https://localhost:8443
    unifi_exporter_unifi_username: admin
    unifi_exporter_unifi_password: "{{ vault_unifi_exporter_unifi_password }}"
    unifi_exporter_unifi_insecure: true

License

MIT

Author Information

Chris Cowley

Informazioni sul progetto

Install unifi_exporter

Installa
ansible-galaxy install chriscowley.unifi_exporter
Licenza
mit
Download
2k
Proprietario