Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.04 KB

README.md

File metadata and controls

38 lines (27 loc) · 1.04 KB

WebMonitor Pro

A PowerShell app that runs under a Cron job to check the uptime health of a custom range of website/web app services.

Requirements

A minimum of PowerShell 7.0 must be installed in order to run this app.

How to Run

Before you can run the app, you must ensure that the SmtpConfig.json file exists in the same directory as the App.ps1 file. The structure of this file must look like this (example values may vary):

{
	"$schema": "./SmtpConfig.schema.json",
	"Server": "smtp.example.com",
	"Port": 587,
	"Username": "[email protected]",
	"Password": "",
	"NoReplyEmailAddress": "[email protected]",
	"AlertReceiverEmailAddress": "[email protected]"
}

Host Machine

pwsh ./App.ps1

Docker

docker build -t darian-benam/webmonitor-pro .
docker run -d darian-benam/webmonitor-pro

NOTE: By default, WebMonitor Pro is scheduled to run every 6 hours according to its Cron job configuration.