Actions

Difference between revisions of "Monitoring: MultiModule"

From Zenitel Wiki

(Created page with "Send message to log and to station 1 reporting communication status with slave 1, 2 and/or 3: [[File:Monitoring Multimodule 1.PNG|left|thumb|500px|Example 1: Send Module status t...")
 
Line 3: Line 3:
 
<br style="clear:both;" />
 
<br style="clear:both;" />
  
 +
IF %op(%sev,=,66)
 +
LOG "Communication %chg(UP,DOWN): Slave 1"
 +
MST 1 0 "Slave 1 %chg(UP,DOWN)"
 +
STOP
 +
ENDIF
 +
IF %op(%sev,=,67)
 +
LOG "Communication %chg(UP,DOWN): Slave 2"
 +
MST 1 0 "Slave 2 %chg(UP,DOWN)"
 +
STOP
 +
ENDIF
 +
IF %op(%sev,=,68)
 +
LOG "Communication %chg(UP,DOWN): Slave 3"
 +
MST 1 0 "Slave 3 %chg(UP,DOWN)"
 +
STOP
 +
ENDIF
  
 
[[Category: AlphaCom Monitoring]]
 
[[Category: AlphaCom Monitoring]]

Revision as of 14:34, 27 August 2013

Send message to log and to station 1 reporting communication status with slave 1, 2 and/or 3:

Example 1: Send Module status to the System log for slaves connected to this exchange


IF %op(%sev,=,66)
LOG "Communication %chg(UP,DOWN): Slave 1"
MST 1 0 "Slave 1 %chg(UP,DOWN)"
STOP
ENDIF
IF %op(%sev,=,67)
LOG "Communication %chg(UP,DOWN): Slave 2"
MST 1 0 "Slave 2 %chg(UP,DOWN)"
STOP
ENDIF
IF %op(%sev,=,68)
LOG "Communication %chg(UP,DOWN): Slave 3"
MST 1 0 "Slave 3 %chg(UP,DOWN)"
STOP
ENDIF