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

Pause hearbeat checks based on PUSH status #2358

Open
1 task done
KongGal opened this issue Nov 28, 2022 · 1 comment · May be fixed by #3854
Open
1 task done

Pause hearbeat checks based on PUSH status #2358

KongGal opened this issue Nov 28, 2022 · 1 comment · May be fixed by #3854
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

Comments

@KongGal
Copy link

KongGal commented 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

@KongGal KongGal added the feature-request Request for new features to be added label Nov 28, 2022
@CommanderStorm CommanderStorm added area:monitor Everything related to monitors type:enhance-existing feature wants to enhance existing monitor labels Dec 7, 2023
@CommanderStorm
Copy link
Collaborator

@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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants