38 lines
1.5 KiB
Plaintext
38 lines
1.5 KiB
Plaintext
################################
|
|
## STETHOSCOPE EXAMPLE CONFIG ##
|
|
################################
|
|
|
|
# Name of this Stethoscope instance. This name is used for the page title. (default: "My Stethoscope")
|
|
name=My Stethoscope
|
|
# Text to show
|
|
description=
|
|
# Maximum time in seconds status history is shown on the status page. (default: 86400)
|
|
status_retention=86400
|
|
# Maximum time in seconds without change before fetching a new status peroid. (default: 60)
|
|
status_refresh=60
|
|
# Time in seconds to wait before attempting to reconnect to the endpoint. (default: 5)
|
|
backoff=5
|
|
|
|
[web]
|
|
# Port to listen on. This should be reverse proxied by something like httpd or nginx. (default: 7800)
|
|
listen=7800
|
|
# Web path to stylesheet. If this is empty, the daemon will provide a barebones one.
|
|
stylesheet=
|
|
# Web path to image banner. If this is empty, the page will generate without a banner.
|
|
banner=
|
|
# Time in seconds between status page recaching. (default: 15)
|
|
recache_delay=15
|
|
|
|
## SERVICE EXAMPLE
|
|
# Services are always defined in their own section with their name prepended by "service."
|
|
;[service.example]
|
|
# Display name for the service. This is publicly displayed on the status page.
|
|
;name=A Service
|
|
# Web path of the icon to use for this service. If empty, an icon will not be used.
|
|
;icon=
|
|
# Text to display below the service name.
|
|
;text=
|
|
# Comma-seperated list of endpoints to check the status of for this service
|
|
# Endpoints must be in SCHEME://ADDRESS:PORT format or SCHEME://PATH format
|
|
# Supported schemes include: tcp, udp, icmp, pid, proc
|
|
;endpoints= |