Initial commit

This commit is contained in:
polyfloyd 2025-04-06 12:47:07 +02:00
commit 0a36fb9729
15 changed files with 88 additions and 0 deletions

10
armed.d/10_log Executable file
View 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"