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.

Appendix B: Control files included with alarm notification 901<br />

rule check_Meridian1_critical<br />

{<br />

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

{<br />

// print event to console<br />

send( con,<br />

"--> 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 />

// append event to log file<br />

send(sample_file,"--> Critical M1 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 />

}<br />

rule check_SCCS_critical<br />

{<br />

if ( $CurrentTrapDevice = "SCCS" and $NormalizedSeverity = Critical )<br />

{<br />

// print event to console<br />

send( con,<br />

"--> Critical SCCS alarm received! ",<br />

$AlarmCode," - " , // SCCS alam code<br />

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

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

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

$OperatorData // text with error message<br />

);<br />

}<br />

}<br />

// append event to log file<br />

send(sample_file,"--> Critical SCCS alarm received! ",<br />

$AlarmCode," - " , // SCCS alam code<br />

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

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

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

$OperatorData // text with error message<br />

);<br />

rule check_CallPilot_critical<br />

{<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!