-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Monitor CDN edges where one domain has multiple IP's #1689
Comments
No one needs to monitor a domain that is on multiple servers? am I alone? |
Personally, for me, if the domain is on multiple servers and one server goes down, I would not consider the domain its self to be down as the other servers can still respond to the clients reqests. This is where you could monitor the domain as a whole as well as your seperate servers. I.e have one monitor for |
yes ... but I have lots of SSL certificates on each server, I would like to know if my admin forgot to renew a SSL on one of the edges. Your solution 1.cnd 2.cnd won't work for that scenario. |
It would be nice if it was possible specify the domain for SSL / SNI separately from the hostname or IP address to connect to. |
You can do that with the tools currently at your disposal:
|
In my case I am TCP port monitoring my ingress DNS record which has two IP addresses and when one of those goes down, Kuma will repeatedly flip between up/down state. I'd much prefer the monitor to have an option to monitor multiple IPs separately from that DNS record and report down if all or any are down (with this being a configurable option). |
About your comments
IP and HOST header can be monitored separately as stated in #1689 (comment)
We track this in
If somebody wants to improve the group monitor them via a PR our contribution guide is here
This is the current behaviour of groups. |
I think what this issue is really lacking is "How should this work" without exponentially increasing the complexity. |
An implementation that adds no extra settings could be something like this https://serverfault.com/questions/327708/how-browsers-handle-multiple-ips Essentially, resolve DNS name, if multiple IPs present, check first one, if success - check is ok. If it fails, try next IP. If a failed over IP works, could either mark it as healthy or degraded - well, that could be a setting ;). This is what browsers do under the hood, albeit slowly and sometimes the page takes forever to load but it eventually fails over. |
We use There also has been a fair bit of traffic on happy eyeballs in node. See https://github.com/nodejs/node/issues?q=is%3Aissue+happy+eyeballs+is%3Aclosed => This might be resolved when we upgrade the docker image to node v18 -> v22 |
Interesting; however, Happy Eyeballs isn't quite the same what the old fashioned failover behavior is like. Are there any node v22 dev builds available? |
As far as I read section-5.4 of |
See #4500 what bugs remain before we can publish the first beta of v2.0 |
The TLS SNI header for this request would contain an IP address which are forbidden for publicy issued TLS certs. Accordingly configured TLS servers terminate the connection with a TLS error, others will return a "random" or "default" certificate which will not match the IP either resulting in UKs Certificate expiry monitoring not working for this monitor. My reading of the OPs request is to instruct the TCP stack do connect to an IP (the missing field) and do a full TLS negotiation and HTTP request with the hostname configured. |
🏷️ Feature Request Type
UI Feature
🔖 Feature description
For my SAAS service, I've built my own CDN and I have 9 servers around the world. This allows me to serve my content fast.
I would love to use Uptime Kuma to monitor my network, but the domain monitor is missing the IP
This could be implemented very easy if the request on the server side is done via curl
Please add this feature, that's all I need and will help a lot of people
Thank you!
✔️ Solution
curl -v --resolve mydomain.com:443:xxx.xxx.xxx.xxx
❓ Alternatives
Currently I have a script that does that and notify's me about any issues, but having a nice UI would improve the beauty in my life :)
📝 Additional Context
No response
The text was updated successfully, but these errors were encountered: