mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Webhook to pause and resume a service #770
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#770
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @skirmess on GitHub (Jan 22, 2022).
⚠️ Please verify that this feature request has NOT been suggested before.
🏷️ Feature Request Type
API
🔖 Feature description
I would like to get a new webhook that can be used to pause or resume a service. The hook could look like this:
We have servers that get updated every night. It would be nice if the update script could pause kuma before shutting the server down to prevent false reports.
#191 asks for scheduled maintenance pauses, which is a great suggestion but wouldn't help us because the updates happen at random times.
✔️ Solution
A webhook to pause and resume a service.
❓ Alternatives
No response
📝 Additional Context
No response
@OckhamOdyssey commented on GitHub (Jan 21, 2023):
If an API will be requested… I will add that it shoud be able to create alerts on status pages and activate a maintenance mode.
@skirmess commented on GitHub (Jan 21, 2023):
For push type monitors you can already fail a service with the API, even with a message.
https://demo.uptime.kuma.pet:27256/api/push/umNTllgstG?status=down&message=Shit%20hit%20the%20fan@OckhamOdyssey commented on GitHub (Jan 21, 2023):
There is an API? I didn't find anything on the Wiki nor Doc page…