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

HTTP request for outage start & end #3139

Closed
1 task done
olivernz opened this issue May 10, 2023 · 6 comments
Closed
1 task done

HTTP request for outage start & end #3139

olivernz opened this issue May 10, 2023 · 6 comments
Labels
area:notifications Everything related to notifications duplicate This issue or pull request already exists feature-request Request for new features to be added

Comments

@olivernz
Copy link

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

  • I checked and didn't find similar feature request

🏷️ Feature Request Type

New Notification

🔖 Feature description

I have a Dynatrace UFO (https://www.dynatrace.com/solutions/devops/ufo/) which is basically a warning light LED for any issues that my systems have. The way it's driven is, that I can issue an API call to set the alert signal. I can imagine there are many solutions that work akin to that. But I can't control that directly in Uptime-kuma. I use a node.red setup to translate from webhook to HTTP calls. It would be nice to have this directly in Uptime-kuma without the excursion through node.red.

✔️ Solution

Have a notification service that can do a HTTP request for outage start and a different one for outage end.

❓ Alternatives

Currently going through Node.red. If anyone has a better idea I am all ears.

📝 Additional Context

No response

@olivernz olivernz added the feature-request Request for new features to be added label May 10, 2023
@abjoseph
Copy link

abjoseph commented May 16, 2023

@olivernz, it isn't quite clear what the feature request is about from the description above. Are you asking for the addition of a separate webhook event, 1 for when an outage occurs and another for when the outage ends (for any given monitor of course)?

@olivernz
Copy link
Author

olivernz commented May 16, 2023

Yes. That is the expectation. But a webhook doesn't quite work as it doesn't close the connection. I just need a normal HTTP(S) call.

At the moment I have a separate script running that listens to the webhook and sends HTTP requests for heartbeat.status depending on what it is.

@CommanderStorm
Copy link
Collaborator

CommanderStorm commented May 19, 2023

a webhook doesn't quite work as it doesn't close the connection. I just need a normal HTTP(S) call.

At the moment I have a separate script running that listens to the webhook and sends HTTP requests for heartbeat.status depending on what it is.

What do you mean exactly by not closing a connection?
Could you please share the script you wrote?

Could this be a duplicate of #2413?

@olivernz
Copy link
Author

Could be some of the issue of #2413. Basically I can't make the webhook do a GET call. But even then I would need two GET calls. One for incident start and one for incident end. In that way it differs from #2413.

@CommanderStorm
Copy link
Collaborator

This is essentially a combination of these 3 issues:

I think it would be better to close this issue in favour of the more specific issues

@CommanderStorm
Copy link
Collaborator

@olivernz
We are consolidating duplicate issues a bit to make issue management easier.
I think, we should track this issue in #1102, #3585 and #2413
⇒ I am going to close this as a duplicate.

@CommanderStorm CommanderStorm closed this as not planned Won't fix, can't repro, duplicate, stale Dec 4, 2023
@CommanderStorm CommanderStorm added duplicate This issue or pull request already exists area:notifications Everything related to notifications labels Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:notifications Everything related to notifications duplicate This issue or pull request already exists feature-request Request for new features to be added
Projects
None yet
Development

No branches or pull requests

3 participants