mirror of
https://github.com/tormachris/cf-workers-status-page.git
synced 2025-09-22 00:45:16 +02:00
Compare commits
5 Commits
patch-1
...
f0ec1c016a
Author | SHA1 | Date | |
---|---|---|---|
f0ec1c016a | |||
8e968732b9 | |||
798408aba1 | |||
aa76e3f1ed | |||
7813ff93ac |
40
config.yaml
40
config.yaml
@ -1,6 +1,6 @@
|
|||||||
settings:
|
settings:
|
||||||
title: 'Killzone Gaming Status'
|
title: 'Status Page'
|
||||||
url: 'https://status-page.eidam.dev' # used for Slack messages
|
url: 'https://status.tormakristof.eu' # used for Slack messages
|
||||||
logo: logo-192x192.png # image in ./public/ folder
|
logo: logo-192x192.png # image in ./public/ folder
|
||||||
daysInHistogram: 90 # number of days you want to display in histogram
|
daysInHistogram: 90 # number of days you want to display in histogram
|
||||||
collectResponseTimes: true # collects avg response times from CRON locations
|
collectResponseTimes: true # collects avg response times from CRON locations
|
||||||
@ -15,37 +15,11 @@ settings:
|
|||||||
dayInHistogramNotOperational: ' incident(s)' # xx incident(s) recorded
|
dayInHistogramNotOperational: ' incident(s)' # xx incident(s) recorded
|
||||||
|
|
||||||
monitors:
|
monitors:
|
||||||
- id: www-kzg-gg # unique identifier
|
- id: webgateway # unique identifier
|
||||||
name: kzg.gg | Killzone Gaming Forums
|
name: webgateway.tormakristof.eu
|
||||||
description: '' # default=empty
|
description: 'On-prem webgateway status' # default=empty
|
||||||
url: 'https://kzg.gg' # URL to fetch
|
url: 'https://tormakristof.eu/' # URL to fetch
|
||||||
method: GET # default=GET
|
method: GET # default=GET
|
||||||
expectStatus: 200 # operational status, default=200
|
expectStatus: 301 # operational status, default=200
|
||||||
followRedirect: false # should fetch follow redirects, default=false
|
followRedirect: false # should fetch follow redirects, default=false
|
||||||
linkable: false # allows the title to be a link, default=true
|
|
||||||
|
|
||||||
- id: www-bans-kzg-gg
|
|
||||||
name: bans.kzg.gg | Killzone Gaming SourceBans
|
|
||||||
description: 'Built for anything connected to the Internet.'
|
|
||||||
url: 'https://stats.kzg.gg'
|
|
||||||
method: GET
|
|
||||||
expectStatus: 200
|
|
||||||
linkable: true # allows the title to be a link, default=true
|
linkable: true # allows the title to be a link, default=true
|
||||||
|
|
||||||
- id: stats-kzg-gg
|
|
||||||
name: stats.kzg.gg | Killzone Gaming Statistics
|
|
||||||
url: 'https://stats.kzg.gg'
|
|
||||||
method: GET
|
|
||||||
expectStatus: 200
|
|
||||||
|
|
||||||
- id: steamid-kzg-gg
|
|
||||||
name: steamid.kzg.gg | Killzone Gaming SteamID
|
|
||||||
url: 'https://steamid.kzg.gg'
|
|
||||||
method: GET
|
|
||||||
expectStatus: 200
|
|
||||||
|
|
||||||
- id: shorturl-kzg-gg
|
|
||||||
name: kzg.link | Killzone Gaming URL Shortner
|
|
||||||
url: 'https://kzg.link'
|
|
||||||
method: GET
|
|
||||||
expectStatus: 200
|
|
||||||
|
@ -64,7 +64,7 @@ export async function notifySlack(monitor, operational) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export async function notifyTelegram(monitor, operational) {
|
export async function notifyTelegram(monitor, operational) {
|
||||||
const text = `Monitor *${monitor.name.replace(
|
const text = `Monitor *${monitor.name.replaceAll(
|
||||||
'-',
|
'-',
|
||||||
'\\-',
|
'\\-',
|
||||||
)}* changed status to *${getOperationalLabel(operational)}*
|
)}* changed status to *${getOperationalLabel(operational)}*
|
||||||
|
Reference in New Issue
Block a user