Go to file
2024-02-06 12:42:01 -06:00
.markdownlint.json Initial commit 2024-02-05 18:01:49 -06:00
http_checker.py Numbers are not functions 2024-02-06 12:25:08 -06:00
README.md Update README 2024-02-06 12:42:01 -06:00

Updog HTTP checker

An HTTP checker for updog.

Config

{
    "logging": "HttpChecker",
    "logging-args": {
        "url": "https://url.to.be.checked.net"
    }
}

Arguments

Arguments marked with * are required.

url*

The URL for the thing being checked.

Default: None, this is a required value.

Example

"url": "https://example.com:443"

append-messages

Text to be appended after the status message for each status code.

TODO: Add ranges and lists for these - will not be stored like that, just processed into their currently format.

Default: None

Example

"append-messages": {
    "200": " - Up",
    "404": " - Partial outage",
    "502": " - Down"
}

headers

Headers to be sent for the HTTP request.

Default: None

Example

"headers": {
    "Content-Type": "text"
}