Actions

Monitoring: MultiModule

From Zenitel Wiki

Revision as of 14:34, 27 August 2013 by Roarl (talk)

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