Monitor on existing regkey
Home  » Monitor on existing regkey

Monitor on existing regkey
Posted: Tue, Mar 09, 2010 7:09 AM :: Rank: 0
Author
Points: 180
Level: System Center Hero

Hi,

 

I'd like to monitor a group of servers on an existing regkey and alert if the regkey doesn't exist.

 

Steps I took:

 

I created a new management pack with the authoring console.

I choose template "Windows application (Registry)"

Filled in the fields name and description

Object type:key

Name : PS

Path:HKLM\Software\PS\Version

Attribute type: Check if exists

Next I create an expression filter:

Value/PS Equals True

 

I'm not sure what to do next.

Is it possible te create a rule which collects the information and generate an alert?

Or do I have to create a custom monitor ?

I'm stuck on this part.

 

Thanks

 

 

   Report Abuse
RE: Monitor on existing regkey
Posted: Tue, Mar 09, 2010 7:18 AM :: Rank: 1
Author
Points: 28999
Level: System Center Expert

I think you are working towards discovering a custom application based on a registry key instead of monitoring something in the registry.

Have a look at this page: http://www.systemcentercentral.com/BlogDetails/tabid/143/IndexID/19269/Default.aspx

You may be interested in the Script: Registry Value Check for use in a 2-state monitor in OpsMgr 2007 (http://www.systemcentercentral.com/Downloads/DownloadsDetails/tabid/144/IndexId/12773/Default.aspx)
With some minor tweaks, the script above will do what you want.

If you need help setting up a script monitor, have a look at this link: http://www.systemcentercentral.com/Downloads/DownloadsDetails/tabid/144/IndexID/7362/Default.aspx

Hope this helps.

cheers,
Stefan
http://www.code4ward.net

Accepted Answer
   Report Abuse
RE: Monitor on existing regkey
Posted: Tue, Mar 09, 2010 7:54 AM :: Rank: 0
Author
Points: 180
Level: System Center Hero

Thanks, this is very helpfull.

Points awarded.

Erik

 

   Report Abuse
Re: Monitor on existing regkey
Posted: Mon, Mar 29, 2010 6:39 AM :: Rank: 0
Author
Points: 1017
Level: System Center Specialist
Very helpfull indeed, especially as I'm not a born scripting guy myself, Thanks
   Report Abuse

Home  » Monitor on existing regkey
Top Contributors
Featured Members
Pete Zerger
Points: 65442
Level: System Center Expert
Tommy Gunn
Points: 42712
Level: System Center Expert
Simon Skinner
Points: 40744
Level: System Center Expert
Stefan Koell
Points: 28999
Level: System Center Expert
Andreas Zuckerhut
Points: 27434
Level: System Center Expert