Docker container -> Unraid notification system


Recommended Posts

Hello,

 

I want to create a very simple backup manager which uses rclone docker container as the back end system, the manager will also be running inside a docker container.

 

Ideally I want the manager to be able to integrate / use Unraid's notification system. I've done a bit of poking around and the "Fix common problems" plugin does a shell execute to trigger notifications.

 

https://github.com/Squidly271/fix.common.problems/blob/ab200c258a8cd6760217e05a924842459f1f6e39/source/fix.common.problems/usr/local/emhttp/plugins/fix.common.problems/include/helpers.php#L242-L251

 

Is it possible to create an unraid plugin which exposes an unauthenticated endpoint (in this case the API will be protected with tokens) which a docker container could then call to trigger an unraid notification?

 

Or is there a better mechanism available to achieve what I want?

 

Cheers

 

Marlon

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.