Event to Webhooks
-
@lonk
i think just basic one like:
-
Need reboot
-
Update available
-
Admin/Super Admin/Owner User login
-
Backup Faild
But if is something like stripe webhook that is amazing!
-
-
@moocloud_matt said in Event to Webhooks:
But if is something like stripe webhook that is amazing!
This is exactly what I was thinking. Stripe's web hook system is one of the best out there.
-
I may be stretching this feature request a bit, but I wonder if something like this could also be used for updating a status page? I currently use UptimeRobot using webhooks to create incidents in the status page hosted on Instatus which supports webhooks. Might be nice to have Cloudron effectively do that task of UptimeRobot to some degree since it already does health checks anyways, though I suppose that's not the best to rely on since if the entire server crashed then there'd be no update and only something external like UptimeRobot would notify in that case. Might be a neat use-case though still especially for anyone who wants an included service and isn't running anything absolutely critical. Just suggesting it as a possible use-case even if it has some flaws.
-
@d19dotca yes, definitely, if the status page has support for incoming webhooks.
for me, the use case is have up/down events of apps in our rocket.chat. we just have to pipe the notification stuff to a webhook, it's fairly straightforward to implement this feature.
-
@girish said in Event to Webhooks:
@d19dotca yes, definitely, if the status page has support for incoming webhooks.
for me, the use case is have up/down events of apps in our rocket.chat. we just have to pipe the notification stuff to a webhook, it's fairly straightforward to implement this feature.
For my use case I only need up and down events. But are you planning on adding a web hook for all notifications?
-
@manngobaum for now check out the notifications available via Uptime Kuma
-
@manngobaum No update, we may look into it in Cloudron 8 timeframe.
-
@girish Thanks, looking forward to it
@jdaviescoates I built something with n8n. Easy but straight forward:
https://forum.cloudron.io/topic/7139/cloudron-notifications-in-telegram -
-
Audits and base notifications are two different matters.
I think what should be prioritized are base notifications, just like the notifications view in the dashboard.
Maybe a first release could be forwarding all the notifications from the notifications view to webhooks?
-
@Lanhild I've built a simple n8n workflow that the queries the Cloudron API.
The workflow runs every 12 hours, and checks if the server needs a reboot based on the payload returned by the API.
If yes, send a notification to Mattermost.It's great, but only notifies me of necessary reboots, not manual updates notices, or other notifications going on the dashboard.
-
@Lanhild said in Event to Webhooks:
@Lanhild I've built a simple n8n workflow that the queries the Cloudron API.
Wanna share?
-