diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -1,7 +1,7 @@ # matrix-monitoring ------ -Some scripts to monitor your server and send data to matrix. Those scripts use a [matrix-sender](), another script I made to send message to matrix. +Some scripts to monitor your server and send data to matrix. Those scripts use a [matrix-sender](https://github.com/Oxbian/matrix-sender), another script I made to send message to matrix. ## Install @@ -17,6 +17,17 @@ git clone https://github.com/Oxbian/matrix-monitoring.git git submodule update --init --recursive ``` +## Logwatch + +First you need to configure matrix-sender, I recommand you to check the repo [matrix-sender](https://github.com/Oxbian/matrix-sender). + +After that you need to edit `logwatch.sh` to add the `matrix.sh` absolute path. + +Now you can add the script to your crontab, `sudo crontab -e`. +```bash +0 0 * * * /home/oxbian/matrix-monitoring/logwatch.sh +``` + ## Contributing If you want to contribute, make a pull request with your contribution. |