11.20 RunDiscoveryNetworkDevice

Use this Knowledge Script to discover network device resources as a result of an event raised by the NetworkDevice_Device_Uptime Knowledge Script.

In the event of a network device reboot, you can set the Device_Uptime Knowledge Script to run this Action to rediscover network device resources on the rebooted device.

11.20.1 Prerequisite

NetIQ Object Linking and Embedding (NetIQOLE) must be registered on the computer on which this script runs. NetIQOLE is an automation object that allows AppManager to be run from a command-line. For more information, see the Administrator Guide for AppManager at the NetIQ AppManager Documentation Web site.

11.20.2 Setting Parameter Values

Set the following parameters as needed:

Parameter

How to Set It

View name to use for KS filter

Select the view by which you want to filter the list of Knowledge Scripts to choose from. For example, select Master to include all Knowledge Scripts.

Show Report scripts?

Set to y to include Report scripts in the list of scripts to choose from.

Show Discovery scripts?

Set to y to include Discovery scripts in the list of scripts to choose from.

Show Admin scripts?

Set to y to include Admin scripts in the list of scripts to choose from.

First KS to run

From the filtered list of Knowledge Scripts, select the first script that you want to run in response to an error. The script will run using all of the default parameter values unless you select and enter information in the Parameter to pass and Values for parameters parameters.

Parameter to pass

Select the parameters whose default values you want to change. Leave this field blank if you want to use the default values. If you select parameters in this field, you must also enter values for the Values for parameters parameter.

Values for parameters

Specify the values for the parameters that you want to change. Separate the values with a comma. For example, enter y,y,20. Leave this field blank if you leave Parameters to pass blank.

Second KS to run

From the filtered list of Knowledge Scripts, select the second script that you want to run in response to an error. The script will run using all of the default parameter values unless you select and enter information for Parameter to pass and Values for parameters.

Parameters to pass

Select the parameters whose default values you want to change. Leave this field blank if you want to use the default values. If you select parameters in this field, you must then enter values for the Values for parameters parameter.

Values for parameters

Enter the values for the parameters that you want to change. Separate the values with a comma. For example, enter y,y,20. Leave this field blank if you leave the Parameters to pass parameter blank.

Third KS to run

From the filtered list of Knowledge Scripts, select the third script that you want to run in response to an error. The script will run using all of the default parameter values unless you select and enter information for Parameter to pass and Values for parameters.

Parameters to pass

Select the parameters whose default values you want to change. Leave this field blank if you want to use the default values. If you select parameters in this field, you must also enter values for the Values for parameters parameter.

Values for parameters

Specify the values for the parameters that you want to change. Separate the values with a comma. For example, enter y,y,20. Leave this field blank if you leave Parameters to pass blank.

Use trusted connection?

Set to y to use the credentials of the netiqmc service to connect to the repository server. The default is n. If you accept the default, then you must enter a User ID and Password.

QDB Server

Specify the name of the repository server. Leave this field blank if the repository server is the local server.

User ID

Specify the user id for an un-trusted connection to the repository server. You must enter a user ID if you disable the Use trusted connection? parameter.

Password

Specify the password for an un-trusted connection to the repository server. You must enter a password if you disable the Use trusted connection? parameter.

Run this KS once

Set to y to schedule this script to run once, thereby overriding the default schedule of the scripts you have selected. If you disable this parameter, the scripts you selected will run according to the default.

Machine to run KS on

Specify the name of the server on which you want to run the scripts you selected. Leave this field blank if the server is the same as the server of the parent job that raised the event.