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

Is it possible to show the main status of a status page on an external website? #3390

Closed
2 tasks done
veitorg opened this issue Jul 9, 2023 · 7 comments
Closed
2 tasks done

Comments

@veitorg
Copy link

veitorg commented Jul 9, 2023

⚠️ Please verify that this bug has NOT been raised before.

  • I checked and didn't find similar issue

🛡️ Security Policy

📝 Describe your problem

Hey,
I use Uptime Kuma for monitoring my network. On my main website (HTML), I would like to show the status of an entire status page in the footer. It should look like "all services operational" or something like that as it states on the top of an uptime puma status page.
Im am not to experienced with APIs, but is there a way (maybe using the API) to let my main website pull the status of a status page and display it in the footer?

I would be very grateful for any solution

📝 Error Message(s) or Log

No error, just help with implementation

🐻 Uptime-Kuma Version

latest

💻 Operating System and Arch

Ubuntu 20.04

🌐 Browser

All Browsers

🐋 Docker Version

latest

🟩 NodeJS Version

No response

@veitorg veitorg added the help label Jul 9, 2023
@pistasjis
Copy link

Look at https://status.yourdomain.xyz/api/status-page/your-status-page-name. It returns a JSON of all the added status monitors, but if you need heartbeat, look at https://status.yourdomain.xyz/api/status-page/heartbeat/your-status-page-name.

@veitorg
Copy link
Author

veitorg commented Jul 9, 2023

Look at https://status.yourdomain.xyz/api/status-page/your-status-page-name. It returns a JSON of all the added status monitors, but if you need heartbeat, look at https://status.yourdomain.xyz/api/status-page/heartbeat/your-status-page-name.

Can you please tell me what I kind of need to implement in HTML to get this into the footer just stating of all systems are operational or not. (Like large providers have it like IONOS oder so)

@CommanderStorm
Copy link
Collaborator

Can you please tell me what I kind of need to implement in HTML

Depends on what you want to implement exactly and the language you are doing it in (vue, react, svelte, vanila-js, ...)

@veitorg
Copy link
Author

veitorg commented Jul 10, 2023

Can you please tell me what I kind of need to implement in HTML

Depends on what you want to implement exactly and the language you are doing it in (vue, react, svelte, vanila-js, ...)

I do have an HTML page. For my footer, I have footer.html. I want to add a message in the footer that states the network status only in a short message like "All systems operational". Is there any HTML-Code or so that would work to pull the network status from kuma?

@chakflying
Copy link
Collaborator

Now that #2574 has been merged, you can probably just use that. (Wait for 1.23 or run master directly if you don't mind the increased risk of bugs)

@CommanderStorm CommanderStorm mentioned this issue Jul 19, 2023
2 tasks
@github-actions
Copy link

github-actions bot commented Oct 8, 2023

We are clearing up our old issues and your ticket has been open for 3 months with no activity. Remove stale label or comment or this will be closed in 2 days.

@github-actions github-actions bot added the Stale label Oct 8, 2023
@github-actions
Copy link

This issue was closed because it has been stalled for 2 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants