Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rjshrjndrn/monitoring
Simple prometheus monitoring for nodes with node-exporter. Including grafana
https://github.com/rjshrjndrn/monitoring
docker grafana monitoring node-exporter prometheus
Last synced: 11 days ago
JSON representation
Simple prometheus monitoring for nodes with node-exporter. Including grafana
- Host: GitHub
- URL: https://github.com/rjshrjndrn/monitoring
- Owner: rjshrjndrn
- Created: 2019-05-14T18:43:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-15T02:37:44.000Z (over 5 years ago)
- Last Synced: 2024-12-08T05:03:55.170Z (17 days ago)
- Topics: docker, grafana, monitoring, node-exporter, prometheus
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## What is Prometheus
Prometheus is a 21st century monitoring solution. Which architected as asynchronous server-client scrape system.
## Installing PrometheusFollowing instruction will setup a single node Prometheus cluster in docker-swarm, with node-exporter (to export system metrics)
1. Clone [monitoring repo](https://github.com/rjshrjndrn/monitoring)
2. `cd monitoring/ansible/`
3. fill inventory/hosts
4. Installing Docker
1. ansible-playbook -i inventory setup-dockerswarm.yml
5. Setup Prometheus and grafana
1. ansible-playbook -i inventory monitoring.yml
6. Setting up grafana Data source
1. goto http://{prometheus-machine-ip}:3000/ use user: admin and passowrd: defined in grafana_admin_password variable inthe [monitoring yml](monitoring.yml)
2. click on settings -> Data sources -> select Prometheus
3. url -> http://{prometheus-machine-ip}:9090/prometheus -> save and test. This will configure data source
7. first Dashboard
1. click on '+' sign -> import
2. put `1860` in `Grafana.com Dashboard` field and load
3. select datasource and import