Add configuration file to README

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2020-11-26 14:58:40 +01:00
parent 17f0948aeb
commit 2b5a263d48
No known key found for this signature in database
GPG key ID: FF42D23B580C89F7

View file

@ -41,6 +41,15 @@ Then reload service:
systemctl reload nagios4
```
## Configuration file
Format used is JSON with the following keys:
* `chat_id`: where to send message on Telegram
* `auth_key`: key used to authenticate on Telegram
* `host_template` (optional): path to Markdown template file used for sending host notifications
* `service_template` (optional): path to Markdown template file used for sending service notifications
## Logs
Errors logs can be set with the `--logfile` argument.