Merge pull request 'Configuration file teplate updated' (#2) from v1 into master

Reviewed-on: https://www.cainet.info/git/cai/CAI-Watchdog/pulls/2
This commit is contained in:
Alexander I. Chebykin 2022-06-27 00:26:21 +03:00
commit 30a556f8f0

View File

@ -2,8 +2,12 @@
check_interval = 10000 check_interval = 10000
rules_count = 2 rules_count = 2
[rule1] [rule1]
service = Test1
address = http://127.0.0.1:3000/api/v1/ address = http://127.0.0.1:3000/api/v1/
email = admin@server.local email = admin@server.local
command = ./send-telegram.ps1 <message>
[rule2] [rule2]
service = Test2
address = http://127.0.0.1:3300/api/v1/ address = http://127.0.0.1:3300/api/v1/
email = admin@server.local email = admin@server.local
command = ./send-telegram.ps1 <message>