Skip to content

This repository contains docker-compose file which allows monitoring server metrics like CPU, memory, etc.

License

Notifications You must be signed in to change notification settings

shivamsaxenadev/docker-monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Server monitoring

This repository contains a docker-compose file which can be used to launch docker containers to monitor CPU, memory, IO, network, & other system metrics. The scripts have been tested & run on Ubuntu 22.04 LTS.

Node exporter dashboard - Monitor complete server metrics

Alt text

Cadvisor dashboard - Monitor each docker container metrics

Alt text

Prerequisites

Please make sure you have the following programs installed on your machine:

  • docker

Setup

  • Run command ./start.sh
  • Open http://localhost:3000
  • After you are able to access grafana, you will need to import 2 dashboards
  • To import you just need to go to Dashboard -> Import in left side menu. Alt text
  • Then you need to enter 1860 for Node Exporter dashboard or 14282 for Cadvisor dashboard. You can import both of these one by one. Alt text
  • On the next screen select the Prometheus data source from dropdown. Alt text
  • Click Import Alt text

Where to access Grafana?

http://localhost:3000

About

This repository contains docker-compose file which allows monitoring server metrics like CPU, memory, etc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages