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

Allow the public URL to differ from the monitoring URL #2507

Open
1 task done
chizutan5 opened this issue Dec 29, 2022 · 14 comments · May be fixed by #5435
Open
1 task done

Allow the public URL to differ from the monitoring URL #2507

chizutan5 opened this issue Dec 29, 2022 · 14 comments · May be fixed by #5435
Labels
area:notifications Everything related to notifications area:status-page Everything related to the status page feature-request Request for new features to be added

Comments

@chizutan5
Copy link

chizutan5 commented Dec 29, 2022

⚠️ Please verify that this feature request has NOT been suggested before.

  • I checked and didn't find similar feature request

🏷️ Feature Request Type

UI Feature

🔖 Feature description

I can't find any similar requests, but please close if they exist. In the comments of #1885 it is proposed with similar reasoning, but only after the issue has been closed

Can the links shown on the status page (when you enable them next to a service) be different to the links used for a http check?

I am using uptime-kuma to report on the status of my fediverse pages, and so I use https://site.tld/nodeinfo/2.1.json to check the instance is actually working, instead of pinging the base site, but this is not the link I want to allow people to click on the status page because the UI is shown at https://site.tld but the nodeinfo path is for a json file.

I would like to be able to set the link when people click the service on the status page to https://site.tld/ or even https://site2.tld/, while still checking https://site.tld/nodeinfo/2.1.json in the back end.

This could also extend to allowing a URL to be configured for when you are using IP , port or DNS monitors for example, where they otherwise have no option.

✔️ Solution

Allow the links on the status page for http to differ from the monitoring url, either by configuring it in the status page, or the dashboard, perhaps a "Monitoring URL" and a "Display URL", or the status page settings can allow you to change the clickable URL.

❓ Alternatives

I don't think there's an alternative for this.

📝 Additional Context

No response

@chizutan5 chizutan5 added the feature-request Request for new features to be added label Dec 29, 2022
@chizutan5 chizutan5 changed the title Allow the Allow the status page clickable URL to differ from the monitoring URL Dec 29, 2022
@jflattery
Copy link

Potential use cases:

  • Create an HTTPS monitor for https://www.github.com but make the clickable link take you to https://www.githubstatus.com
  • Create an HTTPS monitor for https://www.icloud.com/ but make the clickable link take you to https://www.apple.com/support/systemstatus/

@appletalk
Copy link

appletalk commented Feb 23, 2023

Often I want to set the monitoring url to example.com/health or some service specific health status page that intended for monitoring.
However it would be nice if the the clickable url could direct to a different page, such as the main site.

@icsy7867
Copy link

icsy7867 commented May 15, 2023

Several atlassian and gitlab services, I am hitting an API to make sure the internal status items are loading (Instead of just getting a SAML/SSO page on the HTTP request).

I would love it so I could make these a link where an end user click it, and it goes to the actual service, not the API endpoint.

@mpkayeuk-ikea
Copy link

It would be extremely useful if this were also available for groups, so that a clickable link can be provided against group monitors.

@lbarnett83
Copy link

lbarnett83 commented Nov 8, 2023

It would be extremely useful if this were also available for groups, so that a clickable link can be provided against group monitors.

I was about to submit the same request before I found this request.

My use case is a server with about 50 containers, and I have them organized into groups displayed on my main status page, and would like the group name to be a link to another status page showing the individual services in the group.

@CommanderStorm CommanderStorm added the area:status-page Everything related to the status page label Dec 3, 2023
@Corban-Lee
Copy link

Corban-Lee commented Dec 6, 2023

I have some services locked behind Authentik on the public URL, and have linked my services to Uptime Kuma using the internal IP and port to get accurate results.

The downside is that the clickable URL option is now off the table, as it shares the internal URL. Being able to change this would be HUGE, and really appreciated!

@CommanderStorm CommanderStorm added the area:notifications Everything related to notifications label Dec 19, 2023
@CommanderStorm CommanderStorm changed the title Allow the status page clickable URL to differ from the monitoring URL Allow the public URL to differ from the monitoring URL Dec 19, 2023
@hiagodotme
Copy link

hiagodotme commented Dec 28, 2023

My use case is that I have a lot of monitors. So with the groups feature, I could create a status page with just the groups as a service and when clicking it would take me to the status page with the services of that group.

@ghost

This comment was marked as duplicate.

@afonsoc12

This comment was marked as spam.

@troycarpenter
Copy link

My use case is that I have a lot of monitors. So with the groups feature, I could create a status page with just the groups as a service and when clicking it would take me to the status page with the services of that group.

Here's a BIG workaround for you based on how I understand the implementation described. I just tested this:

  1. Create your new group status page. Copy the URL.
  2. Create a new HTTP monitor. Put in the URL for your new status page from step 1. Name the monitor the group name you want. Save it and verify it's monitoring that URL.
  3. Change the monitor type from HTTP to Group.
  4. Now add your other monitors to the group.
  5. Add this new group to a status page and enable the URL. It will use the status page URL from step 1.

The trick is that once you put in the URL for the http/s monitor, it will use it in the status page link even when you change the monitor type from http/s to group.

It's pretty static. I can't imagine a way to change the URL once you've converted the monitor to a group.

@CommanderStorm
Copy link
Collaborator

CommanderStorm commented Feb 26, 2024

That is a pretty creative abuse of said bug.
The reason this exists/"works" is that the monitoring data is not wiped on switching to another monitoring type and the frontend likely ony checks that the url exists.

@Ionys320
Copy link
Contributor

Can work on it. Just a question: is it okay if the link is monitor-related or does it need to be depending of each status page?

@Ionys320
Copy link
Contributor

Also @CommanderStorm, is it okay if I create this feature for UK 1.X ?

@CommanderStorm
Copy link
Collaborator

We won't add features to 1.x.
Only critical bugs or security issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:notifications Everything related to notifications area:status-page Everything related to the status page feature-request Request for new features to be added
Projects
None yet
Development

Successfully merging a pull request may close this issue.