Update monitoring.yaml for woodpecker and harbor
This commit is contained in:
parent
0fee663e49
commit
1a86c6a49f
@ -1,3 +1,10 @@
|
||||
enabled: true
|
||||
targets:
|
||||
- harbor-core.dev-tools.svc.cluster.local:8001
|
||||
|
||||
external_check:
|
||||
url: https://woodpecker.dvirlabs.com
|
||||
expected_codes:
|
||||
"502": critical
|
||||
"404": warning
|
||||
"1033": critical
|
||||
@ -10,11 +10,7 @@ scheme: https
|
||||
# External HTTP check:
|
||||
external_check:
|
||||
url: https://woodpecker.dvirlabs.com
|
||||
alerts:
|
||||
- code: 502
|
||||
message: "⚠️ Woodpecker down (502)"
|
||||
severity: critical
|
||||
- code: 404
|
||||
message: "❌ Woodpecker not found (404)"
|
||||
severity: warning
|
||||
|
||||
expected_codes:
|
||||
"502": critical
|
||||
"404": warning
|
||||
"1033": critical
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user