Skip to content

vvmspace/mon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Monitoring script with SMS Notifications

smsc.ru is first sms provider of this script. Send pull requests with other sms providers and messages.

Installation

Clone or download this repository and run:

npm install

Configuration

Copy config.example.js to config.js and modify it like that:

module.exports = {
    phones: [
        79999999999,
        79999999998,
        79999999997,
    ],
    urls: [
        'http://ёбаный.site', // your url 1
        'http://api.ёбаный.site', // your url 2
    ],
    smsc: { // your account credentials from smsc.ru
        login: 'YOUR_SMSC_LOGIN',
        password: 'YOUR_SMSC_PASSWORD',
    }
};

Scheduling

Add this script to cron:

crontab -e
*/5 * * * * node /path/to/mon/index.js

About

URL monitoring with SMS notifications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published