sanchomuzax / grafana_mail

Send report with grafana pictures

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

grafana_mail

  • Sending an e-mail report on yesterday's tables
  • Required Python module: requests

Parameters:

-h HELP
-f MAIL_FROM 
-m MAIL_LIST or MAIL_LIST
-M MAILHOST 
-G GRAFANA_SERVER 
-P PANEL_LIST 
-T API_TOKEN 
-W IMG_WIDTH 
-H IMG_HEIGHT
-p PERIOD in days

Example of usage:

./grafana_mail.py -m mail1@domain.test mail2@domain.test -f mailer@domain.net -M mailhost.domain.test -G http://localhost:3000 -p 7 -P dashboard1,1 dashboard2,14 dashboard4,1 dashboard6,2

About

Send report with grafana pictures


Languages

Language:Python 100.0%