Dashboarding with Open-Source Monitoring Stacks Made Easy
DevNet Create 2018 - WS23, WS54 | Presentation
Learn about the different open source tools like TICK, ELK, Prometheus, Grafana, and more - and how to make good looking dashboards of your environment without having to rebuild the wheel.
- Provide a quick introduction to monitoring concepts
- Provide a quick introduction to available tooling
- Create a sample environment/application which exposes metrics to monitoring tooling
- Explore sample dashboards in Grafana
- Create custom dashboards in Grafana
In order to complete this lab you will need a development workstation with Docker, and other fundamental tools installed. :)
- Docker [CE]
- Community Edition is fully capable.
- v17.06 or higher.
- Web browser
- If you have
git
installed...
git clone https://github.com/cisco-ie/ez-dash
- Otherwise, download from your web browser or other tool.
https://github.com/cisco-ie/ez-dash/archive/master.zip
You're ready to workshop!
This stack should work across any OS that supports the prerequisited Docker CE installation. All processes are containerized and deployable via Docker Swarm. If you are running pre-existing Docker containers, ensure that there are no port conflicts in the docker-compose.yml
file.
Explanation of the components is provided in the Dashboarding with Open-Source Monitoring Stacks Made Easy PowerPoint.
The following expects you to utilize a terminal of some kind, also known as command prompt in Windows.
# Get the code!
git clone https://github.com/cisco-ie/ez-dash
cd ez-dash
# If you have never run Docker Swarm before...
./setup.sh # MacOS or Linux
.\setup.bat # Windows
# Start the stack!
./start.sh # MacOS or Linux
.\start.bat # Windows
# See what's running!
docker stack ps ezdash
# Shut it down when you're done!
./stop.sh # MacOS or Linux
.\stop.bat # Windows
The following listings detail ports made available over HTTP to explore the stack.
- Grafana
- http://localhost:3000/
- Credentials:
admin/admin
- Kibana
- Prometheus Query Interface
- Python Application
- http://localhost:5000/
- http://localhost:5000/up
- http://localhost:5000/down
- Increment/decrement a counter displayed in Grafana and exposed by Prometheus.
- http://localhost:9091/
- See Python Application statistics exposed to Prometheus.
If you require any assistance, please open an issue in this repository, or reach out to: