Receive notifcations from Synology and forward them to the notifcation service of your choice
- Slack
Settings are supplied by setting envrionment variables
API_KEY
: A minum of 32 character api key that Synology server needs to use to auth to this services apiLISTEN_PORT
: Default8080
. The port the service will listen on
SLACK_WEBHOOK
: URL for the Slack web hook
export API_KEY='LO45UXS%amLAWJn6CwJ1koaXW&7pY9#Z'
export SLACK_WEBHOOK='https://slack.com/myWebHookUrl'
./synology-notifications
listening on port 8080
docker run -e API_KEY='LO45UXS%amLAWJn6CwJ1koaXW&7pY9#Z' -e SLACK_WEBHOOK='https://slack.com/myWebHookUrl' ryancurrah/synology-notifications:latest
listening on port 8080
- Login to Diskstation
- Go to
Control Pannel
>Notification
>SMS
- Check
Enable SMS Notifcations
- Click
Add SMS Provider
to create a new SMS provider which will be thesynology-notifications
service. (NOTE: We will not actually be usingSMS
)- Provider Name:
synology-notifications
- SMS URL:
http://<ip address of synology-notifications service>:8080
- HTTP Method:
POST
- Provider Name:
- Click
Add
and set theParameter
toapi_key
and leave Value empty then clickNext
- Click
Add
and set theParamater
tophone_number
and leave Value empty (NOTE: Synology requires this field to exist even though were not going to use it) - Click
Add
and set theParamater
tomessage
set the Value toHello world
(Synology requires a sample value) and clickNext
- Set the type of the
api_key
Parameter toAPI Key
- Set the type of the
phone_number
Parameter toPhone Number
- Set the type of the
message
Parameter toMessage content
and clickApply
- Select
synology-notifications
from theSMS service provider
dropdown - In the
API Key
field paste the API Key you choose for the service and clickApply
- Test the notifcation service by clicking
Send a test SMS message