Browsed by
Category: Docker

Monitoring servers with ElasticSearch

Monitoring servers with ElasticSearch

When you want to be flexible with server monitoring data ElasticSearch is a good option to collect data. With the ElasticSearch queries you can be creative on which data you want to see. Also the Kibana kan help visualising data and making dashboards. In this blog post I will show you how this can be done. Docker First To build an example we will work with Docker. Of course you can set up ElasticSearch and Kibana directly on the OS….

Read More Read More

Improve Docker ElasticSearch nodes

Improve Docker ElasticSearch nodes

To improve the docker ElasticSearch cluster I have posted here ElasticSearch cluster with Docker we can add memory improvements and monitoring. Memory It is recommend by ElasticSearch to disable any swap memory, since the docker for ElasticSearch is based on Ubuntu swap can be enabled inside the docker. To disable this add the following parameter in Docker run; Next to disabling the swap memory we can increase the ElasticSearch memory, default is 1GB but with this paramater (again in docker run) you…

Read More Read More

ElasticSearch cluster with Docker

ElasticSearch cluster with Docker

In previous posts I explained how-to create the Docker Cluster including the overlay network. Before we can start with the ElasticSearch Cluster it’s required to have the overlay network in place. Let’s get started with the ElasticSearch containers. For this example we will use the following configuration: Docker-Host-Master with IP 192.168.0.1 Docker-Host-02 with IP 192.168.0.2 Network created in docker with overlay drivers and name “clusternetwork”. Network “clusternetwork” has subnet “192.168.20.0/24”. Again you can read my previous post to make sure this is…

Read More Read More

Build an small Docker Cluster

Build an small Docker Cluster

When starting with Docker it mostly run on a single host to test, as soon as the amount of Docker containers grow you can split it to more hosts and even create an Docker Cluster. In this topic I will create an small cluster so all Docker machines can be controlled from one command. To make sure the Docker hosts share information I used Consul. Next to Consul we need to make the Docker daemon accessible for the network and set-up an Docker Swarm to…

Read More Read More