Custom scripting Quick Start

Add custom scripting for the OS agents to define scripts to run at OS agents at a defined frequency.

The feature is enabled with default values as soon as the OS agent is started. The only action to start the scripting feature is:

Create a property file under default directory (on Linux™ or UNIX™ it is install_dir/localconfig/product code/scripts_definitions, on Windows™ it is install_dir\localconfig\nt\scripts_definitions by using as an example the provided template script_property.txt.

Only two properties are required:
ATTRIBUTE_NAME
Any name used to uniquely identify the script definition inside the property file.
SCRIPT_PATH_WITH_PARMS
The fully qualified path of the script with arguments.

Not only shell scripts but also perl and other types of scripts can be used. Specify the full command to run in the SCRIPT_PATH_WITH_PARMS property.

For example, perl C:\IBM\scripts\Custom_Scripts\date.pl. In this example, make sure that the location of perl can be resolved by the agent through the PATH variable in its environment. Specify the full path where perl is installed otherwise.