Skip to content

This check check if specified URL responds with HTTP status 200.

Notifications You must be signed in to change notification settings

whoopsmonitor/whoopsmonitor-check-url-alive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whoopsmonitor-check-url-alive

This check check if specified URL responds with HTTP status 200.

Environmental variables

  • WM_ENDPOINT_URL URL this visits.
  • WM_BEARER_TOKEN Token to authentication.

Example

Details of the check in Whoops Monitor configuration tab or for the .env file.

WM_ENDPOINT_URL=https://www.google.com/

Output

  • 0 - URL is alive.
  • 2 - URL is not responding.

Build

docker build -t whoopsmonitor-check-url-alive .

Run

docker run --rm --env-file .env whoopsmonitor-check-url-alive