Merge branch 'main' of github.com:axeloz/monitolite into main

This commit is contained in:
Axel 2021-12-28 10:48:03 +01:00
commit 5b73ad72e4

View file

@ -46,9 +46,9 @@ It comes with a very straightforward dashboard written in PHP. This is **optiona
* create your own `.env` file: `cp .env.example .env` and adapt it to your needs * create your own `.env` file: `cp .env.example .env` and adapt it to your needs
* create a webserver vhost with document root to the `public` directory * create a webserver vhost with document root to the `public` directory
* add tasks and contacts into the database (no GUI for CRUD yet) * add tasks and contacts into the database (no GUI for CRUD yet)
* run the script: `cd /var/www/<your-path> && php artisan monitolite:monitoring:run` * run the script: `cd /var/www/<your-path> && php artisan monitolite:run`
* check the output of the command for results. * check the output of the command for results.
* if everything works, you may create a CRON `* * * * * cd /var/www/<your-path> && php artisan monitolite:monitoring:run > /dev/null` * if everything works, you may create a CRON `* * * * * cd /var/www/<your-path> && php artisan monitolite:run > /dev/null`
## Settings ## Settings
@ -89,4 +89,4 @@ It comes with a very straightforward dashboard written in PHP. This is **optiona
[x] Set a notification capping limit to prevent many notifications to be sent in case of an up-and-down host [x] Set a notification capping limit to prevent many notifications to be sent in case of an up-and-down host
[x] Add a notification history log [x] Add a notification history log
[x] Keep track of tasks response time [x] Keep track of tasks response time
[ ] Daemonize the script (instead of CRONs) [ ] Daemonize the script (instead of CRONs)