diff options
author | Oxbian <got.dacs@slmail.me> | 2023-04-24 13:40:14 +0200 |
---|---|---|
committer | Oxbian <got.dacs@slmail.me> | 2023-04-24 13:40:14 +0200 |
commit | 1fefea60f509732f928365197c921b9b8dbfeab6 (patch) | |
tree | 997038b1e089b2854a03dfb0ce3a9a41e13d172b | |
parent | d36bf2981e438855a0da5904d9131b2737da6107 (diff) | |
download | matrix-monitoring-1fefea60f509732f928365197c921b9b8dbfeab6.tar.gz matrix-monitoring-1fefea60f509732f928365197c921b9b8dbfeab6.zip |
Adding logwatch documentation
-rw-r--r-- | README.md | 13 | ||||
m--------- | matrix-sender | 0 |
2 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. diff --git a/matrix-sender b/matrix-sender -Subproject f2dd7b531225347f3a2365144156429d7f98b0a +Subproject 217660d0cfdcbe3233019a80eb2dbecbd7a963d |