-
Notifications
You must be signed in to change notification settings - Fork 15
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
docker.docker.docker_host sample #80
Comments
It appears that the value should be the ID from the rows in the When setting up AUTOKUMA__DOCKER__HOSTS collection, it would be nice to create these hosts in Kuma, then when scanning for labels maybe pair the values with |
Yes, as of now that's the intended behavior. The same problem also exists for notification providers. You can use the kuma CLI to set them up or get the internal ids. I cannot create them automatically because there is no way identify them later (i.e. I use the autokuma tag value to associate a monitor with the corresponding container labels, but for notifications or docker hosts I can't add any kind of metadata), I guess I could just use the Name... That said I don't think creating hosts from AUTOKUMA__DOCKER__HOSTS would be a good idea, as there's no guarantee that uptime-kuma and autokuma use the same way to access hosts. |
The |
I'm closing this in favor of #81 to better keep track of the current status. |
Could you please document what's expected to be put in the docker_host property of the docker monitor. I'm trying to monitor multiple hosts (one on-machine with sockets, others via tcp). When I use
kuma.container.docker.docker_host: tcp://192.168.100.212:20001
I get an error:The text was updated successfully, but these errors were encountered: