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.

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

}<br />

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

{<br />

// print event to console<br />

send( con,<br />

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

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

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

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

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

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

);<br />

}<br />

// append event to log file<br />

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

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

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

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

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

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

);<br />

rule check_CALL_SERVER_critical<br />

{<br />

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

{<br />

// print event to console<br />

send( con,<br />

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

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

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

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

$DeviceTime," - " , // Timestamp from CALL_SERVER<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 CALL_SERVER alarm received! ",<br />

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

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

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

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

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

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

);<br />

}<br />

}<br />

rule check_BCM_SRG_critical<br />

{<br />

if ( ($CurrentTrapDevice = "BCM" or $CurrentTrapDevice = "SRG") and $NormalizedSeverity<br />

= Critical )<br />

553-3001-330 Standard 3.00 August 2005

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

Saved successfully!

Ooh no, something went wrong!