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

What's the health-check api url for uptime kuma? #4831

Closed
2 tasks done
SuperCorks opened this issue Jun 6, 2024 · 1 comment
Closed
2 tasks done

What's the health-check api url for uptime kuma? #4831

SuperCorks opened this issue Jun 6, 2024 · 1 comment
Labels
area:deployment related to how uptime kuma can be deployed help

Comments

@SuperCorks
Copy link

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

  • I checked and didn't find similar issue

🛡️ Security Policy

📝 Describe your problem

I've deployed uptime kuma on google cloud run and I want to monitor the health of the uptime kuma service. I need a health-check api endpoint. I assume uptime kuma has one. What is it?

📝 Error Message(s) or Log

No response

🐻 Uptime-Kuma Version

1.23.13

💻 Operating System and Arch

Ubuntu

🌐 Browser

Chrome

🖥️ Deployment Environment

N/A

@SuperCorks SuperCorks added the help label Jun 6, 2024
@CommanderStorm CommanderStorm added the area:deployment related to how uptime kuma can be deployed label Jun 6, 2024
@CommanderStorm
Copy link
Collaborator

First off all, we don't have an api currently. See #118 for further details and the current plan.

We currently have the following healthcheck configured in our docker file (please use this one)

HEALTHCHECK --interval=60s --timeout=30s --start-period=180s --retries=5 CMD extra/healthcheck

This is the code that will get execute by said command
https://github.com/louislam/uptime-kuma/blob/master/extra/healthcheck.go

=> http.Get(protocol + "://" + hostname + ":" + port)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:deployment related to how uptime kuma can be deployed help
Projects
None yet
Development

No branches or pull requests

2 participants