Completed mddclient

This commit is contained in:
Daniele Verducci (Slimpenguin)
2022-06-01 07:45:19 +02:00
parent c05a6717e4
commit 8317a99826
6 changed files with 205 additions and 43 deletions

View File

@@ -50,7 +50,7 @@ chmod +x /usr/local/bin/healthcheck.py
```
Edit `/usr/local/etc/healthcheck.cfg` enabling the checks you need and configuring email settings.
Run `/usr/local/bin/healthcheck.py /usr/local/etc/healthcheck.cfg` to check it is working. If needed, change the config to make a check fail and see if the notification mail is delivered. If you need to do some testing without spamming emails, run with the parameter `--dry-run`.
Now copy the cron file:
Now copy the cron file (it runs healthcheck every minute):
```
cp healthcheck.cron.example /etc/cron.d/healthcheck
```