Ansible Role monitoring_plugins_grafana_dashboards
This role deploys the Monitoring Plugins Grafana Dashboards for a Grafana Server using grizzly.
Mandatory Requirements
- Install and configure Grafana with the required provisioning config. This can be done using the linuxfabrik.lfops.grafana role. 
- Install grizzly. This can be done using the linuxfabrik.lfops.grafana_grizzly role. 
If you use the „Monitoring Plugins Grafana Dashboards“ Playbook or „Setup Icinga2 Master“ Playbook, this is automatically done for you.
Mandatory Role Variables
| Variable | Description | 
|---|---|
| 
 | The login for a Grafana service account with a „Admin“ token. | 
| 
 | The login for the InfluxDB database. Only needs to have read permissions. | 
| 
 | String. Which version of the monitoring plugins should be deployed? Possible options: 
 lfops__monitoring_plugins_versionfor 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 | 
|---|---|---|
| 
 | The host of the Director SQL database. | 
 | 
| 
 | The name of the Director SQL database. | 
 | 
| 
 | The name of the InfluxDB database. | 
 | 
| 
 | The host of the InfluxDB database. | 
 | 
| 
 | The URL under which Grafana is reachable | 
 | 
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'