Initial commit
This commit is contained in:
commit
0a36fb9729
15 changed files with 88 additions and 0 deletions
10
disarmed.d/10_log
Executable file
10
disarmed.d/10_log
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
PROM="$1"
|
||||
CODE="$2"
|
||||
DESCR="$3"
|
||||
SIA_CODE_STR="$4"
|
||||
SIA_CODE_DESCR="$5"
|
||||
DATE=`date`
|
||||
|
||||
echo "$DATE: Alarm event: $PROM $CODE: $DESCR -- $SIA_CODE_STR: $SIA_CODE_DESCR" >> "/var/log/alarm.log"
|
Loading…
Add table
Add a link
Reference in a new issue