SCOM Alert Notification–Using Skype
Recently I’ve been wanting to setup SCOM notifications in my test environment that can reach me even when I’m not home.. However, I had two problem: I don’t have Lync / OCS servers in my lab and my home test lab does not have a registered domain name and so the Exchange server in the lab cannot email outside.
Since I have Skype installed on my PCs, phones and tablets, I thought it would be nice if SCOM can send me a message when a SCOM alert is raised.
In a nutshell, I installed SCOM Command Console and Skype on a computer (I’ve tried both 64-bit Windows 7 and Windows Server 2008 R2). I’ll call this computer “Skype Node” in this post. I have also copied and registered the Skype4COM.dll on the Skype Node. I also wrote a PowerShell script that runs on the Skype Node computer to retrieve alert details and send out Skype messages. I then setup SCOM command notification to execute another script on the SCOM 2007 RMS / SCOM 2012 MS, this script will use PsExec.exe to remotely execute the script on Skype Node.
I managed to get this working on both SCOM 2007 R2 and SCOM 2012. The scripts and requirements are very similar, but SCOM 2007 R2 environments requires few additional configurations.
I won’t bother to go through the details on how to set this up for either SCOM 2007 R2 or SCOM 2012. the detailed guide can be downloaded from the link at the bottom of this post.
Now, I receive Skype messages on both my computer and my mobile phone:
You can download everything you need (except Skype and SCOM itself of course) from below link. Once you’ve unzip the file, you will get:
Skype Notification Guide.pdf is the guide that you need to follow to set this up.
Skype4COM-188.8.131.52 is the version of Skype4COM I’ve used in this solution. it is the most recent version as of writing of this post.
As always, feel free to contact me if you have questions or need help. However, I’ll try my best but I may not be able to get back to you straightaway.
Have fun Skyping . Bye for now!