Aswin Coolsaet
- Notification Channel - Webhook HTTP POST
- Notification Event - site created
Use Case: So we can take some automated actions ( like on site creation event )
Feature Request: Notification Channel - Webhook HTTP POST We would be happy if ploi just does a HTTP POST to a URL chosen by us. From certain static ip's.
Rick
Since this is not available yet, I've used this hack to have the ability to use "HTTP webhooks":
Just be sure to add "chat.googleapis.com" somewhere in your Webhook URL, otherwise the validation will fail. By adding it as a GET parameter, it will in most cases not be an issue.
Looking forward for the actual implementation 🍊
Glenford Williams
tried using your method but it doesnt seem to work
Rick
I just tried it myself and this method still works. Be sure to add the string ?chat.googleapis.com
at the end of your webhook URL.
For example, if you want to have the webhook to send stuff to https://hook.eu2.make.com/s8qhkjf92njsad2na01m09
, add an additional GET parameter to work around the validation, like:
https://hook.eu2.make.com/s8qhkjf92njsad2na01m09?chat.googleapis.com
If that still does not work, try a &
instead of a ?
(&chat.googleapis.com
)
Jacob
That would be really nice!
Dennis
Merged Webhook Support in Notification Channels into this item \n\n Created by: Dennis Lindeboom \n\n Hello,
We recently started using Ploi to manage our services, and we’re very happy with the product—thank you for the great work!
We do have one feature request that would significantly help with our server monitoring. It would be extremely useful if you could add support for webhooks within the Notification Channels. This would allow us to integrate Ploi alerts with our team chat app (Cliq), so we receive real-time notifications whenever something important happens on our server.
If I may, I'd like to suggest a possible structure for the webhook payloads in JSON format.
For example, in the case of disk space threshold warnings:
{
"message": "Your server disk space has reached its threshold",
"notification_data": {
"threshold": "85%",
"type": "disk"
}
}
And for notifications related to system updates:
{
"message": "Your server has been updated",
"notification_data": {
"systems": [
{
"name": "php",
"old_version": "8.2.*",
"new_version": "8.2.5"
},
{
"name": "mysql",
"old_version": "5.7",
"new_version": "8.0"
}
]
}
}
We believe this would make your platform even more powerful and flexible for teams like ours.
Thanks again for the great service, and we hope you’ll consider this enhancement.
Best regards,
Dennis Lindeboom Mooore digital / Devops team
Notification Channel - Webhook HTTP POST
-
Dennis moved item to board Planned
1 year ago -
Aswin Coolsaet moved item to project Panel Requests
1 year ago -
Aswin Coolsaet created the item
1 year ago