Galaxy role to add an influx data source on Grafana
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Wilfried OLLIVIER 37dca24735 Remove useless sentence in README example 1 year ago
defaults Fix: Harmonize files by adding new line if nedded 2 years ago
meta Fix: Harmonize files by adding new line if nedded 2 years ago
tasks Fix: Harmonize files by adding new line if nedded 2 years ago
tests Fix: Harmonize files by adding new line if nedded 2 years ago
LICENSE Move LICENSE file 2 years ago
README.md Remove useless sentence in README example 1 year ago

README.md

galaxy-grafana.ds.influx

Add an InfluxDB datasource to Grafana

Requirements

An InfluxDB service up and running

Role Variables

  • grafana_proto: https or http, used by grafana
  • grafana_domain: domain name used by grafana
  • grafana_port: port used by grafana
  • grafana_url_port: port used by grafana in url
  • grafana_admin_user: grafana admin user
  • grafana_admin_pass: grafana admin passwd
  • datasource_name: name of the datasource to link grafana with influx
  • influx_url: url of inluxdb
  • influx_proto: proto http or https used by influx
  • influx_port: port used influx
  • influx_db_name: influxdb name to link to grafana
  • influx_user: influxdb username
  • influx_pass: influxdb passe to link to grafana
  • grafana_org_id: org ig (number)
  • is_default: yes/no is this the default source

Dependencies

None

Example Playbook

- hosts: servers
  roles:
     - role: galaxy-grafana.ds.influx

Run tests

Ensure galaxy-vagrant is up

ansible-playbook -i tests/inventory tests/test.yml