Webhook to pause and resume a service #770

Open
opened 2026-02-28 01:57:24 -05:00 by deekerman · 3 comments
Owner

Originally created by @skirmess on GitHub (Jan 22, 2022).

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

  • I checked and didn't find similar feature request

🏷️ 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:

https://demo.uptime.kuma.pet:27256/api/pause/umNTllgstG
https://demo.uptime.kuma.pet:27256/api/resume/umNTllgstG

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

Originally created by @skirmess on GitHub (Jan 22, 2022). ### ⚠️ Please verify that this feature request has NOT been suggested before. - [X] I checked and didn't find similar feature request ### 🏷️ 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: ``` https://demo.uptime.kuma.pet:27256/api/pause/umNTllgstG https://demo.uptime.kuma.pet:27256/api/resume/umNTllgstG ``` 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](https://github.com/louislam/uptime-kuma/issues/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_
Author
Owner

@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.

@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.
Author
Owner

@skirmess commented on GitHub (Jan 21, 2023):

If an API will be requested… I will add that it should be able to create alerts on status pages and activate a maintenance mode.

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

@skirmess commented on GitHub (Jan 21, 2023): > If an API will be requested… I will add that it should be able to create alerts on status pages and activate a maintenance mode. 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`
Author
Owner

@OckhamOdyssey commented on GitHub (Jan 21, 2023):

For push type monitors you can already fail a service with the API, even with a message.

There is an API? I didn't find anything on the Wiki nor Doc page…

@OckhamOdyssey commented on GitHub (Jan 21, 2023): > For push type monitors you can already fail a service with the API, even with a message. There is an API? I didn't find anything on the Wiki nor Doc page…
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/uptime-kuma#770
No description provided.