CAI-Watchdog/scripts/unix/etc/cai-watchdog/cai-watchdog.conf.template
Alexander I. Chebykin f1d16093b6 Now you can run script on watchdog startup. File structure changed on *nix. Some changes in config file and scripts, please check on upgrade.
Now you can run script on watchdog startup. File structure changed on *nix. Some changes in config file and scripts, please check on upgrade.
2022-10-29 16:57:57 +03:00

26 lines
516 B
Plaintext

[main]
check_interval = 10
rules_count = 3
on_start_command = /etc/cai-watchdog/on-start
[rule1]
service = Test1
uri = http://127.0.0.1:3000/api/v1/
process =
email = admin@server.local
command = /etc/cai-watchdog/send-telegram <message>
[rule2]
service = Test2
uri = http://127.0.0.1:3300/api/v1/
process =
email = admin@server.local
command = /etc/cai-watchdog/send-telegram <message>
[rule3]
service = Apache
uri =
process = httpd
email = admin@server.local
command = /etc/cai-watchdog/send-telegram <message>