SlideShare a Scribd company logo
TECH TALK
Ishan Hewanayake | From CRS
ALERT BOT FOR
GRAFANA
WHAT IS IT AND ITS IMPORTANCE ?
• Omitting the hard path and Repeating your self.
• Culture of botOps with action and fire pattern.
• Access from anywhere.
• Warnings, Alerts, when required.
INITIAL CONCEPT
• If something can pull the data from GRAFANA and
push it to SM platform ?
• We need BACKEND SERVER && CLOUD Env. && TRIGGER point
USED TECHNOLOGIES
• Prometheus or any data source
• Grafana
• Hubot | Node JS
• Slack
• AWS EC2
ARCHITECTURE DIAGRAM
AWS EC2
CONFIGURATION STEPS
STEP 1
• Install GRAFANA in the server.
• Add yum repository in grafana.repo file.
• Yum install grafana –y
• Start & Enable
• Install PROMETHEUS as DATA SOURSE.
• Add data source PROMETHEUS to the GRAFANA.
CONFIGURATION STEPS
STEP 2
• Install Node JS on the server. (hubot is based on this)
• Epel-release
• Repolist
• then install nodejs npm.
• Install hubot .
• Install generator-hubot ( npm install -g yo generator-hubot )
• Install hubot using yo generator (yo hubot )
CONFIGURATION STEPS
STEP 3 – Integrate SLACK with HUBOT
• npm I hubot-grafana –save
• Add hubot-grafana to external script.
• Create SLACK channel and add API key to
the env.
• Also Generate Grafana key and add env.
CONFIGURATION STEPS
FINAL ARCHITECTURE
• Grafana host
• Grafana API-Key
(setup in env. variable)
• SLACK API KEY
DEMO
Thank YOU!
Refference : Prasad Grafana Hubot Slack Medium

More Related Content

PPTX
Deploying Kubernetes on GCP with Kubespray
PPTX
Deploy High Availability Kubernetes with Kubespray
PPTX
淺談 Redux Thunk
PPTX
Spinnaker for Azure
PDF
Spinnaker - Bay Area AWS Meetup - 20160726
PPTX
Continuous Deployment to the Cloud using Spinnaker
PPTX
Introduction to Terraform with Azure flavor
PDF
Spinnaker Chadev
Deploying Kubernetes on GCP with Kubespray
Deploy High Availability Kubernetes with Kubespray
淺談 Redux Thunk
Spinnaker for Azure
Spinnaker - Bay Area AWS Meetup - 20160726
Continuous Deployment to the Cloud using Spinnaker
Introduction to Terraform with Azure flavor
Spinnaker Chadev

What's hot (20)

PDF
How cloud native vn fs deployed on open stack will change the telecom industry
PDF
Terraform
PDF
Cloud Foundry on OpenStack - An Experience Report | anynines
PDF
Orchestrating VM & Container Deployments
PDF
Cloud Infrastructures Slide Set 8 - More Cloud Technologies - Mesos, Spark | ...
PDF
OpenStack in Action 4! Vincent Untz - Running multiple hypervisors in your Op...
PDF
Kubernetes and AWS Lambda can 
play nicely together
PDF
Spinnaker at DevOpsDays Montreal
PDF
Integrating Puppet with Cloud Infrastructures-Remco Overdijk
ODP
Moving PHP to the Cloud
PPT
AWS migration: getting to Data Center heaven with AWS and Chef
PDF
Benchmarking, Load Testing, and Preventing Terrible Disasters
PDF
Terraform Architech
PPTX
Nashorn: JavaScript that doesn't suck - Tomer Gabel, Wix
PDF
Going deep (learning) with tensor flow and quarkus
PDF
reBuy on Kubernetes
PPT
Openstack Summit HK - Ceph defacto - eNovance
PDF
Kubernetes User Group: 維運 Kubernetes 的兩三事
PPTX
HTCondor flocking between two clouds
PDF
Ansible & Cumulus Networks - Simplify Network Automation
How cloud native vn fs deployed on open stack will change the telecom industry
Terraform
Cloud Foundry on OpenStack - An Experience Report | anynines
Orchestrating VM & Container Deployments
Cloud Infrastructures Slide Set 8 - More Cloud Technologies - Mesos, Spark | ...
OpenStack in Action 4! Vincent Untz - Running multiple hypervisors in your Op...
Kubernetes and AWS Lambda can 
play nicely together
Spinnaker at DevOpsDays Montreal
Integrating Puppet with Cloud Infrastructures-Remco Overdijk
Moving PHP to the Cloud
AWS migration: getting to Data Center heaven with AWS and Chef
Benchmarking, Load Testing, and Preventing Terrible Disasters
Terraform Architech
Nashorn: JavaScript that doesn't suck - Tomer Gabel, Wix
Going deep (learning) with tensor flow and quarkus
reBuy on Kubernetes
Openstack Summit HK - Ceph defacto - eNovance
Kubernetes User Group: 維運 Kubernetes 的兩三事
HTCondor flocking between two clouds
Ansible & Cumulus Networks - Simplify Network Automation
Ad

Similar to Configure Grafana Chat Bot with GitHub Hubot and SLACK. (15)

