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...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
(Available from AMC 09.05)
 +
 
Send message to log and to station 1 reporting communication status with slave 1, 2 and/or 3:
 
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 to the [[System log]] for slaves connected to this exchange]]
 
[[File:Monitoring Multimodule 1.PNG|left|thumb|500px|Example 1: Send Module status to the [[System log]] for slaves connected to this exchange]]
 
<br style="clear:both;" />
 
<br style="clear:both;" />
 
+
{{Code2|
 +
IF %op(%sev,<nowiki>=</nowiki>,66)
 +
LOG "Communication %chg(UP,DOWN): Slave 1"
 +
MST 1 0 "Slave 1 %chg(UP,DOWN)"
 +
STOP
 +
ENDIF
 +
IF %op(%sev,<nowiki>=</nowiki>,67)
 +
LOG "Communication %chg(UP,DOWN): Slave 2"
 +
MST 1 0 "Slave 2 %chg(UP,DOWN)"
 +
STOP
 +
ENDIF
 +
IF %op(%sev,<nowiki>=</nowiki>,68)
 +
LOG "Communication %chg(UP,DOWN): Slave 3"
 +
MST 1 0 "Slave 3 %chg(UP,DOWN)"
 +
STOP
 +
ENDIF
 +
}}
  
 
[[Category: AlphaCom Monitoring]]
 
[[Category: AlphaCom Monitoring]]

Latest revision as of 15:37, 2 June 2022

(Available from AMC 09.05)

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


Action commands:

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