In case of Digital or Analog input variation is possible to activate alarms.
Example: send an e-mail if Digital Input 1 becomes ON.
[19:06:49] ABILIS_CPX:d p alarm
RES:Alarm --------------------------------------------------------------------- Run DESCR:Alarms_manager LOG:NO ACT:YES fifo-size:100 MAIL-FROM:SYS (AbilisCPX<AbilisCPX@abilis>) MAIL-RCPT:# MAIL-BODY:STANDARD SMS-SENDER:CP-PI SMS-CDO:# [19:06:49] ABILIS_CPX:a alarm id:2 enabled:yes res:gpio-1 action:mail io:d-in-1 trigger:on mail-rcpt:alarms@mydomain.com
COMMAND EXECUTED [19:32:28] ABILIS_CPX:d alarm id:2
------------------------------------------------------------------------------- ID: |[DESCR:] |ENABLED:|RES: |IO: |TRIGGER: |ACTION: |MAIL-RCPT: |MAIL-RCPT-LIST: |MAIL-BODY: |SMS-CDO: |DISA-USER: |DISA-SERVICE: |DISA-CDO: |DISA-CGO: ------------------------------------------------------------------------------- 2 YES Gpio-1 D-IN-1 ON MAIL - MAIL ------------------------------------------------------------------- alarms@mydomain.com # SYS -------------------------------------------------------------------------------
Corresponding command for MFIO:
[19:06:49] ABILIS_CPX:a alarm id:2 enabled:yes res:mfio action:mail io:d-in-1 trigger:on mail-rcpt:alarms@mydomain.com
COMMAND EXECUTED [19:32:28] ABILIS_CPX:d alarm id:2
------------------------------------------------------------------------------- ID: |[DESCR:] |ENABLED:|RES: |IO: |TRIGGER: |ACTION: |MAIL-RCPT: |MAIL-RCPT-LIST: |MAIL-BODY: |SMS-CDO: |DISA-USER: |DISA-SERVICE: |DISA-CDO: |DISA-CGO: ------------------------------------------------------------------------------- 2 YES Mfio D-IN-1 ON MAIL - MAIL ------------------------------------------------------------------- alarms@mydomain.com # SYS -------------------------------------------------------------------------------
To see the help online use the following command:
[19:06:49] ABILIS_CPX:a alarm id:2 res:gpio-1 action:mail ? trigger: io:
Alarm management rule parameter(s):
TRIGGER: Alarm/event to be monitored [NONE, TRAP, ALARM-ON, ALARM-OFF,
ALARM-*, ON, OFF, LOW, NORMAL, HIGH, *]
TRAP : allowed only for ACTION not equal to DISA-CB.
TRAP, ALARM-ON, ALARM-OFF : allowed only for IO equal to #.
ON, OFF, * : allowed only for Digital lines.
LOW, NORMAL, HIGH, * : allowed only for Analog lines.
IO: Input/output line for which the alarm/event is monitored. # or
- for Gpio: D-IN-n or D-OUT-n, where 'n' can be [1..16, *] or
A-IN-n, where 'n' can be [1..8, *];
- for Mfio: D-IN-n or D-OUT-n, where 'n' can be [1..7, *];
- for Rio : D-IN-n or D-OUT-n, where 'n' can be [1..16, *] or
A-IN-n or A-OUT-n, where 'n' can be [1..8, *];
- for Rvs : D-IN-n or D-OUT-n, where 'n' can be [1..4, *].
<Only for Gpio/MfIo/Rio/Rvs resources>
Tip | |
---|---|
Others informations about Alarm resource are available in the Section 35.1, “ALARM resource”. |
Tip | |
---|---|
Interesting chapters: |
In case of Digital or Analog input/output variation is possible to activate alarms.
Example: send an e-mail if Digital Output 2 becomes ON on RVS device.
[19:06:49] ABILIS_CPX:d p alarm
RES:Alarm --------------------------------------------------------------------- Run DESCR:Alarms_manager LOG:NO ACT:YES fifo-size:100 MAIL-FROM:SYS (AbilisCPX<AbilisCPX@abilis>) MAIL-RCPT:# MAIL-BODY:STANDARD SMS-SENDER:CP-PI SMS-CDO:# [14:53:28] ABILIS_CPX:a alarm id:7 enabled:yes res:rvs-1 action:mail io:d-out-1 trigger:on mail-rcpt:alarms@mydomain.com
COMMAND EXECUTED [14:53:35] ABILIS_CPX:d alarm id:7
- Not Saved (SAVE CONF), Not Refreshed (INIT) --------------------------------- ------------------------------------------------------------------------------- ID: |[DESCR:] |ENABLED:|RES: |IO: |TRIGGER: |ACTION: |MAIL-RCPT: |MAIL-RCPT-LIST: |MAIL-BODY: |SMS-CDO: |DISA-USER: |DISA-SERVICE: |DISA-CDO: |DISA-CGO: ------------------------------------------------------------------------------- 7 YES Rvs-1 D-OUT-1 ON MAIL - Mail ------------------------------------------------------------------- alarms@mydomain.com # SYS -------------------------------------------------------------------------------
Note | |
---|---|
Initialize alarm rules and save the configuration with init alarm and save conf. |
Corresponding command for RIO:
[14:56:56] ABILIS_CPX:a alarm id:7 enabled:yes res:rio-1 action:mail io:d-out-1 trigger:on mail-rcpt:alarms@mydomain.com
COMMAND EXECUTED [14:57:05] ABILIS_CPX:d alarm id:7
- Not Saved (SAVE CONF), Not Refreshed (INIT) --------------------------------- ------------------------------------------------------------------------------- ID: |[DESCR:] |ENABLED:|RES: |IO: |TRIGGER: |ACTION: |MAIL-RCPT: |MAIL-RCPT-LIST: |MAIL-BODY: |SMS-CDO: |DISA-USER: |DISA-SERVICE: |DISA-CDO: |DISA-CGO: ------------------------------------------------------------------------------- 7 YES Rio-1 D-OUT-1 ON MAIL - Mail ------------------------------------------------------------------- alarms@mydomain.com # SYS
Note | |
---|---|
Initialize alarm rules and save the configuration with init alarm and save conf. |
To see the help online use the following command:
[19:06:49] ABILIS_CPX:a alarm id:7 ? trigger: io:
Alarm management rule parameter(s):
TRIGGER: Alarm/event to be monitored [NONE, TRAP, ALARM-ON, ALARM-OFF,
ALARM-*, ON, OFF, LOW, NORMAL, HIGH, *]
TRAP : allowed only for ACTION not equal to DISA-CB.
TRAP, ALARM-ON, ALARM-OFF : allowed only for IO equal to #.
ON, OFF, * : allowed only for Digital lines.
LOW, NORMAL, HIGH, * : allowed only for Analog lines.
IO: Input/output line for which the alarm/event is monitored. # or
- for Gpio: D-IN-n or D-OUT-n, where 'n' can be [1..16, *] or
A-IN-n, where 'n' can be [1..8, *];
- for Mfio: D-IN-n or D-OUT-n, where 'n' can be [1..7, *];
- for Rio : D-IN-n or D-OUT-n, where 'n' can be [1..16, *] or
A-IN-n or A-OUT-n, where 'n' can be [1..8, *];
- for Rvs : D-IN-n or D-OUT-n, where 'n' can be [1..4, *].
<Only for Gpio/MfIo/Rio/Rvs resources>
Tip | |
---|---|
Other information about Alarm resource are available in the Section 35.1, “ALARM resource”. |
Tip | |
---|---|
Interesting chapters: |