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.

Alarm management 609<br />

Example:<br />

// (no definition necessary)<br />

.<br />

.<br />

.<br />

// send a console notification<br />

if($CurrentTrapDevice=”Meridian1” and $NormalizedSeverity=Critical){<br />

//Print event to console<br />

send(con,"--> Critical Meridian1 alarm received!",<br />

$ErrorCode," - ", // M1 error code<br />

$CurrentPCTime," - ", // Time that PC received the alarm<br />

$CurrentTrapSource," - " , // Name of this M1<br />

$DeviceTime," - " , // Timestamp from M1<br />

$Text," - ", // Text with error message<br />

$OperatorData); // More text with error message<br />

);<br />

}<br />

This script displays the text “--> Critical Meridian1 alarm received!” followed by the<br />

values for the listed traps, which includes the error code, the current PC time, name of<br />

the M1, time when the alarm occurred, text associated with the error code, and the<br />

Operator data. Note the use of con with the send syntax in the script.<br />

Pager<br />

Alarm Notification supports both alphanumeric and numeric pagers. You define the list<br />

of paging destinations and supported functionality for each pager. Be sure you have a<br />

modem and a valid phone line connection. Messages must match the pager type: up to<br />

30 characters for alphanumeric pagers and only digits for numeric pagers.<br />

Mandatory parameters are:<br />

phone:="408-555-1212";<br />

The phone number you dial to connect to your pager service.<br />

pin:="123456";<br />

The alpha numeric pager’s PIN number, for the type “apager” only.<br />

Examples:<br />

The first example shows a script defined to call an alphanumeric pager named<br />

“my_pager” only on Monday and Thursday through Saturday, from 9:00 a.m. to<br />

5:00 p.m. The PIN and the pager service number are specified. Note that the number<br />

needed to access an external phone line (9) is included. The second example shows a<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!