SCOM: Creating a PowerShell script monitor with Silect MPAuthor

Sometimes it’s necessary to create a monitor to monitor something which is not included in the standard management packs. Unfortunately it’s not possible in SCOM  to use PowerShell to crerate a script monitor in the scom console. Although it’s not a good idea to start authoring in the operations console it sometimes can be a quick and easy way to create a monitor. Recently Silect Sofftware released a free version of MPAuthor to create your management packs. I’m using this to create my script monitors to collect and monitor the data which I use in my monitoring my home series: http://scug.be/dieter/2014/02/19/monitor-your-home-with-scom/ Download the tool here: http://www.silect.com/mp-author Below is an example of how I monitor the target temperature set on my Nest Thermostat. So open the tool and create a new management pack => Create New Script Monitor… Name the script (if you have the script somewhere as a PS1 file it will load the script body automatically. This is the script I’m using: [xml] param([int]$maxtarget) [void][system.reflection.Assembly]::LoadFrom(“C:\Program Files (x86)\MySQL\MySQL Connector...
Read More