Jump to content

Change

Welcome to We Got Served Forums

Welcome to We Got Served Forums, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of We Got Served Forums by signing in or creating an account.
  • Start new topics and reply to others
  • Download Windows Home Server add-ins
  • Less ads to entertain you
  • Subscribe to topics and forums to get automatic updates
  • Get your own profile and make new friends
  • Customize your experience here

Need Whs Add-In To Display Backup Status Of Each Pc


33 replies to this topic

#1
Ron Levenberg

    Newbie

  • Members
  • Pip
  • 3 posts
I would love to be able to get a daily e-mail that confirms to me that all my PCs connected to my home server have been backed up successfully and, if not, which PCs don't have current backups. It could be something like the Computers & Backups page data. I don't want to login to the server to verify this, and I certainly don't want to View Details for each PC to make sure all of yesterday's backups are good.

Does anyone know of an add-in that can provide this?

I tried Remote Notification, but it only informs of warnings and errors. Since it doesn't send messages saying an error condition (like a failed backup) has been cleared, it doesn't really meet my need.

Thanks, all!

Ron


Upgrade to a WGS Supporter Account to remove this ad.

#2
Sam Wood

    Advanced Member

  • Add-In Developer
  • PipPipPip
  • 1,793 posts
  • Gender:Male
  • Location:New Zealand
Hi Ron,

I just whipped this console app up, because I thought it was an interesting problem.

You'll need to extract both files to C:\Program Files\Windows Home Server\ and then edit the config file in Notepad to add your SMTP details. The configuration should be self-explanatory.

http://www.tentacles...tBackupNotifier

Then you can add a Scheduled Task on the server to run WhsClientBackupNotifier.exe once a day (or however often you want), and you'll get emailed the current backup status of each client (if a backup is running, you'll see that too).

Output looks like this at the moment (let me know if you want to see other details):

NYARLATHOTEP (192.168.xx.xx)
---------------------------------
Last Good Backup: 31/07/2010 2:58:01 a.m.
Last Backup Status: Complete
Current Health Status: Normal

SULACO (192.168.xx.xx)
---------------------------------
Last Good Backup: 31/07/2010 2:31:10 a.m.
Last Backup Status: Complete
Current Health Status: Normal

CTHULHU (192.168.xx.xx)
---------------------------------
Last Good Backup: 30/07/2010 8:33:03 p.m.
Last Backup Status: Cancelled
Current Health Status: Normal

DEEPONE (192.168..xx.xx)
---------------------------------
Last Good Backup: 30/07/2010 4:35:27 p.m.
Last Backup Status: Complete
Current Health Status: Normal

#3
DieHard

    Advanced Member

  • Members
  • PipPipPip
  • 134 posts
  • Gender:Male
  • Location:Montreal
It worked for me, Thanks Sam.

I also have Brent Friedman's WHSAlert.exe installed, so I added a scheduled task to display in the Console a warning that the "WHS Backup Notification has been emailed". It's a nice way of knowing that your notification app ran.

Attached thumbnail(s)

  • Attached Image: whsnotifier.PNG


#4
jerryw

    Member

  • Members
  • PipPip
  • 47 posts
Absolutely wonderful! I cannot wait to see what Sam or another decides to do with this. This adds a little piece of mind. I am always at work when my clients get backed up and I am always having to log into the console to check them, that is unless I see the nice little task tray icon when I get home. Now, I don't even have to check, if I don't want to.


Thank you, Sam!

JerryW

P.S. I think it is very refreshing to see a developer listen to a need from a user and fill that request. Truly what it is all about.

#5
Howard Frazier

    Newbie

  • Members
  • Pip
  • 2 posts
After modifying the configuration file with the details for my SMTP (google apps with custom domain), I ran the application and it coughed up this message:

Unhandled Exception: System.NotImplementedException: The method or operation is
not implemented.
at Microsoft.HomeServer.SDK.Interop.v1.WHSInfoClass.GetClientComputerInfo()
at TentacleSoftware.WhsClientBackupNotifier.Program.Main(String[] args)

Any idea the cause of this? The only configuration oddity I saw was the my SMTP provider requires TLS on the outbound server.

#6
Sam Wood

    Advanced Member

  • Add-In Developer
  • PipPipPip
  • 1,793 posts
  • Gender:Male
  • Location:New Zealand

View PostHoward Frazier, on 31 July 2010 - 05:38 PM, said:

After modifying the configuration file with the details for my SMTP (google apps with custom domain), I ran the application and it coughed up this message:

Unhandled Exception: System.NotImplementedException: The method or operation is
not implemented.
at Microsoft.HomeServer.SDK.Interop.v1.WHSInfoClass.GetClientComputerInfo()
at TentacleSoftware.WhsClientBackupNotifier.Program.Main(String[] args)

Any idea the cause of this? The only configuration oddity I saw was the my SMTP provider requires TLS on the outbound server.


Hi Howard,

