Update monitoring.yaml for woodpecker and harbor

This commit is contained in:
dvirlabs 2025-06-29 06:33:05 +03:00
parent 0fee663e49
commit 1a86c6a49f
2 changed files with 12 additions and 9 deletions

View File

@ -1,3 +1,10 @@
enabled: true enabled: true
targets: targets:
- harbor-core.dev-tools.svc.cluster.local:8001 - harbor-core.dev-tools.svc.cluster.local:8001
external_check:
url: https://woodpecker.dvirlabs.com
expected_codes:
"502": critical
"404": warning
"1033": critical

View File

@ -10,11 +10,7 @@ scheme: https
# External HTTP check: # External HTTP check:
external_check: external_check:
url: https://woodpecker.dvirlabs.com url: https://woodpecker.dvirlabs.com
alerts: expected_codes:
- code: 502 "502": critical
message: "⚠️ Woodpecker down (502)" "404": warning
severity: critical "1033": critical
- code: 404
message: "❌ Woodpecker not found (404)"
severity: warning