Scripts identify processing scenarios or treatments that can be applied to customer interactions. For example, an Alarm Reaction Script specifies how to react when an Alarm Condition is triggered.
For more information about Scripts, refer to the Management Layer User's Guide or to the documentation specific to your product.
The Scripts list shows the Scripts that are in your environment. It is sorted in a hierarchy by tenants, configuration units, sites, and folders. To view objects by a particular hierarchy, select the hierarchy type in the drop-down menu above the list.
Configuration Manager respects tenancy permission settings. You can access only those objects that you have been granted permissions and privileges to access.
You can filter the contents of this list in two ways:
- Type the name or partial name of an object in the Quick Filter field.
- Click the cube icon to open the Tenant Directory filter panel. In this panel, click the Tenant that you want to select. Use the Quick Filter field in this panel to filter the Tenant list.
You can sort the items in the list by clicking a column head. Clicking a column head a second time reverses the sort order. You can add or remove columns by clicking Select Columns.
To select or de-select multiple objects at once, click Select.
To create a new Script object, click New. To view or edit details of an existing object, click the name of the object, or click the check box beside an object and click Edit. To delete one or more objects, click the check box beside the object(s) in the list and click Delete. You can also delete individual objects by clicking on the object and then clicking Delete. When you delete a Script, it is removed from the Configuration Database and from the Alarm Condition with which it is associated. Otherwise, click More to perform the following tasks:
- Clone—Copy a Script.
- Move To—Move a Script to another hierarchical structure.
- Enable or disable Scripts.
- Create a folder, configuration unit, or site. See Object Hierarchy for more information.
Creating Script Objects
Choose one of the following script types to learn more:
Alarm Detection Scripts
Alarm Detection Scripts identify what system variables the Management Layer must monitor to trigger an alarm.
The system variables that the Management Layer can monitor (also called advanced alarm detection parameters) include:
- Host System Variable Threshold—Enables you to specify the value for an irregular change that might occur over a certain interval, in either CPU or memory use, on a given host.
- Application System Variable Threshold—Enables you to specify the value for an irregular change that might occur over a certain interval in either an application's CPU or memory use.
- Local SNMP Variable Threshold—Enables you to specify the value for an irregular change that might occur over a certain interval in any SNMP variable retrieved from the Genesys MIB file.
- Remote SNMP Variable Threshold—Enables you to specify the value for an irregular change that might occur over a certain interval in any SNMP variable retrieved from a non-Genesys MIB file.
Alarm Reaction Scripts
Alarm Reaction Scripts identify what the Management Layer must do when alarms occur in, or are cleared from, the system.
The Management Layer supports the following types of Alarm Reaction Scripts:
- Shutdown of a specified application.
- Startup of a specified application.
- Restart of the application that reported the alarm.
- Startup of a specified solution.
- Sending an email message with information about the alarm to specified Internet addresses. You can customize the email with specific details about the alarm.
- Switchover of operations from the application that reported the alarm to its backup application, for applications running in primary mode, backup mode, or regardless of the mode.
- Sending an SNMP trap with detailed information about the alarm to a general-purpose network management system.
- Execution of an operating system command.
- Changing a configuration option value for the specified application or for the application that reported the alarm.