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

Basic auth label for monitors #109

Closed
DrBlury opened this issue Dec 17, 2024 · 1 comment
Closed

Basic auth label for monitors #109

DrBlury opened this issue Dec 17, 2024 · 1 comment

Comments

@DrBlury
Copy link

DrBlury commented Dec 17, 2024

I'm trying to set up autokuma labels on my services which are behind a traefik basic auth middleware.
Uptime Kuma is not so happy with this and I can add basic auth in the Uptime-Kuma UI. But in good autokuma fashion i'd love to have a monitoring user that can access all the services behind auth middlewares.
And this would need to be set somewhere. Ideally on the containers to be monitored.
Example:

      kuma.netdata.http.name: "Netdata"
      kuma.netdata.http.url: "https://netdata.mydomain.com/"
      kuma.netdata.http.basic.user: "some_username"
      kuma.netdata.http.basic.pass: "some_password"

Is this already supported and I'm missing something?
If not, consider this a feature request!

@BigBoot
Copy link
Owner

BigBoot commented Dec 17, 2024

Hi, the correct labels should be:

      kuma.netdata.http.name: "Netdata"
      kuma.netdata.http.url: "https://netdata.mydomain.com/"
      kuma.netdata.http.auth: "basic"
      kuma.netdata.http.basic_auth_user: "some_username"
      kuma.netdata.http.basic_auth_pass: "some_password"

@BigBoot BigBoot closed this as completed Jan 7, 2025
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