Skip to content

zt-sv/ansible-role-grafana-annotations-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible role: Grafana Annotations Bot Build Status

Ansible role for Grafana Annotation Bot. Currently this works on Debian and RedHat based linux systems (only systemd support). Tested platforms are:

  • CentOS 7
  • Debian 9
  • Ubuntu 18

Role Variables

Variable Required Default Value Description
telegram_bot_token True The token used to connect with Telegram. Token you get from @botfather
telegram_bot_admins True Telegram Bot admin IDs list
grafana_url True The URL that's used to connect to the Grafana, example: http://localhost:3000
grafana_api_token True The Bearer token used to connect with Grafana API
grafana_scrape_interval False 5s Scrape annotations interval
telegram_bot_version False v0.2.0 Grafana Annotation Bot version. See releases here
telegram_bot_log_level False warn Telegram Bot log level. Possible values: debug, info, warn, error

Example Playbook

- hosts: server
  roles:
    - role: 13rentgen.grafana_annotations_bot
      telegram_bot_token: 'TOKEN'
      telegram_bot_admins: 
        - '123'
        - '456'
      grafana_url: 'http://127.0.0.1:3000'
      grafana_api_token: 'BEARER-TOKEN'

License

MIT

Author Information

This role was created in 2019 by Aleksandr Zaytsev.

About

Ansible Role to install Grafana Annotation Bot https://github.com/zt-sv/grafana-annotations-bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages