1.0.2 • Published 2 years ago
node-uptime-monitoring-tool v1.0.2
node-uptime-monitoring-tool
A simple Node.js tool for monitoring the uptime of websites or APIs.
Setup
Clone the repository and run npm install to install dependencies.
Configuration
Create a config.json file in the root directory with the following structure:
{
"urls": [
"http://example.com",
"http://anotherexample.com"
],
"checkInterval": 60000
}urlsis an array of URLs you want to monitor.checkIntervalis the time interval between checks in milliseconds.
Usage
Run the tool with node index.js. The tool will periodically check the uptime of each URL and log the results to the console.
License
This project is licensed under the MIT License.