|
|
 
0 |
This is a step-by-step guide in multiple parts:
Part 1 will cover the Probe Actions Module Types: Part 1 is available on SCC or on code4ward
Part 2 will be about creating a Data Source: Part 2 is available on SCC or on code4ward
Part 3 will cover creating a Monitor Type: Part 3 is available on SCC or on code4ward
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 !
Part 4: Unit Monitor
Selecting a Target
In this demo, I will target the Root Management Server class to keep it simple. This way we do not have to go through all the steps to disable the monitor and enable it with an override, etc. Another way to find an appropriate target is to discover one. The environment we are working in, admins can configure their own monitoring by just providing some registry keys and values. This registry information is discovered, an instance of a custom class (which is hosted on a computer) will be created and most properties of this class are holding the configuration values for the monitor. My friend Tenchuu published a blog posts about PowerShell discovery: http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexID/50020/Default.aspx
Creating the Unit Monitor
That’s it. If you have any suggestions for improvement, questions or general feedback on this series, do not hesitate to contact me or leave a comment. I’ve also attached the complete management pack with this sample monitor.
cheers,
Stefan Koell
http://www.code4ward.net