Skip to content

minhhahl/grafana-custom-noti

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grafana Custom Notification for SMS sending

Requirements

  • Python 3 (python 3.9 is used for develop environment)
  • Pip (if you would like to use virtualenv)

Preparing environment

  • Goto project dir

  • Install virtualenv

    pip install virtualenv
  • Create virtualenv for this project

    virtualenv .env
  • Activate virtualenv

    source .env/bin/activate
  • Deactivate virtualenv

    deactivate

Install python libs

  • Goto project dir

  • Run pip command to install

    make install-requirements

Run application

  • Goto project dir

  • Start the app

    make run

Docker

  • Goto project dir

  • Build image

    make docker-build
  • Run application with docker-compose

    cd docker
    docker-compose up -d
  • Login Grafana UI at http://localhost:3000 with username admin and password admin

  • Setup a notification channel with these information:

    • Type: Webhook
    • URL: http://host.docker.internal:5000/grafana (Running with docker-compose)
    • Optional Webhook settings:
      • Http Method: POST
      • Username: grafana
      • Password: grafana

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published