Activity Monitor is a project aiming to monitor computer metrics with:
- Docker & Docker-Compose
- ELK stack (6.5)
A python script send metrics (JSON format) to a Kafka Topic. Then Logstash will modify the event and ship it to the Elasticsearch instance that will index it. Once events are indexed, it is possible to visualise them with the Kibana UI.
Activity monitor requires Docker, Docker-compose and Python 3.
Launch the stack with the build option:
$ docker-compose up --build
Launch the metrics crawler:
$ cd ./scripts $ python3 computer_info.py
Shutdown the application:
$ docker-compose down
Want to monitor your own metrics?
The Python script
computer_info.py uses the psutil library. You can custom the metrics adding new values to the dictionnary activity.