14.12.2012 Views

Optivity Telephony Manager: System Administration - BT Business

Optivity Telephony Manager: System Administration - BT Business

Optivity Telephony Manager: System Administration - BT Business

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

592 Alarm management<br />

553-3001-330 Standard 3.00 August 2005<br />

For example, the new filename might be my_scripts.<br />

Caution: Do not work directly in the sample Scripts.txt file. This file is<br />

overwritten when OTM is reinstalled or upgraded, and any changes will<br />

be lost.<br />

2 In the Alarm Notification application, select Configuration > Run Options.<br />

The Alarm Notification Run Options dialog box opens with the General tab displayed.<br />

3 Click Control Files tab (Figure 288).<br />

4 Next to the Scripts field, click Browse.<br />

The Open dialog box appears.<br />

5 Find and select the new scripts file, and click Open.<br />

6 Use the sample script as a guide to create your own notification script file.<br />

For an example of scripts files, see “Sample alarm notification scripts” on page 633,<br />

and "Script file summary".”<br />

7 Save the file as text and close the window.<br />

End of Procedure<br />

A script includes variables, rules, notifications, functions and logical expressions that<br />

evaluate and may apply to event data. See “Scripting” on page 594. Values defined<br />

within a script are exclusive and visible only to that script. The script container is<br />

delimited by “curly” brackets {}. You can define global values that are visible to all<br />

scripts.<br />

When the Alarm Notification application starts, each script is executed in the order<br />

defined in the script file.<br />

Setting up auto-start for scripts<br />

Once the control files are defined, use the following procedure to automatically load the<br />

scripts when you start the Alarm Notification application:<br />

Procedure 117<br />

Setting up auto-start for scripts<br />

1 In the Alarm Notification application, select Configuration > Run Options.<br />

The Alarm Notification Run Options dialog box opens with the General tab displayed.<br />

2 Click Auto-start scripts on program launch box.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!