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.

Example:

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

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__repo_version

The version of the monitoring plugins that will be used for the grafana dashboards. Possible options: * latest: The latest stable release. See the Releases.
* main: The development version. Use with care.
* A specific release, for example 2022030201. See the Releases.

'{{ lfops__monitoring_plugins_version | default("latest") }}'

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__repo_version: '2022072001'
monitoring_plugins_grafana_dashboards__grafana_url: 'http://localhost:3000'

License

The Unlicense

Author Information

Linuxfabrik GmbH, Zurich