Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/norfairking/upcheck
https://github.com/norfairking/upcheck
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/norfairking/upcheck
- Owner: NorfairKing
- Created: 2021-02-12T11:30:10.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-15T12:43:46.000Z (8 months ago)
- Last Synced: 2024-05-01T12:37:54.102Z (8 months ago)
- Language: Nix
- Size: 164 KB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# UpCheck
A declarative checker for website uptime to run continuously for monitoring.
This way you can be notified if any of your sites are not up.
1. Write a spec file `spec.yaml` like this:
```
checks:
- get: "https://cs-syd.eu"
status: 200
- get: "http://cs-syd.eu"
status: 301
location: "https://cs-syd.eu/"
```2. Run `upcheck spec.yaml`
The exit code will be `1` if any of the specified checks fail and the output will look like this:
![Example output](/example.png)
See the 'examples' directory for more example specifications.
## Running on NixOS
Have a look at [the provided nixos module](/nix/module.nix)