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 935<br />

script convertM1Severities when ($CurrentTrapDevice="Meridian1" or<br />

$CurrentTrapDevice="CALL_SERVER" or $CurrentTrapDevice="MMCS")<br />

{<br />

function convertit()<br />

{<br />

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

if ($Severity=1)<br />

{<br />

$NormalizedSeverity:=Minor;<br />

}<br />

else<br />

{<br />

if ($Severity=2)<br />

{<br />

$NormalizedSeverity:=Major;<br />

}<br />

else<br />

{<br />

if ($Severity=3)<br />

{<br />

$NormalizedSeverity:=Critical;<br />

}<br />

else<br />

{<br />

if ($Severity=4)<br />

{<br />

$NormalizedSeverity:=Unknown;<br />

}<br />

else<br />

{<br />

if ($Severity=5)<br />

{<br />

$NormalizedSeverity:=Warning;<br />

}<br />

else<br />

{<br />

if ($Severity=6)<br />

{<br />

$NormalizedSeverity:=Cleared;<br />

}<br />

else<br />

{<br />

if ($Severity=7)<br />

{<br />

$NormalizedSeverity:=Undetermined;<br />

}<br />

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