Use this Knowledge Script to store local repository (LR) configuration information in a managed client computer. You can specify a name and value for each parameter you want to store. This script raises an event each time you run the job. The event details display information about the parameters that were set.
LR information consists of parameter values that are stored in the local repository. You can use this script to enter your own information into the local repository for use by custom or customized scripts.
This script contains the same capabilities as AppManager *_Config* scripts, except that you can write any named/value pair to the local repository as opposed to specifically named entries. You can use this script instead of the *_Config* scripts when you use the following named entries (shown with their matching *_Config* scripts):
Named Entry |
Knowledge Script |
---|---|
_NQ_PingMachine_MachineList |
Client_ConfigPingMachine |
_NQ_PingMachine_MachineFile |
Client_ConfigPingMachine |
_NQ_MachineDown_MachineList |
General_ConfigMachineDown |
_NQ_MachineDown_MachineFile |
General_ConfigMachineDown |
_NQ_LogicalDisk_DriveList |
NT_ConfigLogicalDisks |
_NQ_LogicalDisk_TH_UTIL |
NT_ConfigLogicalDisks |
_NQ_LogicalDisk_TH_FREE |
NT_ConfigLogicalDisks |
_NQ_LogicalDisk_TH_XFERS |
NT_ConfigLogicalDisks |
_NQ_LogicalDisk_TH_READS |
NT_ConfigLogicalDisks |
_NQ_LogicalDisk_TH_WRITES |
NT_ConfigLogicalDisks |
_NQ_RemoteService_MachineList |
NT_ConfigRemoteServiceDown |
_NQ_RemoteService_MachineFile |
NT_ConfigRemoteServiceDown |
_NQ_RemoteService_ServiceList |
NT_ConfigRemoteServiceDown |
_NQ_Service_ServiceList |
NT_ConfigServiceDown |
_NQ_Service_ExcludeList |
NT_ConfigServiceDown |
To remove LR information from the local repository, use the LRRemoveParameters Knowledge Script.
Windows 2003 Server or later
The default interval for this script is Run once.
Set the following parameters as needed:
Parameter |
How to Set It |
---|---|
Event Notification |
|
Raise event if LR parameters set successfully? |
Select Yes raise an event if the script is successful in setting local repository configuration information. The default is Yes. |
Event severity when LR parameters set successfully |
Set the event severity level, from 1 to 40, to indicate the importance of the event. The default is 15 (yellow event indicator). |
Event severity when job fails |
Set the event severity level, from 1 to 40, to indicate the importance of the event. The default is 5 (red event indicator). This script raises an event for unexpected script errors. For example, if a script aborts before the job starts or during the job. |
Administration |
|
Overwrite value if it already exists? |
Select Yes to overwrite a parameter value if it already exists in the AppManager agent’s local repository. The default is Yes. NOTE:This script is not case-sensitive. |
Parameter 1 ... 20 |
Provide the name and value for each parameter you want to set. Enter the parameter name without quotes. For example, to create a location parameter and set it to San Jose, under any Parameter# parameter, specify location in Name and San Jose in Value. If the location parameter already exists, by default, the value is overwritten. This script can set up to 20 specified parameters each time you run the script. |