- Create yml file with configs. What docker container we should check
- docker logs container_name --tail 1000 for example
- Read logs and find by regexp special error and critical logs
- Set up UPD client and send alerts on UDP server
containers:
- name: test
regexp: "[CRITICAL]"
- name: mysql
regexp: "[ERROR]"