2.7 Upgrading Knowledge Script Jobs

This release of the SNMP Toolkit might contain updated Knowledge Scripts. You can push the changes for updated scripts to running Knowledge Script jobs in one of the following ways:

  • Use the AMAdmin_UpgradeJobs Knowledge Script.

  • Use the Properties Propagation feature.

2.7.1 Running AMAdmin_UpgradeJobs

The AMAdmin_UpgradeJobs Knowledge Script can push changes to running Knowledge Script jobs. Your AppManager repository (QDB) must be at version 7.0 or later. In addition, the repository computer must have hotfix 72040 installed, or the most recent AppManager Repository hotfix. To download the hotfix, see the AppManager Suite Hotfixes page.

Upgrading jobs to use the most recent script version allows the jobs to take advantage of the latest script logic while maintaining existing parameter values for the job.

For more information, see the Help for the AMAdmin_UpgradeJobs Knowledge Script.

2.7.2 Propagating Knowledge Script Changes

You can propagate script changes to jobs that are running and to Knowledge Script Groups, including recommended Knowledge Script Groups and renamed Knowledge Scripts.

Before propagating script changes, verify that the script parameters are set to your specifications. Customized script parameters may have reverted to default parameters during the installation of the module. New parameters may need to be set appropriately for your environment or application.

You can choose to propagate only properties (specified in the Schedule and Values tabs), only the script (which is the logic of the Knowledge Script), or both. Unless you know specifically that changes affect only the script logic, you should propagate both properties and the script.

For more information about propagating Knowledge Script changes, see the “Running Monitoring Jobs” chapter of the Operator Console User Guide for AppManager.

Propagating Changes to Ad Hoc Jobs

You can propagate the properties and the logic (script) of a Knowledge Script to ad hoc jobs started by that Knowledge Script. Corresponding jobs are stopped and restarted with the Knowledge Script changes.

To propagate changes to ad hoc Knowledge Script jobs:

  1. In the Knowledge Script view, select the Knowledge Script for which you want to propagate changes.

  2. Click Properties Propagation > Ad Hoc Jobs.

  3. Select the components of the Knowledge Script that you want to propagate to associated ad hoc jobs:

    Select

    To propagate

    Script

    The logic of the Knowledge Script.

    Properties

    Values from the Knowledge Script Schedule and Values tabs, such as schedule, monitoring values, actions, and advanced options.

Propagating Changes to Knowledge Script Groups

You can propagate the properties and logic (script) of a Knowledge Script to corresponding Knowledge Script Group members.

After you propagate script changes to Knowledge Script Group members, you can propagate the updated Knowledge Script Group members to associated running jobs. For more information, see Propagating Changes to Ad Hoc Jobs.

To propagate Knowledge Script changes to Knowledge Script Groups:

  1. In the Knowledge Script view, select the Knowledge Script Group for which you want to propagate changes.

  2. On the KS menu, select Properties propagation > Ad Hoc Jobs.

  3. If you want to exclude a Knowledge Script member from properties propagation, deselect that member from the list in the Properties Propagation dialog box.

  4. Select the components of the Knowledge Script that you want to propagate to associated Knowledge Script Groups:

    Select

    To propagate

    Script

    The logic of the Knowledge Script.

    Properties

    Values from the Knowledge Script Schedule and Values tabs, including the schedule, actions, and Advanced properties.

  5. Click OK. Any monitoring jobs started by a Knowledge Script Group member are restarted with the job properties of the Knowledge Script Group member.