Functionality vs Frustration
Once of the things I liked about Synology is that for the most part it just works. I like Synology’s simplified interface, but to be honest in the case of notifications I find that Synology’s clean simple interface without any help or default settings that would work is pretty much useless, and worse, frustrating! This is a key difference between Apple’s out of box experience and that of Synology where you have to do a lot more setup to get it to work.
If anyone from Synology is reading this please consider adding some basic working defaults in the setup so that users can get going with a couple of presets. It would be great if Synology notifications included default SMS and Email service settings for the common mobile and email providers.
Imagine if a user could just turn notifications “on” and add their mobile and email addresses and have it work! You would be ahead of your competitors, and would have turned a checklist feature into an actual benefit instead of having me blog about it.
Okay, off my soap box.
Here is how you setup Notifications for folks using USA mobile phones and either Apple’s MobileMe, Gmail or Yahoo email address. Please feel free to comment on what works for you.
Setting up Notifications:
This post was done using Synology’s DSM 3.1 release back in May 2011, I added a section titled “Setting up Push Service Notifications to your Mobile device” that is a new feature in Synology’s DSM 4 update.You can set up Email or SMS text message notifications to let you know about error and status changes to your Synology NAS as they happen. It’s better to get a warning that a hard drive is degraded or the UPS is disconnected while you can still do something about it. If you don’t use notifications, then you’ll need to be good about checking the system log from time to time (Main Menu > System Information) for reported problems.
You can get to the Notification’s control panel by logging into your NAS and going to: Main Menu (arrow upper left corner) > Control Panel > Notification and entering your SMS and Email info (the details are below).
A complete list of the kinds of Synology NAS notifications you’ll get can be found here. Unfortunately I haven’t found any method for choosing which of the 66 email or 24 SMS notifications you want to receive. It appears to be an all or nothing kind of thing. Thankfully most of the notifications are the serious kinds of things you need to know about, but a couple of them like “Download Station’s download task complete” will probably get annoying.
Setting up Email Notifications:
Email notifications – Synology supports email service providers that use SMTP (Simple Mail Transfer Protocol). You can use Synology’s own Mail Station as your own email service provider, but most of us like to use email from Google, Yahoo or Apple. To use another email service provider you will need to find out if they support SMTP (as opposed to POP or IMAP) and what settings they use (server address, port number and if SSL/TLS is required).
In the Subject prefix field add something like “Synology Alert: ” to help make your email message stand out in your inbox. Use the “Send a test email” button and check your email inbox to make sure it is working.
Here’s what your test email will say.
Subject: “your NAS’s name” – Synology DiskStation to user@email.address
Text: Dear User,
Congratulations! You have successfully set up the email notification on “NAS Name.”
For further system configurations, please visit http://10.0.1.18:5000/.
(If you cannot connect to the server, please contact the administrator.)Sincerely,
Synology DiskStation
Here are the setup details for SMTP setting up Email notifications with Gmail, Yahoo and Apple’s MobileMe:
Gmail Users:
SMTP server: smtp.gmail.com
SMTP port: 465
– check the box “Secure connection (SSL/TLS) is required.
– check Authentication required, add your username@gmail.com and your email password.
– Primary email: username@gmail.com
Yahoo Users:
SMTP server: smtp.mail.yahoo.com
SMTP port: 465
– check the box “Secure connection (SSL/TLS) is required.
– check Authentication required, add your username@yahoo.com and your email password.
– Primary email: username@yahoo.com
Apple Mobile Me.com Users:
SMTP server: smtp.me.com
SMTP port: 587
– check the box “Secure connection (SSL/TLS) is required.
– check Authentication required, add your username@me.com and your email password.
– Primary email: username@me.com
Setting up SMS Notifications:
SMS Notifications – SMS setup requires a 3rd party SMS service provider which usually charges for sending text messages. I have not setup this service yet since I can’t find a free way to do this from the SMS tab. I did find Peter Stothers blog posting on how to setup Clickatell to handle SMS messaging here. This feature is a PAIN to setup and I found it easier to just follow the workaround I list below (the tradeoff/benefit is that you will get all 66 notification types, instead of just the 24 that SMS is restricted to).
Unlike Synology’s SMS setup, this is a free work around where you can use email notifications to send a SMS text message to your mobile phone’s SMS service thru your email. Read below for more.
Finding your mobile phone’s SMS email address:
SMS Text Message workaround is to use your phone’s SMS Email address and enter it in the email notification tab. Your phone carrier will translate the email and send your phone the SMS message (and bill you according to your text messaging plan). Make sure you list your email service provider as the primary email address so that you can use the SMTP email gateway to send out the SMS message to your phone.
For AT&T mobile customers see the example below.
Enter your AT&T cell phone number as 10digits@txt.att.net as the secondary email address. Your entry should NOT have any dash lines, just your 10 digit phone number 2125551212@txt.att.net
Once you try a test you should see the message come thru in a few minutes. One annoying thing is that the phone carriers break the message into 140/160 characters so the test message comes across in 3 parts. If you don’t have an unlimited SMS plan then this might become expensive for you.
If you use a different carrier here is what I could find to use as your cell phone’s SMS email address, but if you can let me know if it worked for you.
AT&T: 0123456789@txt.att.net [VERIFIED]
Sprint: 0123456789@messaging.sprintpcs.com
T-Mobile: 0123456789@tmomail.net [VERIFIED]
Verizon: 0123456789@vtext.com
Clicking on “Test Message” will send this SMS message to your iPhone:
I have no idea why the time stamp is 3 hours and 10 minutes from the past, but the whole formatting comes across a bit wonky, but if you haven’t already sync’d your NAS to Apple’s Time server now is a good time to do it (it would be great if Synology shipped DSM with a defaults for several time servers, including Apple’s for those of us that have our Macs already set to it).
Setting up Push Service Notifications to your Mobile device:
This section added April 2012I hate hacking old blog posts with new info, but this is such a cool feature I had to do it.
If you are running the new Disk Station Manager 4 your Control Panel – Notification has a 3rd choice called Push Services.
Simply select the box “Enable mobile device notifications” and you’ll get your NAS notification on your smart phone from the DS finder app. Just make sure on your iPhone that your settings allow Synology “DS Finder” app to notify you. This is a very cool DSM update Synology!
Also worth noting is that the advanced tab in DSM4’s notifications now allows you to customize what notifications you want to receive. I don’t see one for power failure where the NAS shuts down gracefully via the UPS backup, but maybe it works under the category of improper shutdown. If someone tries it before me let us know.
Setting your Synology NAS to sync to a Time Server:
Main Menu > Control Panel > Regional Options, On the Time Tab, select “Synchronize with a NTP server” Set frequency to whatever you like, set “Network Time Server” to: “time.apple.com” or any other time server that you prefer (but it is probably best to make sure your Macs, PCs and NAS all share the same Time Server to keep your logs in sync).
Viewing Notifications:
Beyond getting notifications via SMS or Email you can also find notifications in the following 3 ways.
- Beeping. Incessant beeping from your Synology NAS means something has gone wrong, like a failed hard drive. Your Synology normally beeps once at startup and once at shutdown, Fortunately DSM 3.1 has an option for turning on/off notification beeps. Main Menu > Control Panel > Power > Beep Control Tab. You have beep choices for Beep when fan malfunctions, when volume crashes, when system power on and when system powers off. Turning off on/off beeps is useful if you keep your NAS in a sleeping area and use a power schedule that would otherwise wake you.
- Notifications that pop up in the upper right hand corner when you log into your Synology. DSM 3.1 shows notification alerts as well as a blue exclamation !that you can click on to view important notifications.
- Viewing the System log. Goto Main Menu (flipped down arrow in upper left corner) > System Information (blue italic !) and choose the last tab “Log” to see all the various logs that your NAS keeps track of. Items with a red X are important notifications that you should pay attention to.
Some additional gotchas regarding notifications:
If your NAS, router and modem are not all on your UPS battery backup system you might not get your email or SMS notification until after power is restored. This is something of an irony if you didn’t set your NAS to auto restart after power failure and you manually re-power it back on to then get your notification after the fact! Avoid my head smacker and test your UPS setup ahead of time. you can read more about setting up your uninterruptible power supply (UPS) for your NAS in my previous post found here.
To set your NAS to auto restart goto Main Menu (upper left corner arrow) > Control Panel > Power > General Settings, check the box that says, “Restart automatically after a power failure.”
In testing notifications and UPS backup I did find out one distressing thing. Synology DiskStation Manager (DSM) 3.1 doesn’t seem to seem to have a notification for letting you know it is running on UPS battery power, or that it is going to do a safe mode shutdown because the UPS has asked it to do so. You won’t get any notification at all that your power failed, that the NAS safely shutdown because of it, and that it restarted once power was restored. How do I know this? I tested it twice in writing this post and the one on how to setup your UPS. Having Synology add these notifications in a future Disk Station Manager version would seem prudent (I tested this scenario under DSM 3.1 in May 2011).
Other ways of monitoring your NAS
Setting up notifications and logging in to your NAS to view logs is not the only method you can use to monitor your NAS. Synology DSM also supports SNMP (Simple Network Management Protocol).
This is something that most IT guys have setup to keep track of servers and other IP devices from a central computer using a SNMP monitoring program like Cacti (donations, Windows/Linux) or Lithium ($229 Mac and iOS). These programs will allow you to keep tabs on your NAS’s traffic, disk usage, and memory usage. It will not be able to track many of the Synology specific notifications, but it does give the ability to track and record usage over time (pretty charts of activity, disk usage, etc.).
To turn on SNMP goto Main Menu > Control Panel > SNMP
Community name default is public, but you should use whatever community name is already setup for your business or organization. Name, Location and Email are optional, but very helpful if an IT guy needs to find out where this device is physically located and who is the owner of it!
Richard Anter
June 5, 2011
From your screen cap, did port 25 work for your GMail notifications? I had no luck with it. It wasn’t until I used port 587 that I started receiving notifications.
Richard
June 14, 2011
your the dude, cheers
Funny I followed googles guide for SMTP says to not use port 25
But as your guide says port 25 works fine
macsynology
April 16, 2012
You and Google are correct. I’ve update the post with the correct SMTP port. Thanks for posting.
Tangram11
July 9, 2011
Nice post and thankyou for the screenshots. It has helped me confirm that I have been generally doing the right thing. For some reason I am not receiving any notifications (test or otherwise) to my gmail account and I am using the same settings as you. I have not yet found any transaction logs to show me the smtp transaction and where the failure might be.
I agree regarding the need for standard default settings via the wizard. A nice one would be “Great big hard drive that looks like a single directory that everyone on the network can access with full permission.” 🙂
However other than these things, I am super impressed with my Synology 1511+. I am having a much greater peace of mind for all our personal data on the home network.
Tangram11
July 9, 2011
Ok, I found the answer to my problem. The settings in your screenshot are incorrect for sending notifications directly to a gmail account.
For a SSL/TLS transaction, the PORT should be set to 587
see: http://forum.synology.com/enu/viewtopic.php?f=19&t=35291&p=141431&hilit=gmail+notifications+setup+mailstation#p141431
Hope this is useful to you and others.
Cheers,
T.
schseb
July 19, 2011
Hello,
nice blog for a new user of a DS411+.
For the smtp.gmail.com, it seems that it’s now a port 465 and not 25.
At least, 465 NOW and for me, but confirmed in many other website 🙂
So now, EMAIL OK.. I need to move on SMS with my broker 😦
regards
CB
August 8, 2011
Great info. FYI in your example for gmail you have port 25 with the option of “Secure connection (SSL/TLS) is required.” However you have to change this to port 587 for a secure connection else the server refuses the connection.
Good info nonetheless!
FreeLancer75
August 12, 2011
Thank you for a good article. I appreciate the information regarding the SMS setup and another important reason for investing in a UPS.
Hans
October 1, 2011
Quick correction, gmail port is 587.
Cheers!
macsynology
April 16, 2012
Hmm… Others have said 465. Thanks for sharing your fix. Anyone else having issues?
The good thing is that DSM4 has new mobile notifications. So if you use their smart phone apps be sure to setup notifications directly to your mobile bypassing email or SMS.
Mike
October 31, 2011
Thanks for the helpful post. FYI, when I set up notifications for my Gmail account using your instructions, the test message never came through, so I checked out Gmail’s config page (https://mail.google.com/support/bin/answer.py?answer=13287). Since I’m using SSL (and your instructions parallel that), it appears that the correct outgoing port is 465, not 25. When I changed that in my DSM setup, the test message went out right away.
macsynology
April 15, 2012
Thanks for the updated Gmail settings. I’ll make the change. You make the world a better place for all of us Gmail Synology users! At some point I’ll have to blog about DSM4’s new iOS messaging support. It’s nice to see that Synology realizes that SMS is dying and that sending status alerts to our mobile phones via their apps is the right way to go.
Randy
November 4, 2011
Thank you for a great post and website.
Jimminy Cricket
December 23, 2011
Good tips, but I found that the Gmail configuration did not work with port 25. Only after changing to port 465 did it function properly.
macsynology
April 16, 2012
Thanks! Fixed.
Junda Ong
February 20, 2012
Setting up SMS notification using Clickatell/Hoiio SMS API: http://bit.ly/wPXmdx
PikeEye
February 28, 2012
Thanks for writing this. It was extremely useful !
Smitty
April 18, 2012
Great site, it guided me through everything I needed
SC
May 3, 2012
Thank you! I have been trying and failing at getting my DS209j working properly for two years until I found your post. Now my NAS is doing everything I want and more. Thanks!
macsynology
June 27, 2012
Cool! Thanks for the nice comment. I too feel that I’ve been at this for awhile and haven’t made as much progress as I’ve wanted. It is the wild west and the possibilites are huge, but so is the work. You are a true pioneer! This blog is more like the wood sidewalks dusty frontier towns would put in when they were ready to settle down and be civilized!
Randy Dunn
July 14, 2012
Very well written article. I wish it helped me with my issues. It appears I can’t make any kind of outbound connection for email, sms or push. I get the message that my attempt failed to connect to Synology’s service servers. Any suggestions?
macsynology
July 28, 2012
Check with Synology support. My first inclination is that you’ve got FireWall issues around the Synology being able to communicate.
Jake
October 11, 2012
Excellent write-up. Don’t hesitate to “hack” an old blog post again. The bit about the push notifications was great info. Thanks.
Jason Cooke
October 14, 2012
Good Work and Thanks for posting this sorted Mobile Notification and Email! Synology should write you a big check for posting this. They need to hire someone who is not technical and can write good English to simplify the whole process their literature is shocking. I just love spending my weekend faffing about guessing what to do. Not!
Still not sorted Skype though, when I test it sends notifications to DS finder but not to Skype.
macsynology
October 26, 2012
Agreed. Synology would be smart to hire a few authors and evangelists to take their great work and have it be better used by the masses. Too many features and too few documentation or good examples on why you need it.
Andrei
October 27, 2013
If you’re having trouble with setting up notifications via Gmail, check the system log. You account might have application-specific passwords enabled, so you’ll have to go into your Gmail account and generate a one-time password for DSM.
joegarlickjoegarlick
January 12, 2014
Heya, I found this was not working for gmail for me (no test emails coming through) but I have two-step authentication set up with gmail so this caused a problem. I then followed this information and it fixed it – in short I had to generate an application specific password: http://forum.synology.com/enu/viewtopic.php?f=19&t=68229