My MVP Profile

Monday, March 19, 2007

Returning Resultant Set of Rules in Ops Mgr 2007

Question: How do I return a resultant set of rules currently running on an agent managed machine in Ops Mgr 2007?

Answer: Create a custom State View targeted at the Agent class to expose the Health Service Task menu with the appropriate task, as follows

To setup the custom State view:

  1. Launch the Operations Console. Select the Monitoring Pane.
  2. In the Navigation pane, right click the Monitoring node and select New --> State View
  3. In the Properties dialogue, enter 'Agent View' in the Name field.
  4. On the Criteria tab, under 'Show data related to:', click the ... button.
  5. From the 'Select a Target Type' window, select Agent. Click OK to save.

    Now in the Navigation pane, you should see the new state view named 'Agent View' you just created.

To return the resultant set of rules for a given agent.

  1. In the Navigation pane, click on the 'Agent View' you just created.
  2. In the Results pane (top center), right click the agent you'd like to query.
  3. From the context menu, select Health Service Tasks --> Show running rules and monitors for this Health Service.

Click here for menu screenshot

After a few seconds, the results will be returned in the open task window. The output is xml, but as you scroll through the rules, you'll have a good idea of what they translate to.

Click here for screenshot of task output

Hope this helps.

Ops Mgr and SCE RTM are just around the corner. Check back for announcements from MMS as they happen!

Comments on "Returning Resultant Set of Rules in Ops Mgr 2007"

 

post a comment links to this post