7.2 Creating a Knowledge Script Group

Create a Knowledge Script Group to configure a monitoring policy or to create a group of monitoring jobs on a particular resource. By default, a Knowledge Script Group appears in the KSG category of the Knowledge Scripts view.

In the Master management group, use the Knowledge Scripts view to browse the list of all Knowledge Scripts and to create a Knowledge Script Group. Depending on the discovered resources, the available Knowledge Script categories will vary. For example, if the management group does not include discovered SQL Server resources, the SQL Knowledge Scripts are not displayed.

To create a Knowledge Script Group:

  1. In the Enterprise Layout view of the Navigation pane, select the Knowledge Scripts view of the Master management group.

  2. In the Tasks pane, click Create New Knowledge Script Group.

  3. In the Create New Knowledge Script Group window, type a Knowledge Script Group name and description.

    NOTE:By default, AppManager prefixes the Knowledge Script Group name with KSG_, which means the Knowledge Script Group appears in the KSG category in the Knowledge Scripts view. To create the Knowledge Script Group in another category, prefix the name of the Knowledge Script Group using Category_. For example, to create a Knowledge Script Group named NT Basics in the NT category, name the Knowledge Script Group NT_NT Basics.

  4. Select an item from the Knowledge Script Type list:

    Click...

    To select Knowledge Scripts that...

    Regular

    Monitor discovered resources.

    Discovery

    Discover resources.

    Install

    Install or update AppManager agent software on a remote computer. This option allows you to install the AppManager 7.0 UNIX agent and the AppManager 6.0.2 (or earlier) Windows agent. To install the AppManager 7.0 Windows agent or later, use the agent deployment administrator. For more information, see Section 9.0, Deploying AppManager to Agent Computers.

  5. In the Available Knowledge Scripts column, select one or more Knowledge Scripts and then click Add. The Knowledge Scripts appear in the Members of the Knowledge Script Group column.

  6. To configure the properties for a member of the Knowledge Script Group, click a Knowledge Script in the Knowledge Script Group Members list and then click Properties.

  7. In the Properties window, enter properties for the Knowledge Script Group member. In many cases, you can simply use the default schedule and values. To make changes:

    Click this tab...

    To...

    Schedule

    Change the default schedule for running the job. For more information, see Section 5.3, Setting the Schedule.

    Values

    Adjust the threshold and other parameters for the job. For more information, see Section 5.4, Setting the Values to Monitor and Section 5.5, Setting Override Values.

    Actions

    Specify an action you want AppManager to take. For more information, see Section 5.6, Specifying One or More Corrective Actions.

    Advanced

    Specify whether to filter temporary event conditions and whether to collapse duplicate events for this job into a single event or automatically acknowledge them. Additionally, you can specify data collection options for this job. For more information, see Section 5.8, Setting Advanced Job Properties.

    Any changes you make only affect monitoring policies that use this Knowledge Script Group. The changes do not affect the default properties of the Knowledge Script.

  8. To close the Job Properties window, click OK.

  9. When you finish configuring the Knowledge Script Group, click OK.

7.2.1 Viewing Knowledge Script Groups in the Knowledge Scripts View

By default, a Knowledge Script Group appears in the KSG category of the Knowledge Scripts view.

7.2.2 Creating a Group of Monitoring Jobs

Use a Knowledge Script Group to create a group of monitoring jobs on a physical computer or logical server. You can group the resulting jobs together but you must configure them individually.

Note that if you are managing more than one QDB, you might see duplicate entries in the Parent Job ID column. These entries are not actually duplicates; the Enterprise Job ID ensures each job has a unique ID.

An Enterprise Job ID is a unique identifier for a job in Control Center in the same way that a Job ID is a unique identifier for a job in a QDB.

To create a group of monitoring jobs, run a Knowledge Script Group in the Jobs view or the Servers view. Note that you can run Discovery Knowledge Scripts in any management group, including a management group that is not based on the Master view.

To create a group of monitoring jobs:

  1. In the Enterprise Layout view of the Navigation pane, select the Knowledge Scripts view you want.

  2. In the view pane, browse the list to find the Knowledge Script Group you want.

  3. In the Tasks pane, click Create New job.

  4. In the Select Servers window, select the physical computers you want to monitor and click OK.

  5. To view or change the objects that a Knowledge Script monitors, click a member Knowledge Script in the list and click Objects.

  6. In the Job Properties window, a list of available objects is displayed. Expand the list objects to select (to monitor) or deselect (not monitor) an object.

  7. Click OK to close the Job Properties window.

  8. Click OK to start monitoring jobs.

    NOTE:For information about configuring the QDB preferences to set the number of times to restart a monitoring job with an Error status, see the Operator Console Help.