Monitors uptime of webpages and sends an SMS message if they are unavailable.
Requires a TextBelt instance for SMS messaging.
First, set up a TextBelt instance. Make sure Redis is installed, as per the TextBelt installation instructions.
Make sure you have the latest version of nodejs installed.
Download and install dependencies:
git clone https://github.com/zimmerry/downtime-alerter.git
cd downtime-alerter
npm install
Copy and rename example config files
cp examples/config.example.json config.json
cp examples/sites.example.json sites.json
Modify config.json
and enter the URL of your TextBelt instance, and your phone number.
Start Downtime Alerter:
npm run start
You should now be able to access Downtime Alerter at port 8686.