based off Node Site Monitor : https://firstname.lastname@example.org/hootware/node-site-json.git
A simple node server that will check the status of any number of websites and alert any number of users in different ways.
Node Site Monitor has a slightly different philosophy to what I hold: users should be tightly related to sites. A site should have its own array of users, and those users may want different communication channels for different sites. I also wanted to do as much as possible in CoffeeScript. In the project's future everything with be CoffeeScript and it will focus on getting site config from MongoDB. There will be a central deployment that will communicate with other instances that do the response testing, and take care of communication with users centrally.
npm install coffee-site-monitor
You need to download the code and also install the nodemailer library as this is used for e-mail alerts
Easy peasy! It will load the config when started and will just keep running. If you want to change the config, you need to restart the application.
The different ways that are checked to see the status of a site
The different ways of sending alerts to users. Users can have multiple methods, each with different "availability windows"
The different ways to store the site check data and what
This is all done in a simple config file. As long as you match the format in the config.json example it will work fine. The arrays in the config don't have any soft limits, so the only limits will be in node or hardware. Let us know if you have any issues. If you want to change the config, you need to restart the application.
sample-config.json and rename to
config.json then start the application.