Sure, I could install Microsoft Operations Manager (Microsoft MOM). But there is the cost for the physical server, and Microsoft licensing to be considered.
So, instead I make do with the PowerShell script. It’s saved me from having several server problems becoming noticeable to the customers. (the latest example is here)
It’s crude, but it checks each of the SMS servers for:
- the server is alive, aka “pingable”.
- it’s CPU utilisation is <= 20%, and that no individual processor is running at greater than 20%.
- that the assorted SMS directories (inbox, Offersum etc.) are being processed.
If a directory has greater than x files, this may be an problem.
Curiously enough, Microsoft suggests a 10,000 file threshold. I set it at 200 files.
- enough disk space exists on the SMS package shares.
- Write each check out to a log, for availability reporting.
- Check for “older than x days” files in the SMS directories.
- Make it’s output pretty, most likely via WPF.
You can download the script, and the sample server list file here.