/
Script Section Attributes

Script Section Attributes

Every CCS script must have a Script section, which defines the devices on which the script will execute, and can contain other script features such as new variables for use by other parts of the script; a timeout period; and any possible admin login information needed by the devices for which the script runs against. Script sections are defined using the following attributes:

Attribute

Status

Purpose

UI Field

Script:

(required)

defines the script name*

Name

Script-Filter:

(required)

defines the type of devices to be processed

Script Run Now Wizard

Script-Description:

(optional)

describes the script purpose**

Description

Script-Timeout:

(optional)

define a time period for the script to wait for output

N/A

Script-Variables:

(optional)

input values when executed through the Run Now feature

N/A

Script-Login:

(optional)

True or False, default is True if not used

N/A


*These attributes are specified in fields in the Edit Script dialog. They are present as separate lines when the script is viewed in text form after exporting. If you create a script in a text editor and import it into NetMRI, these lines are transcribed into the corresponding fields in the Edit Script dialog.

**These attributes are described here for reference. If entered in a script, an error is generated when the script is saved. Use the UI to define these values. For reference, define these attributes and comment them out in the script.
The Script and Script-Filter attributes are mandatory.

Related content