updog-http_checker/README.md

52 lines
733 B
Markdown
Raw Normal View History

2024-02-05 18:01:49 -06:00
# Updog HTTP checker
An HTTP checker for updog.
## Arguments
Arguments marked with * are required.
### `url`*
The URL for the thing being checked.
Default: None, this is a required value.
#### Example
```json
"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 a normal dict like this.
Default: None
#### Example
```json
"append-messages": {
200: " - Up",
404: " - Partial outage",
502: " - Down"
}
```
### `headers`
Headers to be sent for the HTTP request.
Default: None
#### Example
```json
"headers": {
"Content-Type": "text"
}
```