TLS isn't implemented yet (I woke up last night and realised I hadn't put that in yet :) ), I'll do that soon.

The error message basically says that the app can't communicate with WHS. Are you sure you've extracted the the files to C:\Program Files\Windows Home Server\ on the server (and not on your workstation)?

#7
Sam Wood

    Advanced Member

  • Add-In Developer
  • PipPipPip
  • 1,793 posts
  • Gender:Male
  • Location:New Zealand
Judging by the number of downloads, people are finding this more useful than I expected! I'll do a bit more cleanup on the code, and add some more configuration options, and post it on http://www.tentaclesoftware.com/.

#8
Dave

    Member

  • Members
  • PipPip
  • 21 posts
Thanks Sam for this add-in....makes life easier

Dave

#9
LockwoodBrewing

    Newbie

  • Members
  • Pip
  • 8 posts

View PostSam Wood, on 31 July 2010 - 07:43 PM, said:

Hi Howard,

TLS isn't implemented yet (I woke up last night and realised I hadn't put that in yet :) ), I'll do that soon.

The error message basically says that the app can't communicate with WHS. Are you sure you've extracted the the files to C:\Program Files\Windows Home Server\ on the server (and not on your workstation)?


Wow - just saw this on the WGS main page and things it's a GREAT idea. Of course, my email service also requires TLS, so I'll be looking forward to the updated version. Thanks a ton!

#10
andrewr

    Newbie

  • Members
  • Pip
  • 4 posts
  • Gender:Male
  • Location:Sydney, Australia
Hi Sam,

Many thanks for this nifty little peice of coding.

One question if I may - where does it get it's reporting time from?? I guessing that it is reporting in UTC not local time??

For example:

SERINA (192.168.67.2)
---------------------------------
Last Good Backup: 31/07/2010 11:23:49 PM Last Backup Status: Complete Current Health Status: Normal

Now I know this machine backed up successfully this morning (01/08/2010) at 09:18am. The backups on this machine typically take around 4-5 minutes which means it finished at around 09:23am Sydney time (UTC + 10) or 11:23 pm UTC.

Have I missed a config somewhere or do you just have it reporting in UTC?

Thanks

Andrew

#11
Sam Wood

    Advanced Member

  • Add-In Developer
  • PipPipPip
  • 1,793 posts
  • Gender:Male
  • Location:New Zealand

View Postandrewr, on 01 August 2010 - 04:10 AM, said:

Hi Sam,

Many thanks for this nifty little peice of coding.

One question if I may - where does it get it's reporting time from?? I guessing that it is reporting in UTC not local time??

For example:

SERINA (192.168.67.2)
---------------------------------
Last Good Backup: 31/07/2010 11:23:49 PM Last Backup Status: Complete Current Health Status: Normal

Now I know this machine backed up successfully this morning (01/08/2010) at 09:18am. The backups on this machine typically take around 4-5 minutes which means it finished at around 09:23am Sydney time (UTC + 10) or 11:23 pm UTC.

Have I missed a config somewhere or do you just have it reporting in UTC?

Thanks

Andrew



Good spotting, Andrew.

To answer your question, the app is just displaying the time that WHS says the last successful backup occured. It looks like WHS returns that as UTC, yes. I'll add in a config variable for switching that.

SSL/TLS coming in a few minutes, just to have to do some final testing.

#12
Sam Wood

    Advanced Member

  • Add-In Developer
  • PipPipPip
  • 1,793 posts
  • Gender:Male
  • Location:New Zealand
Alright, v1.0.0.12 is ready. Grab it here: http://www.tentacles...tBackupNotifier

Changes in v1.0.0.12:

  • Added SSL/TLS support (for smtp.gmail.com)
  • Added XML documentation to config file
  • Added conversion from UTC to local time for Last Good Backup
  • Added exit codes for success and failure conditions
  • Improved error handling

Note: Make sure you overwrite your existing config file; this means you will need to re-configure your SMTP settings, but is necessary due to the configuration options that have been added.

#13
malkie

    Member

  • Members
  • PipPip
  • 32 posts

View PostSam Wood, on 01 August 2010 - 05:42 AM, said:

Alright, v1.0.0.12 is ready. Grab it here: http://www.tentacles...tBackupNotifier

Changes in v1.0.0.12:

  • Added SSL/TLS support (for smtp.gmail.com)
  • Added XML documentation to config file
  • Added conversion from UTC to local time for Last Good Backup
  • Added exit codes for success and failure conditions
  • Improved error handling

Note: Make sure you overwrite your existing config file; this means you will need to re-configure your SMTP settings, but is necessary due to the configuration options that have been added.


Awesome little add-on Sam, will save me a lot of logging into my server. Many thanks for sorting out the gmail settings too.

#14
autodrivel

    Advanced Member

  • Members
  • PipPipPip
  • 145 posts
  • Gender:Male
  • Location:United Kingdom
Hi Sam,

