Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Auto-Deleting Monitors #29

Closed
reedhaffner opened this issue Apr 18, 2024 · 1 comment
Closed

Disable Auto-Deleting Monitors #29

reedhaffner opened this issue Apr 18, 2024 · 1 comment

Comments

@reedhaffner
Copy link

reedhaffner commented Apr 18, 2024

I had some unexpected behavior when trying to test out my alerting.

I have AutoKuma adding a very basic Docker container monitor, with just the docker_container, docker_host, and docker.name being set.

I went to a container tagged to be pulled into UptimeKuma and I ran docker compose down to cause the monitor to see it as down. However, when I ran the down command, AutoKuma immediately removed the monitor from UptimeKuma.

I'm not sure if this is expected due to the container labels being removed. I think it would be great to have a boolean setting to disable auto-removing monitors, and only run create and update.

@BigBoot
Copy link
Owner

BigBoot commented Apr 27, 2024

This can now be configured using the on_delete config

@BigBoot BigBoot closed this as completed Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants