A few weeks ago, Sam Wood highlighted a new feature that Microsoft has included in Power Pack 3 to expose the state of various components of your server.
Microsoft are using the this feature to generate the content to Windows Media Center’s new Home Server Console View, and I thought it would be useful to expose these to my iPhone so I can follow up on any messages that are generated from Alex Kuretz Remote Notification Add-In.
Several hours later and I had a pretty simple app that renders the pages well on an iPhone or iPod Touch display and lets me see the status of various components of my server. Once I was reasonably happy with the concept I passed the link to Alex and we both started bouncing ideas around and WHS Health was born. So the project grew from a couple of web pages for personal use, to a full Add-In that we are releasing to the community today. There is a similar Add-In available already, P80 that has more functionality but I found it too much effort to drive on my iPhone or Touch.
If you followed Sam’s article, or want to see what the raw XML data looks like for your server then open http://HPSERVER:55000/health/health.xml in your browser (replace HPSERVER with your server name). Some useful data, but not well presented!
The code below is the <Storage> section and you’ll see something similar if you look on your own page. With a little bit of HTML work, and the excellent UiUIKit we turn the following XML code.
From this :-
<Storage> <StorageInfo StorageType="SharedFolders" Description="Shared folders" Used="753434158213" /> <StorageInfo StorageType="Duplication" Description="Duplication" Used="691847901413" /> <StorageInfo StorageType="PCBackup" Description="PC backup" Used="201377464320" /> <StorageInfo StorageType="System" Description="System" Used="41599220374" /> <StorageInfo StorageType="FreeSpace" Description="Free space" Used="812258889728" /> </Storage>
To this. Maybe a slight improvement!
A couple of other screenshots to give you an idea of what to expect. The console one was the important one for me and will show you any Warnings or Critical errors on your server (other than ones you have set to ignore in the console). It will also show the state of the Backup Service.
Finally, there is a Settings Tab in the Windows Home Server console that will allow you to set WHS Health to secure access only (i.e. you have to logon with an account you have allowed Remote Access) and also to update the Home and Remote logon pages with a link to WHS Health.