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.

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

}<br />

}<br />

} // end script AssignOTMSeverities<br />

// All MDECT Alarms should be Critical<br />

script AssignMDECTSeverities when ($CurrentTrapDevice = "MDECT")<br />

{<br />

function assignit()<br />

{<br />

$NormalizedSeverity := Critical;<br />

}<br />

}<br />

rule assign_severity<br />

{<br />

if ($CurrentTrapDevice = "MDECT")<br />

{<br />

assignit();<br />

}<br />

}<br />

script convertSeverities when ($CurrentTrapDevice != "OTM"<br />

and $CurrentTrapDevice != "Meridian1"<br />

and $CurrentTrapDevice != "CALL_SERVER" and $CurrentTrapDevice != "MMCS"<br />

and $CurrentTrapDevice != "MDECT")<br />

{<br />

function convertit()<br />

{<br />

//send(con, "$AlarmServerity=", $AlarmSeverity);<br />

if ($Severity=1)<br />

{<br />

$NormalizedSeverity:=Critical;<br />

}<br />

else<br />

{<br />

if ($Severity=2)<br />

{<br />

$NormalizedSeverity:=Major;<br />

}<br />

else<br />

{<br />

if ($Severity=3)<br />

{<br />

$NormalizedSeverity:=Minor;<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!