Ansible Role monitoring_plugins_grafana_dashboards

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

Available since LFOps 3.0.0.

Mandatory Requirements

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

Tags

monitoring_plugins_grafana_dashboards

  • Deploys the Monitoring Plugins Grafana Dashboards.

  • Triggers: none.

Mandatory Role Variables

monitoring_plugins_grafana_dashboard__grafana_service_account_login

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

  • Type: Dictionary.

monitoring_plugins_grafana_dashboard__influxdb_login

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

  • Type: Dictionary.

monitoring_plugins_grafana_dashboards__repo_version

  • 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.

  • Type: String.

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

monitoring_plugins_grafana_dashboard__director_database_host

  • The host of the Director SQL database.

  • Type: String.

  • Default: '127.0.0.1'

monitoring_plugins_grafana_dashboard__director_database_name

  • The name of the Director SQL database.

  • Type: String.

  • Default: '{{ icingaweb2_module_director__database_name }}'

monitoring_plugins_grafana_dashboard__influxdb_database_name

  • The name of the InfluxDB database.

  • Type: String.

  • Default: '{{ icinga2_master__influxdb_database_name }}'

monitoring_plugins_grafana_dashboard__influxdb_host

  • The host of the InfluxDB database.

  • Type: String.

  • Default: '{{ icinga2_master__influxdb_host }}'

monitoring_plugins_grafana_dashboards__grafana_url

  • The URL under which Grafana is reachable.

  • Type: String.

  • Default: '{{ 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