Monitoring: MultiModule: Difference between revisions
From Zenitel Wiki
No edit summary |
No edit summary |
||
| (One intermediate revision 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,=,66) | IF %op(%sev,<nowiki>=</nowiki>,66) | ||
LOG "Communication %chg(UP,DOWN): Slave 1" | LOG "Communication %chg(UP,DOWN): Slave 1" | ||
MST 1 0 "Slave 1 %chg(UP,DOWN)" | MST 1 0 "Slave 1 %chg(UP,DOWN)" | ||
STOP | STOP | ||
ENDIF | ENDIF | ||
IF %op(%sev,=,67) | IF %op(%sev,<nowiki>=</nowiki>,67) | ||
LOG "Communication %chg(UP,DOWN): Slave 2" | LOG "Communication %chg(UP,DOWN): Slave 2" | ||
MST 1 0 "Slave 2 %chg(UP,DOWN)" | MST 1 0 "Slave 2 %chg(UP,DOWN)" | ||
STOP | STOP | ||
ENDIF | ENDIF | ||
IF %op(%sev,=,68) | IF %op(%sev,<nowiki>=</nowiki>,68) | ||
LOG "Communication %chg(UP,DOWN): Slave 3" | LOG "Communication %chg(UP,DOWN): Slave 3" | ||
MST 1 0 "Slave 3 %chg(UP,DOWN)" | MST 1 0 "Slave 3 %chg(UP,DOWN)" | ||
STOP | STOP | ||
ENDIF | ENDIF | ||
}} | |||
[[Category: AlphaCom Monitoring]] | [[Category: AlphaCom Monitoring]] | ||
Latest revision as of 14: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