PDF
Prometheus-Grafana-RahulSoni1584KnolX.pptx.pdf
PDF
Grafana overview deck - Tech - 2023 May v1.pdf
PDF
The hitchhiker’s guide to Prometheus
PDF
The hitchhiker’s guide to Prometheus
PDF
Prometheus monitoring
PDF
Cloud Monitoring tool Grafana
PDF
Server monitoring using grafana and prometheus
PDF
Slack in the Age of Prometheus
PPT
Monitoring using Prometheus and Grafana
PDF
One does not simply builds her own Heroku
PDF
Infrastructure & System Monitoring using Prometheus
PDF
OSMC 2022 | Ignite: Observability with Grafana & Prometheus for Kafka on Kube...
PDF
OSMC 2022 | The Power of Metrics, Logs & Traces with Open Source by Emil-Andr...
PPTX
Code instrumentation in Py with Prometheus and Grafana
PDF
Identifying and solving enterprise problems
Prometheus-Grafana-RahulSoni1584KnolX.pptx.pdf
Grafana overview deck - Tech - 2023 May v1.pdf
The hitchhiker’s guide to Prometheus
The hitchhiker’s guide to Prometheus
Prometheus monitoring
Cloud Monitoring tool Grafana
Server monitoring using grafana and prometheus
Slack in the Age of Prometheus
Monitoring using Prometheus and Grafana
One does not simply builds her own Heroku
Infrastructure & System Monitoring using Prometheus
OSMC 2022 | Ignite: Observability with Grafana & Prometheus for Kafka on Kube...
OSMC 2022 | The Power of Metrics, Logs & Traces with Open Source by Emil-Andr...
Code instrumentation in Py with Prometheus and Grafana
Identifying and solving enterprise problems
Ad

Recently uploaded (20)

PPT
Miokarditis (Inflamasi pada Otot Jantung)
PDF
Introduction to Data Science and Data Analysis
PPTX
Acceptance and paychological effects of mandatory extra coach I classes.pptx
PPTX
STERILIZATION AND DISINFECTION-1.ppthhhbx
PPTX
IBA_Chapter_11_Slides_Final_Accessible.pptx
PPTX
Supervised vs unsupervised machine learning algorithms
PPTX
SAP 2 completion done . PRESENTATION.pptx
PPTX
Introduction to machine learning and Linear Models
PDF
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
PDF
Clinical guidelines as a resource for EBP(1).pdf
PPTX
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
PPTX
climate analysis of Dhaka ,Banglades.pptx
PPTX
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
PPTX
IB Computer Science - Internal Assessment.pptx
PPTX
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
PPTX
STUDY DESIGN details- Lt Col Maksud (21).pptx
PDF
Fluorescence-microscope_Botany_detailed content
PPTX
Qualitative Qantitative and Mixed Methods.pptx
PPTX
1_Introduction to advance data techniques.pptx
Miokarditis (Inflamasi pada Otot Jantung)
Introduction to Data Science and Data Analysis
Acceptance and paychological effects of mandatory extra coach I classes.pptx
STERILIZATION AND DISINFECTION-1.ppthhhbx
IBA_Chapter_11_Slides_Final_Accessible.pptx
Supervised vs unsupervised machine learning algorithms
SAP 2 completion done . PRESENTATION.pptx
Introduction to machine learning and Linear Models
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
Clinical guidelines as a resource for EBP(1).pdf
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
climate analysis of Dhaka ,Banglades.pptx
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
IB Computer Science - Internal Assessment.pptx
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
STUDY DESIGN details- Lt Col Maksud (21).pptx
Fluorescence-microscope_Botany_detailed content
Qualitative Qantitative and Mixed Methods.pptx
1_Introduction to advance data techniques.pptx

Configure Grafana Chat Bot with GitHub Hubot and SLACK.

  • 1. TECH TALK Ishan Hewanayake | From CRS ALERT BOT FOR GRAFANA
  • 2. WHAT IS IT AND ITS IMPORTANCE ? • Omitting the hard path and Repeating your self. • Culture of botOps with action and fire pattern. • Access from anywhere. • Warnings, Alerts, when required.
  • 3. INITIAL CONCEPT • If something can pull the data from GRAFANA and push it to SM platform ? • We need BACKEND SERVER && CLOUD Env. && TRIGGER point
  • 4. USED TECHNOLOGIES • Prometheus or any data source • Grafana • Hubot | Node JS • Slack • AWS EC2
  • 6. CONFIGURATION STEPS STEP 1 • Install GRAFANA in the server. • Add yum repository in grafana.repo file. • Yum install grafana –y • Start & Enable • Install PROMETHEUS as DATA SOURSE. • Add data source PROMETHEUS to the GRAFANA.
  • 7. CONFIGURATION STEPS STEP 2 • Install Node JS on the server. (hubot is based on this) • Epel-release • Repolist • then install nodejs npm. • Install hubot . • Install generator-hubot ( npm install -g yo generator-hubot ) • Install hubot using yo generator (yo hubot )
  • 8. CONFIGURATION STEPS STEP 3 – Integrate SLACK with HUBOT • npm I hubot-grafana –save • Add hubot-grafana to external script. • Create SLACK channel and add API key to the env. • Also Generate Grafana key and add env.
  • 9. CONFIGURATION STEPS FINAL ARCHITECTURE • Grafana host • Grafana API-Key (setup in env. variable) • SLACK API KEY
  • 10. DEMO
  • 11. Thank YOU! Refference : Prasad Grafana Hubot Slack Medium