Jaa


OpsMgr: Creating a PowerShell script based monitor with Silect MP Author SP2

Silect recently released Silect MP Author SP2. This tool is targeted at the IT Pros and allows them to easily build completely new or even customize existing management packs for OpsMgr without needing XML skills.

image

In this post, I would like to briefly show how a PowerShell script based monitor can be configured with MP Author SP2, and highlight what has been fixed from the previous versions – RTM & SP1.
For more in depth information on how to create a PowerShell script based monitor using MP Author, please visit my previous blog post.
The steps to create a PowerShell script based monitor are mostly identical between the previous versions.

To create a PowerShell script based monitor with MP Author SP2:

  1. Select the Create New Script Monitor option to launch the wizard, then specific the Script name, Script body, and Script Parameters on the Specify Script Information page, before specifying the states for the script monitor.

    image

  2. Set the target and identity for the monitor. enable the monitor and specify and alerting schedule (eg. daily or periodically).

    image

  3. [FIXED] : Alert context variables will now work correctly when inserted into the Description field on the Alert Configuration page.

    image

  4. Review summary before creating the PowerShell script based monitor and import the management pack into an OpsMgr management group to test the PowerShell script based monitor created.

Test Result:

The context variables now get translated correctly in the Alert Description field.
image

image

image

        

Disclaimer:
All information on this blog is provided on an as-is basis with no warranties and for informational purposes only. Use at your own risk. The opinions and views expressed in this blog are those of the author and do not necessarily state or reflect those of my employer.