Smartmontools on Windows – emailing warnings



For years I’ve been using smartmontools on my linux-based machines. What I’ve absolutely LOVED about it is the advance notice I’ve had of hard drive failures. Two consecutive Decembers I received an email from my server claiming that a drive was dying and had time to replace them rescuing the data. (Although the first one was falling to pieces as I copied.) If I had not know until I NOTICED a problem I would have likely lost a good amount of data and had a long rebuild process from various backups.


One of my LONG standing frustrations with Windows is the lack of useful command line tools (including the ability to email from the command interface which, to me, is CRUCIAL when scripting.) But on studying the smartmontools documentation I found reference to blat blat is a simple command line emailer for windows. You install it to the path (Windowssystem32 is a good choice), then from the cli can install it to use a default mail server and sending address and then you’re in business. All that’s needed then for your windows boxes to email smartmontools distress calls is to edit the smartd configuration file to do routine tests, add the -m option and address to mail to (you can also have a message box popup too).. Then install and start the smartd service and you’ll hopefully have a bit earlier warning on those hard drive failures.

Sometimes drives fail quickly, but if you can have a 12 hour heads up that might be the difference between a quick and easy drive cloning and a long and tedious rebuild.

Related Posts

Blog Traffic Exchange Related Posts
  • Windows Run commands reference One of the frustrating things about windows is having to wander through X number of menus looking for a specific item that you KNOW is there, but just can't quite find. If ONLY you remembered the command name for it, but the RUN commands are sometimes quite a bit different......
  • Windows lost administrator password rundown.... I've done one or two mentions in the past of ways to recover/reset lost windows passwords and thought it was probably time for another "brain dump/web research dump" of things that I've run across. This is not just for lost administrator passwords, but could apply to a lost user account......
  • Windows 98 and the upcoming daylight savings time change Of course, you shouldn't be using Windows 98 anymore, it's unsupported (i.e. no security updates.) However the reality is that there are quite a few Win 98 installs out there perking away. But, with the recent law change with regards to the start/end of Daylight savings time in the US.........
Blog Traffic Exchange Related Websites
  • Mozilla Thunderbird: Free Email Software Whilst web-based email services like hotmail and googlemail are great for personal use, they only enable you to access one email account at a time. If you want to download all your emails from various accounts into one place (like many small businesses do) , you need software installed......
  • How to Install Window Boxes Window boxes add charm to any home and they are so easy to install that anyone can do it. You're going to need to get a few things together before you get started. Your tools will include: window box brackets a level that is longer than the window box you......
  • Create A Web Presence Through Web Hosting Services The world wide web has brought about many changes in our lives. It brought many changes to our society as well.  It seems the whole world has been minimized by the internet. Our businesses, lifestyles, shopping, advertising and entertainment has gone web based and because of this, the need to......
www.pdf24.org    Send article as PDF   

Similar Posts


See what happened this day in history from either BBC Wikipedia
Search:
Keywords:
Amazon Logo

Comments are closed.


Switch to our mobile site