Any idea whether this would work with the Vail beta?

I'm trialling Add-ins so I know exactly what I need to install when Vista goes Golden.

#15
Sam Wood

    Advanced Member

  • Add-In Developer
  • PipPipPip
  • 1,793 posts
  • Gender:Male
  • Location:New Zealand

View Postautodrivel, on 01 August 2010 - 09:26 AM, said:

Any idea whether this would work with the Vail beta?


Nope, this won't work with Vail.

#16
LockwoodBrewing

    Newbie

  • Members
  • Pip
  • 8 posts
Thanks for the updated version - working like a charm.

#17
Howard Frazier

    Newbie

  • Members
  • Pip
  • 2 posts

View PostSam Wood, on 31 July 2010 - 07:43 PM, said:

Hi Howard,

TLS isn't implemented yet (I woke up last night and realised I hadn't put that in yet :) ), I'll do that soon.

The error message basically says that the app can't communicate with WHS. Are you sure you've extracted the the files to C:\Program Files\Windows Home Server\ on the server (and not on your workstation)?


Sam,

I just installed the new version and it's working fine with my gmail account. Thanks for your efforts!

Howard

#18
Etoa

    Advanced Member

  • Members
  • PipPipPip
  • 866 posts
  • Gender:Male
  • Location:Honolulu, Hawaii
Contributor
This is one of the most useful (and simple) addins ever. I would even pay money for this one. Thanks Sam!

#19
Terry (WGS)

    Owner

  • Owner
  • PipPipPip
  • 2,047 posts
  • Gender:Male
  • Location:Silverstone, UK
Contributor
Thread moved to a new forum for the add-in.

#20
dvb

    Newbie

  • Members
  • Pip
  • 9 posts
Many thanks Sam for a great piece of software, I look forward to future releases.

Just one comment I have had it installed for a week now and regularly received my emails, then all of a sudden they stopped.
The reson was that I use Lights Out to shut down my server and I had changed the time when I used my laptop so of course the scheduled task could not run.

Is there any posibility that it can be triggered by the successful completion of all backups? That way the message will be sent whilst the server is still live.

Once again many thanks

Regards
David





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users


Toggle shoutbox Shoutbox

takiyon : (12 May 2012 - 02:28 PM) Server Scripter Just Got An Update. Check The Add-In Development Thread & Let Me Know What You Think.
takiyon : (12 May 2012 - 02:27 PM) Server Scripter Just Update
Fester : (30 April 2012 - 04:45 AM) Gdatasoft Protects 5 Pc's Yet Homeserver Allow 10 Connections ?
Fester : (30 April 2012 - 04:30 AM) Is This Orbitalbackupconfig Ready For Lion Yet ?
Gordon Currie : (30 April 2012 - 03:34 AM) @myangeldust - Yes Sql Server Express Can Be Installed On Whs1. I Would Recommend 2008 R2 Over 2005.
myangeldust : (21 April 2012 - 05:04 PM) Can Sql Server Express Be Installed On Whs V1?
Shidoshi : (12 April 2012 - 04:07 AM) @omega Ra - Reset Ie 8 And Retry. That Happens Anytime Ie Is Updated To A New Full Version (Like From Ie 6 To Ie 7 And Ie 7 To Ie 8) In Win Xp
Rolatio2 : (28 March 2012 - 01:59 PM) Cleanup
Omega Ra : (16 March 2012 - 02:02 PM) Is It Possible To Connect To A Computer Through The Web Access With A Winxp Sp3 Computer? It Keeps Asking About An Activex Component, But Doesn't Give Me An Option To Download It.
dbailey75 : (13 February 2012 - 03:18 AM) I Just Got My Geek On, It Feels Good
Mightyred : (18 January 2012 - 09:27 PM) @garry - It Seems Very Pricey, Think I'll Wait For Some Reviews.....
Garry : (17 January 2012 - 02:40 PM) @mightyred - I Have Not Heard Of Anyone With A Successful Install
Garry : (17 January 2012 - 02:38 PM) @geoff - Indeed, Have A Great Time! Happy Birthday!
bobbyc : (17 January 2012 - 09:30 AM) Happy Birthday Geoff!
Mightyred : (16 January 2012 - 11:52 PM) Anyone Tried The Gdatasoft Yet? Maybe A Review On Wgs Soon?
Garry : (07 January 2012 - 10:25 PM) News Flash Whs2011 A/v: Http://www.gdatasoft...Homeserver.html
Drashna Jael... : (30 December 2011 - 06:59 PM) The Site Is Still Around, Try Http://www.asoft.be/
msprague : (30 December 2011 - 01:14 AM) What's Happened To Asoft?
Terry (WGS) : (18 December 2011 - 05:58 PM) Indeed - Many Happy Returns Dave!
bobbyc : (18 December 2011 - 09:37 AM) Happy Birthday Dave!
Resize Shouts Area

Upgrade to a WGS Supporter Account to remove this ad.