17 lines
658 B
Plaintext
17 lines
658 B
Plaintext
# Endpoints to monitor
|
|
# Use the prefix ENDPOINT_ followed by an identifier (e.g., 1, 2, MAIN, API)
|
|
|
|
# Example 1: Monitor an HTTP endpoint and check if the JSON response has a specific attribute
|
|
ENDPOINT_1_URL=http://example.com/api/health
|
|
ENDPOINT_1_EXPECT_JSON_ATTR=status
|
|
|
|
# Example 2: Monitor an HTTPS endpoint and check if the raw response contains a specific substring
|
|
ENDPOINT_2_URL=https://another.com/
|
|
ENDPOINT_2_EXPECT_SUBSTRING="All systems operational"
|
|
|
|
# Optional: You can specify a custom poll interval per endpoint in seconds (defaults to 60)
|
|
# ENDPOINT_1_POLL_S=30
|
|
|
|
# Original fallback variable (optional)
|
|
# TSE_URL=http://3.78.227.48:20001/
|