Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beardedfish/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.
https://github.com/beardedfish/webmonitor-pro
cron devops docker monitoring powershell smtp
Last synced: 2 days ago
JSON representation
A PowerShell app that runs under a Cron job to check the uptime health of a custom range of website/web app services.
- Host: GitHub
- URL: https://github.com/beardedfish/webmonitor-pro
- Owner: BeardedFish
- License: mit
- Created: 2023-09-09T18:07:35.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-10T04:34:12.000Z (12 months ago)
- Last Synced: 2024-10-11T22:48:22.664Z (28 days ago)
- Topics: cron, devops, docker, monitoring, powershell, smtp
- Language: PowerShell
- Homepage: https://www.youtube.com/watch?v=2sladIrmpL0
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WebMonitor Pro
A PowerShell app that runs under a [Cron](https://en.wikipedia.org/wiki/Cron) job to check the uptime health of a custom range of website/web app services.
## Requirements
A minimum of [PowerShell 7.0](https://github.com/PowerShell/PowerShell/releases) 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):
```json
{
"$schema": "./SmtpConfig.schema.json",
"Server": "smtp.example.com",
"Port": 587,
"Username": "[email protected]",
"Password": "",
"NoReplyEmailAddress": "[email protected]",
"AlertReceiverEmailAddress": "[email protected]"
}
```### Host Machine
```console
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.