Skip to content

aarhusstadsarkiv/pinger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pinger

A simple tool to ping a list of sites' health status.

Config

The list of sites is read from a YAML file. The file should be named config.yaml and placed in the same directory as the executable.

# config.yaml
interval: 5 # seconds
timeout: 2 # seconds
sites:
    - name: Google
      url: https://google.com
      endpoint: /api/health
      expected_status: 200
    - name: Facebook
      url: https://facebook.com
      endpoint: /api/health
      expected_status: 200

Installation

Install with pipx:

pipx install git+https://github.com/aarhusstadsarkiv/pinger.git

About

Pings a healthcheck endpoint

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published