Notifications on program startup. Minor changes in scripts.
Notifications on program startup. Minor changes in scripts.
This commit is contained in:
20
scripts/windows/cai-watchdog.ini.template
Normal file
20
scripts/windows/cai-watchdog.ini.template
Normal file
@@ -0,0 +1,20 @@
|
||||
[main]
|
||||
check_interval = 10000
|
||||
rules_count = 2
|
||||
|
||||
[notifications]
|
||||
email = admin@server.local
|
||||
command = ./send-telegram.ps1 <message>
|
||||
service_start = true
|
||||
|
||||
[rule1]
|
||||
service = Test1
|
||||
address = http://127.0.0.1:3000/api/v1/
|
||||
email = admin@server.local
|
||||
command = ./send-telegram.ps1 <message>
|
||||
|
||||
[rule2]
|
||||
service = Test2
|
||||
address = http://127.0.0.1:3300/api/v1/
|
||||
email = admin@server.local
|
||||
command = ./send-telegram.ps1 <message>
|
||||
Reference in New Issue
Block a user