Pause hearbeat checks based on PUSH status #1593

Open
opened 2026-02-28 02:26:30 -05:00 by deekerman · 1 comment
Owner

Originally created by @KongGal on GitHub (Nov 28, 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

add a push for all monitor types that allow you to control the monitors.
i guess it would pretty much be a PUSH control module where it gives you a Push URL and it have some boxes where you can define status messages it should monitor for and what it should do

Message1 = Stop heartbeat checks / Pause
Message2 = Start heartbeat checks / Resume

✔️ Solution

in my case i have a PUSH monitor that check every 60 sec but the server I'm checking have a 35 min downtime period every day where the server restarts with a pipeline script in Jenkins and it takes about 30 min in total from server stops to it starts again and being able to add in a Webhook event before it stops the server with a status message in the push URL that's connected to a event in the monitor that would pause the checks and again a Webook event when it done restarting that would have another status message in the URL that would be connected to an event on the monitor that will resume it again
such as
https://uptime/api/push/vX?status=Stop&msg=OK would pause the monitor
https://uptime/api/push/vX?status=Start&msg=OK would Start the monitor

Alternatives

No response

📝 Additional Context

No response

Originally created by @KongGal on GitHub (Nov 28, 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 add a push for all monitor types that allow you to control the monitors. i guess it would pretty much be a PUSH control module where it gives you a Push URL and it have some boxes where you can define status messages it should monitor for and what it should do Message1 = Stop heartbeat checks / Pause Message2 = Start heartbeat checks / Resume ### ✔️ Solution in my case i have a PUSH monitor that check every 60 sec but the server I'm checking have a 35 min downtime period every day where the server restarts with a pipeline script in Jenkins and it takes about 30 min in total from server stops to it starts again and being able to add in a Webhook event before it stops the server with a status message in the push URL that's connected to a event in the monitor that would pause the checks and again a Webook event when it done restarting that would have another status message in the URL that would be connected to an event on the monitor that will resume it again such as https://uptime/api/push/vX?status=Stop&msg=OK would pause the monitor https://uptime/api/push/vX?status=Start&msg=OK would Start the monitor ### ❓ Alternatives _No response_ ### 📝 Additional Context _No response_
Author
Owner

@CommanderStorm commented on GitHub (Dec 13, 2023):

@KongGal
I think what you are really requesting is to pause a monitor based on an api call.
I think this can be merged into #118 / resovled by #3854

@CommanderStorm commented on GitHub (Dec 13, 2023): @KongGal I think what you are really requesting is to pause a monitor based on an api call. I think this can be merged into #118 / resovled by #3854
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#1593
No description provided.