Project Description
A small Windows service written in .Net 2.0 to hook WMI MSCluster.EventResourceStateChange Events and send SMTP events when cluster resources fail or change state. Runs on Windows 2003 Servers running the MSCS Cluster Service.
Project Background
This project came about through a deeper need for immediate notification and action when resources became unavailable or restarted in an MSCS Cluster. The desire was for something simple and straightforward that would be easy to setup. Our original thought was to use SCOM to watch the clusters... We're still working out our enterprise strategy for configuring and watching information from there. Not much good for the clusters in production now. Also no good if you don't want to spend the $$ for the SCOM licenses. Enter the MSCS Watcher. The first, non-released version of this was a polling tool that pinged the clusters every minute to get status and record it in a SQL table. Although I like the "record your results to SQL" model, This really needed to be simpler, and it needed to be event driven, which is where this version comes in.
I'm proud to offer the "2.0" version of MSCS Watcher out to any in need of such a tool. This version utilized WMI events from the MSCluster WMI root to trigger cluster status scans. It does simple SMTP notifications, although look for a 3.0 sometime in the future, when I put the option for SQL back in to it. Full source code is provided with the installer, as well as an NSIS script to create the installer. Enjoy!
-Josef Nielsen