From 31bf4a7d0070f16bcecb725b6ba506173ef52036 Mon Sep 17 00:00:00 2001 From: axeloz Date: Fri, 8 Jan 2021 15:31:48 +0100 Subject: [PATCH 1/3] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index e69de29..2163b18 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,4 @@ +# MONITOLITE + +Monitolite is a quite old project I recently found into my archives. I developed this script years ago. +I figured it could be useful for others so here we are. From 0cfb44788ab2235ea58d8eb6b4f536538d7ccabf Mon Sep 17 00:00:00 2001 From: axeloz Date: Fri, 8 Jan 2021 15:37:19 +0100 Subject: [PATCH 2/3] Update README.md --- README.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2163b18..4b3a322 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,31 @@ # MONITOLITE -Monitolite is a quite old project I recently found into my archives. I developed this script years ago. +MonitoLite is a quite old project I recently found into my archives. I developed this script years ago. I figured it could be useful for others so here we are. + + +## What it does + +MonitoLite is a very simple monitoring tool developed in Perl. It supports : + * ping monitoring + * http monitoring + +It uses a SQL backend for handling the tasks and the status of the tasks. +Tested on MySQL only. + +It comes with a very straightforward dashboard written in PHP. + +I rewrote a couple of things today to make sure the script still works. + + +## Installation + + * clone this repo + * install Perl dependencies + * install PHP composer dependencies: `cd ./web && composer install` + * add tasks and contacts into the database (no backend yet) + * run the script: `perl monitolite.pl` + * check the web dashboard for results. + + + MORE INFORMATIN COMING SOON. From c313ffce6e78eedecc78adc164428a88f98818a5 Mon Sep 17 00:00:00 2001 From: axeloz Date: Fri, 8 Jan 2021 15:45:55 +0100 Subject: [PATCH 3/3] Update README.md --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4b3a322..cba3d84 100644 --- a/README.md +++ b/README.md @@ -17,15 +17,25 @@ It comes with a very straightforward dashboard written in PHP. I rewrote a couple of things today to make sure the script still works. +## Requirements + +* Perl +* a MTA +* PHP (with PDO) +* a Database server (MySQL, other?) +* Access to CRON tasks + ## Installation * clone this repo * install Perl dependencies * install PHP composer dependencies: `cd ./web && composer install` + * create a Database and import the schema from `sql/create.sql` * add tasks and contacts into the database (no backend yet) * run the script: `perl monitolite.pl` * check the web dashboard for results. + * when everything works, you may create a CRON `* * * * * cd && /usr/bin/perl monitolite.pl > /dev/null` - MORE INFORMATIN COMING SOON. + MORE INFORMATION COMING SOON.