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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Alarm management 599<br />

You may add definitions to the Config.txt file for non-Nortel devices; however, you<br />

should not attempt to modify the definitions associated with the Nortel devices provided<br />

in this file.<br />

To view the entire contents of the Config.txt file, see “Configuration file” on page 883<br />

of "Control files included with alarm notification".”<br />

Defining devices in Devices.txt<br />

Scripts<br />

The Devices.txt file contains a list of the devices to be monitored. For each device, list<br />

the device type as it appears in the Config.txt file, followed by the IP address or host<br />

name of the device. You may also include an alias for the device. If an alias is defined<br />

for the device, the device is referenced using the specified alias in the Alarm Notification<br />

application.<br />

Examples:<br />

Meridian1 192.9.200.1<br />

CALL_PILOT sample_cp<br />

Meridian1 192.9.200.2 Toronto_11C<br />

To view the contents of the Devices.txt file, see “Devices file” on page -882 of "Control<br />

files included with alarm notification".”<br />

A script is a container for variables, rules, notifications, and functions. Anything that is<br />

defined within a script is only visible in that script. Variables, rules, notifications, and<br />

functions may also be defined outside of scripts. These are known as global definitions.<br />

Global definitions are available to be used in all scripts. If a definition with the same<br />

name as a global definition exists within a script, the script definition takes precedence<br />

over the global definition for the given script.<br />

At run time, each script is executed in the order in which it is defined.<br />

Example:<br />

script example1 {<br />

}<br />

To skip non-applicable scripts, use the “when” operator. In the following example, the<br />

code declared within example2 only executes if the incoming event is from a device<br />

that is defined as being a Meridian 1.<br />

<strong>Optivity</strong> <strong>Telephony</strong> <strong>Manager</strong> <strong>System</strong> <strong>Administration</strong>

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

Saved successfully!

Ooh no, something went wrong!