Examine Unexpected Changes In Your /etc/hosts File

Updating hosts file is super easy! Any sed, echo, vim command will work.

You’re perfectly safe, if all changes only come from the automation. And your code is bug-free.

But in the reality, you might have surprises. Especially when people might change it manually.

My Suggestion? Before making any changes, confirm all customizations are expected. If not, abort the changes with proper alerting.

Update /etc/hosts With Everything Expected


Continue reading

Get Alerts, When Containers Run Into Issues

I’m running docker containers for all side projects. Usually one single container. Sometimes multiple containers started by docker-compose[1].

If containers get issues, I want to get alerts.
What a typical monitoring requirement! But if you do some research, you will find the information is just overwhelming. cAdvisor, Prometheus, InfluxDB, etc. Excuse me? Can’t we have a simple solution for this simple requirement? Here is my answer. Try it and discuss with me.

Get Alerts, When Containers Run Into Issues


Continue reading