Closed 0neTX closed 6 months ago
Hi,
How can I add the notification settings before creating the monitors?
You will have to manually create the notification either using the webui or kuma CLI, unfortunately with the current approach of autokuma it's not possible to add notifications.
Another problem I noticed is that the container adds all the static monitors defined in a loop. In other words, it continuously creates new monitors.
I can't really do much here, uptime kuma partially creates the monitor but then retuns an error... maybe I could mark "failed" monitors and exclude them in future syncs, but then ephemeral errors would result in monitors never being created...
Thanks so much for your help
I resolved it using kuma-cli as you suggest me, but I haven't found a docker image that has "kuma-cli" . I had to create it manually by compiling the Docker-cli file.
Sorry, this url https://github.com/BigBoot/AutoKuma/pkgs/container/kuma doesn't work for me.
Also I tryed to pull the docker image:
docker pull ghcr.io/bigboot/kuma
Using default tag: latest
Error response from daemon: Head "https://ghcr.io/v2/bigboot/kuma/manifests/latest": unauthorized
I couldn't found the url for the kuma image.
Oh looks like you need to set every package to public individually, good to know. Should be public now :sweat_smile:
It's working. I`ll try to use this image for the init configuration. Thanks so much for your help.
docker pull ghcr.io/bigboot/kuma
Using default tag: latest
latest: Pulling from bigboot/kuma
b0a0cf830b12: Already exists
f50fd9a1035a: Pull complete
5ab036799866: Pull complete
Digest: sha256:ec67d62b3b7de1ca2d1fec673a1053e27ce5679a23b4efcfc6e6003f906e69f9
Status: Downloaded newer image for ghcr.io/bigboot/kuma:latest
ghcr.io/bigboot/kuma:latest
Hi,
Thanks for this useful project.
I am deploying uptime-kuma and autokuma using docker compose and static monitor definition. When I start docker compose, I notice an error when adding the monitors because the notification configuration does not exist.
This is the log:
This is the docker compose:
This is the notification configuration: notification.json
How can I add the notification settings before creating the monitors?
Another problem I noticed is that the container adds all the static monitors defined in a loop. In other words, it continuously creates new monitors.
This is an example of a static monitor config:
Best Regards