1 min read

Netdata | what a FREE tool! [DEMO]

Monitor your containers with netdata
Netdata | what a FREE tool! [DEMO]

Goal

I'm using Netdata to monitor my containers health, in live mode and with alerts.

Setup

The only thing you need is to add the netdata service in your docker-compose.

  netdata:
    image: titpetric/netdata:latest
    cap_add:
      - SYS_PTRACE
    volumes:
      - /proc:/host/proc:ro
      - /sys:/host/sys:ro
    environment:
      NETDATA_PORT: 9007
    ports:
      - 9007:9007  

My environment

Have a look for example to cpu, memory and disk usage of my  "blogyuri_ghost_1" container.

ID of my container.

And this is the Netdata dashboard once "blogyuri_ghost_1"  container is selected (look on the purple container on the right menu).

Security

In order to have Netdata and other utils over internet you need a security management.

Considering that i'm using an EC2 instance on AWS (?) a manage it using security group feature.

I have exposed the netdata port only to my IP.

Netdata demo

Tweets by YBacciarini