The container image of Ayd alive monitoring tool. This image includes Ayd and plugins for SMB probe, email alert, and slack alert.
There is 3 variants of the base images.
latest
,alpine
: Balanced variant. This is tiny but you can use shell.scratch
: Minimal variant. You can use this if you won't use shell.ubuntu
: Large variant. You can useapt
command for adding command that you want.
The container image has merged into Ayd repository. This repository is no longer maintained.
Below example is checking http://your-service.example.com
every 10 minutes.
$ docker run -p 9000:9000 macrat/ayd 10m https://your-service.example.com
You can see status page on http://localhost:9000/
Please see Ayd project page for more information.
This container write log to /var/log/ayd/ayd.log
.
This log is also works as database to restore state when restart.
$ docker run -p 9000:9000 -v ./ayd.log:/var/log/ayd/ayd.log macrat/ayd $YOUR_TARGETS
$ docker run -p 9000:9000 \
-e "smtp_server=$YOUR_SMTP_SERVER" \
-e "smtp_username=$YOUR_SMTP_USERNAME" \
-e "smtp_password=$YOUR_SMTP_PASSWORD" \
macrat/ayd -a mailto:your-email@example.com $YOUR_TARGETS
seealso: ayd-mailto-alert
$ docker run -p 9000:9000 \
-e "slack_webhook_url=$YOUR_SLACK_WEBHOOK_URL" \
macrat/ayd -a slack: $YOUR_TARGETS
seealso: ayd-slack-alert