Skip to content

Grafana

lierseleow edited this page Feb 18, 2021 · 3 revisions

Grafana provides a UI Interface to Visualize Data gathered by Prometheus and Elasticsearch

Bugs

Installation

kolla-ansible searches for the Grafana Service on the VIP (the Controller Node IP). If you have a different node as Monitoring Node, kolla-ansible will not deploy, because it cant find Grafana on your Controller Node. We provide a corrected file in which you have to replace the grafana_internal_ip with the ip of your monitoring node and replace the existing file in your kolla-ansible installation.

Datasources

kolla-ansible configures the Prometheus datasource with the VIP as ip address. This, as mentioned above, does not work if you have control and monitoring on different nodes. Thus you have to add a new Prometheus Datasource with the correct IP. If the Datasource is still not working you might want to change the connection type from server to browser.

Notifications

You will find Documentation for other alert channels, like e-mail or slack.

We will give you a step-by-step guide to setup your Telegram bot and alert channel:

  1. Create a Bot with @BotFather in the Telegram App, this will give you a bot Token
  2. Either start a Chat with your bot or add him to a new or existing group chat.
  3. Use curl or your browser to access https://api.telegram.org/bot<TOKEN>/getUpdates
  4. You get a json object, which lists all chats from the bot and their respective id.
  5. In Grafana add an Alert Channel, choose Telegram and add your Bot Token and your chat id.

GUIDE TO TELEGRAM BOT

Clone this wiki locally