mirror of
https://github.com/RWejlgaard/pez-infra.git
synced 2026-07-04 15:46:16 +00:00
Update synthetic_checks.tf
This commit is contained in:
parent
7d22ad1ce1
commit
08b7d59fde
1 changed files with 22 additions and 0 deletions
|
|
@ -130,3 +130,25 @@ resource "grafana_synthetic_monitoring_check" "jellyfin-requests" {
|
||||||
ignore_changes = [settings]
|
ignore_changes = [settings]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "grafana_synthetic_monitoring_check" "git" {
|
||||||
|
job = "git.pez.sh"
|
||||||
|
target = "https://git.pez.sh"
|
||||||
|
enabled = true
|
||||||
|
probes = [14] # 14 = London, UK
|
||||||
|
settings {
|
||||||
|
http {
|
||||||
|
method = "GET"
|
||||||
|
compression = "none"
|
||||||
|
fail_if_not_ssl = true
|
||||||
|
ip_version = "V4"
|
||||||
|
valid_http_versions = ["HTTP/2.0", "HTTP/1.1", "HTTP/1.0"]
|
||||||
|
valid_status_codes = ["200"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
frequency = 600000
|
||||||
|
timeout = 3000
|
||||||
|
lifecycle {
|
||||||
|
ignore_changes = [settings]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue