Ansible Role monitoring_plugins_grafana_dashboards

This role deploys the Monitoring Plugins Grafana Dashboards for a Grafana Server using grizzly.

Mandatory Requirements

If you use the „Monitoring Plugins Grafana Dashboards“ Playbook or „Setup Icinga2 Master“ Playbook, this is automatically done for you.

Tags

Tag

What it does

monitoring_plugins_grafana_dashboards

Deploys the Monitoring Plugins Grafana Dashboards.

Mandatory Role Variables

Variable

Description

monitoring_plugins_grafana_dashboard__grafana_service_account_login

The login for a Grafana service account with a „Admin“ token.

monitoring_plugins_grafana_dashboard__influxdb_login

The login for the InfluxDB database. Only needs to have read permissions.

monitoring_plugins_grafana_dashboards__repo_version

String. Which version of the monitoring plugins should be deployed? Possible options:

  • A specific release, for example 1.2.0.11. See the Releases.
  • dev: The development version (main branch). Use with care. Only works with monitoring_plugins__install_method: 'source'.
Defaults to lfops__monitoring_plugins_version for convenience.

Example:

# mandatory
monitoring_plugins_grafana_dashboard__grafana_service_account_login:
  username: 'grizzly'
  password: 'linuxfabrik'
monitoring_plugins_grafana_dashboard__influxdb_login:
  username: 'dashboard'
  password: 'linuxfabrik'
monitoring_plugins_grafana_dashboards__repo_version: '1.2.0.11'

Optional Role Variables

Variable

Description

Default Value

monitoring_plugins_grafana_dashboard__director_database_host

The host of the Director SQL database.

'127.0.0.1'

monitoring_plugins_grafana_dashboard__director_database_name

The name of the Director SQL database.

'{{ icingaweb2_module_director__database_name }}'

monitoring_plugins_grafana_dashboard__influxdb_database_name

The name of the InfluxDB database.

'{{ icinga2_master__influxdb_database_name }}'

monitoring_plugins_grafana_dashboard__influxdb_host

The host of the InfluxDB database.

'{{ icinga2_master__influxdb_host }}'

monitoring_plugins_grafana_dashboards__grafana_url

The URL under which Grafana is reachable

'{{ grafana__api_url }}'

Example:

# optional
monitoring_plugins_grafana_dashboard__director_database_host: 'localhost'
monitoring_plugins_grafana_dashboard__director_database_name: 'my-db'
monitoring_plugins_grafana_dashboard__influxdb_database_name: 'my-director-db'
monitoring_plugins_grafana_dashboard__influxdb_host: '127.0.0.1'
monitoring_plugins_grafana_dashboards__grafana_url: 'http://localhost:3000'

License

The Unlicense

Author Information

Linuxfabrik GmbH, Zurich