Written by: Stefan Koell Thursday, October 29, 2009 3:48:44 PM
This is a step-by-step guide in multiple parts:
Part 1 will cover the Probe Actions Module Types: Part 1 is available here on SCC or here on code4ward Part 2 will be about creating a Data Source Part 3 will cover creating a Monitor Type Part 4 will cover the Unit Monitor itself
As always be careful with the samples provided here. Always use a test environment first to try those examples!
Will only work with OpsMgr 2007 R2 !
The data source we create will be needed in out monitor type (which will be explained in Part 3 of this series). So far we only defined a module which is returning a property bag with our state information and a wrapped up module we use for a (diagnostic-)task later on. In the latter case, the trigger for our module will be the operator launching the task. For our monitor we need a scheduler to trigger our probe – so for this we will create a simple data source.
Change to the Data Sources node and right-click to create a New->Composite Data Source…
The ID will be: code4ward.Sample.PowerShellMonitor.DataSource.CheckFileContent Name will be: Check File Content Data Source
That’s it for part 2. The next step will be creating the monitor type.
cheers, Stefan Koell http://www.code4ward.net
1 comment(s) so far...
Re: How to create a Two-State PowerShell Script Monitor using the Authoring Console (Part 2) These are very interesting post and blog,thanks. www.pdfqueen.com
Re: How to create a Two-State PowerShell Script Monitor using the Authoring Console (Part 2)
These are very interesting post and blog,thanks. www.pdfqueen.com