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
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
Thanks, this is very helpfull.
Points awarded.
Erik