This project contains a PowerShell Module, MS SQL Server Database and Task Scheduler scripts to check for website availability and then logs the results to the database.
In addition to the logging, there is also the abililty to notify via email. There's the ability to setup notifications via SMS using Twilio and this is in the pipeline for down the road.
-
Create the Database.
-
Create a SQL Login to connect to the Database.
-
Create a local user account on the server to run the job as.
-
Persist the SQL Login Credentials to disk on the server.
-
Add Web Sites to monitor
-
Register Job with Task Scheduler
Run Install-WAMScheduledTask to register a scheduled task with Task Scheduler.