I like keyboard shortcuts, actually can't get enough of them. After a life time with Eclipse, old habits die hard and I find myself re-discovering this over and over, so it's time I wrote it down. Note to self: how to assign a key combination to a VS code task. Add your task to .vscode/tasks.json, … Continue reading Assigning keyboard shortcuts to VS Code tasks
Tag: devops
cloudflared docker health check
Cloudflare's cloudflared container doesn't come with a good health check - or so it seems [1]. The functionality is there, though. The tunnel needs to be started with metrics enabled (here: exposed to 127.0.0.1:20241) and the health check needs to call the proper check. cloudflared: image: cloudflare/cloudflared:latest ... command: tunnel --metrics 127.0.0.1:20241 run healthcheck: test: … Continue reading cloudflared docker health check
A Zabbix active agent2 template for monitoring containers and container logs
The problem Zabbix (up to v7.2) doesn't seem to be able to monitor the Docker engine and containers in active mode, nor can it collected container logs, which is surprising, since it collects a wide range of container-, image- and runtime engine metrics in passive mode. The solution is a custom agent2 (I'll refer to … Continue reading A Zabbix active agent2 template for monitoring containers and container logs
