Pause hearbeat checks based on PUSH status #2358
Labels
area:monitor
Everything related to monitors
feature-request
Request for new features to be added
type:enhance-existing
feature wants to enhance existing monitor
🏷️ 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
The text was updated successfully, but these errors were encountered: