Skip to content

JayjeetAtGithub/prometheus-on-baremetal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bare-metal Prometheus Setup

  1. To start getting metrics from a set of nodes, execute this on every node
curl -o- https://raw.githubusercontent.com/JayjeetAtGithub/prometheus-on-baremetal/master/exporter.sh | bash
  1. Write the host names in the hosts file and generate the prometheus config file in /tmp by doing,
git clone https://github.com/JayjeetAtGithub/prometheus-on-baremetal
cd prometheus-on-baremetal/
python3 get_config.py
  1. To start prometheus on the admin node,
curl -o- https://raw.githubusercontent.com/JayjeetAtGithub/prometheus-on-baremetal/master/prometheus.sh | bash
  1. To start Grafana server,
curl -o- https://get.docker.com | bash
docker run -d -p 3000:3000 grafana/grafana
  1. After starting the Grafana server, add a prometheus data source named skyhook and then import the provided grafana.json to get a pre-defined dashboard to monitor CPU, Storage and Network usage across the cluster.

About

Set up Prometheus and Grafana on a set of baremetal nodes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published