-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Notifications via RingCentral #2967
Comments
{
"text": msg
} I think just setting this in the Webhook Notification Provider would be a good starting point. Beyond that, you can get the monitor name and other info from |
I get an error that says that is not a valid JSON format. If I open the docker container's console for Uptime-Kuma, install CURL and do a curl -X POST -H "Content-Type: application/json" -d '{"text":"Hello, World!"}' https://hooks.ringcentral.com/webhook/v2/MyWebhookKey The message goes through, so I know my network is working properly. If I put the {"text":"Hello, World!"} in the additional headers, and hit test, I get a successful notification in the browser window, but nothing comes through to my incoming webhook. Looking at the logs for the Docker container all I see are host errors for when a host isn't responding to pings. I don't see anything about webhooks successfully or unsuccessfully sending. Where would I look for those errors? |
This comment was marked as off-topic.
This comment was marked as off-topic.
#3084 includes some code for how to set up a RingCentral monitor. |
🏷️ Feature Request Type
New Notification
🔖 Feature description
For the purposes of RingCentral Incoming Webhook integration, the JSON is not properly formatted in order to work with their service.
See Documentation: https://developers.ringcentral.com/guide/team-messaging/incoming-webhooks/posting
Testing the notification yields a positive result leaving Uptime-Kuma but it's rejected at the hooks.ringcentral.com URL because it's not properly formatted.
✔️ Solution
I suspect that not every webhook provider will implement in the same way I am requesting a RingCentral Notification webhook feature be added.
❓ Alternatives
I attempted to change the webhooks code itself to properly post, which worked, however since I am not familiar with all the inner workings of the project, I was only able to post static data, and not the desired notifications that are offered like heartbeat, monitor, msg...
📝 Additional Context
No response
The text was updated successfully, but these errors were encountered: