Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Graphite + Carbon + Grafana + Elasticsearch + Kibana

An all-in-one image running graphite and carbon-cache and grafana.

This image contains a sensible default configuration of graphite and
carbon-cache.

Ports

Starting this container with the start script will, by default, bind the the following
ports:

Host/VM Container Description
8888 80 the grafana (/grafana) and kibnana (/kibana) web interface
8181 2003 the graphite web interface (/)
2003 2003 the carbon-cache line receiver (the standard graphite protocol)
2004 the carbon-cache pickle receiver
7002 the carbon-cache query port (used by the web interface)

You can log into the administrative interface of graphite-web (a Django application) with the username admin and password admin. These passwords can be changed through the web interface.

NB: Please be aware that by default docker will make the exposed ports accessible from anywhere if the host firewall is unconfigured.

Port Forwarding

If you are using VirtualBox or simmilar, forward the to your actual host. To do so, open the VirtualBox GUI, select you VM, click on Settings > Network. In the 'Attached to:' dropdown, select NAT, if it wasn't already. Click on Advanced > Port Forwarding and add the following entries:

Protocol Host Port Guest Port
TCP 8888 8888
TCP 8181 8181
TCP 2003 2003
TCP 2222 22

Mounted Volumes

The start script will, by default, mount the following directories:

Host/VM Container Description
/var/docker/stagemonitor/elastic /var/lib/elasticsearch elasticsearch index files
/var/docker/stagemonitor/graphite /opt/graphite/storage/whisper whisper (timeseries) database files
/var/docker/stagemonitor/supervisor /var/log/supervisor logs for elasticsearch, graphite and nginx

Getting started

  • If you are using VirtualBox or simmilar, make sure to forward the ports to your host.
  • Clone this repo: git clone https://github.com/stagemonitor/stagemonitor-docker
  • Optional: edit the settings
  • Build the docker container: execute ./build
  • Optional: modify start to map to the ports and host directories you need
  • Start the container: execute ./start

Technical details

By default, this instance of carbon-cache uses the following retention periods
resulting in whisper files of approximately 290Kb.

1m:7d,10m:31d,1h:120d,6h:5y

Notice

Modified from https://github.com/grafana/grafana-docker-dev-env

Docker Pull Command
Owner
munishmehta

Comments (0)