Move monitoring groups
This commit is contained in:
parent
ef1c412012
commit
1353ef643a
1 changed files with 30 additions and 22 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
# Groups:
|
||||||
|
## 1-hosts
|
||||||
|
## 2-services
|
||||||
|
## 3-websites
|
||||||
|
## 7-support
|
||||||
|
## 8-backup
|
||||||
|
## 9-external
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
"acme_dns" = {
|
"acme_dns" = {
|
||||||
host = "node001"
|
host = "node001"
|
||||||
|
@ -34,7 +42,7 @@ services = {
|
||||||
}]
|
}]
|
||||||
monitoring = {
|
monitoring = {
|
||||||
url = "/-/health/live/"
|
url = "/-/health/live/"
|
||||||
group = "4-services"
|
group = "3-services"
|
||||||
}
|
}
|
||||||
certificates = ["auth.serguzim.me"]
|
certificates = ["auth.serguzim.me"]
|
||||||
auth = false
|
auth = false
|
||||||
|
@ -57,7 +65,7 @@ services = {
|
||||||
}]
|
}]
|
||||||
monitoring = {
|
monitoring = {
|
||||||
url = "/"
|
url = "/"
|
||||||
group = "4-services"
|
group = "3-services"
|
||||||
}
|
}
|
||||||
auth = false
|
auth = false
|
||||||
database = false
|
database = false
|
||||||
|
@ -153,7 +161,7 @@ services = {
|
||||||
}]
|
}]
|
||||||
monitoring = {
|
monitoring = {
|
||||||
url = "https://multiplayer.factorio.com/get-game-details/91.107.211.57:34197"
|
url = "https://multiplayer.factorio.com/get-game-details/91.107.211.57:34197"
|
||||||
group = "4-services"
|
group = "3-services"
|
||||||
interval = "5m"
|
interval = "5m"
|
||||||
conditions = [
|
conditions = [
|
||||||
"DEFAULT",
|
"DEFAULT",
|
||||||
|
@ -190,7 +198,7 @@ services = {
|
||||||
}]
|
}]
|
||||||
monitoring = {
|
monitoring = {
|
||||||
url = "/api/v1/version"
|
url = "/api/v1/version"
|
||||||
group = "4-services"
|
group = "3-services"
|
||||||
}
|
}
|
||||||
ports = [
|
ports = [
|
||||||
{
|
{
|
||||||
|
@ -247,7 +255,7 @@ services = {
|
||||||
}]
|
}]
|
||||||
monitoring = {
|
monitoring = {
|
||||||
url = "/api/v1/status"
|
url = "/api/v1/status"
|
||||||
group = "4-services"
|
group = "3-services"
|
||||||
conditions = [
|
conditions = [
|
||||||
"DEFAULT",
|
"DEFAULT",
|
||||||
"[BODY].health == true"
|
"[BODY].health == true"
|
||||||
|
@ -275,7 +283,7 @@ services = {
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
monitoring = {
|
monitoring = {
|
||||||
group = "4-services"
|
group = "3-services"
|
||||||
}
|
}
|
||||||
auth = true
|
auth = true
|
||||||
auth_redirects = ["https://gallery.serguzim.me/auth/login"]
|
auth_redirects = ["https://gallery.serguzim.me/auth/login"]
|
||||||
|
@ -294,7 +302,7 @@ services = {
|
||||||
}]
|
}]
|
||||||
monitoring = {
|
monitoring = {
|
||||||
url = "/health"
|
url = "/health"
|
||||||
group = "4-services"
|
group = "3-services"
|
||||||
conditions = [
|
conditions = [
|
||||||
"DEFAULT",
|
"DEFAULT",
|
||||||
"[BODY].status == pass"
|
"[BODY].status == pass"
|
||||||
|
@ -322,7 +330,7 @@ services = {
|
||||||
]
|
]
|
||||||
monitoring = {
|
monitoring = {
|
||||||
url = "/health"
|
url = "/health"
|
||||||
group = "4-services"
|
group = "3-services"
|
||||||
conditions = [
|
conditions = [
|
||||||
"DEFAULT",
|
"DEFAULT",
|
||||||
"[BODY] == Healthy"
|
"[BODY] == Healthy"
|
||||||
|
@ -347,7 +355,7 @@ services = {
|
||||||
}]
|
}]
|
||||||
monitoring = {
|
monitoring = {
|
||||||
url = "/api/v1/logins"
|
url = "/api/v1/logins"
|
||||||
group = "4-services"
|
group = "3-services"
|
||||||
}
|
}
|
||||||
auth = true
|
auth = true
|
||||||
auth_cert = "rsa"
|
auth_cert = "rsa"
|
||||||
|
@ -366,7 +374,7 @@ services = {
|
||||||
type = "hook"
|
type = "hook"
|
||||||
}]
|
}]
|
||||||
monitoring = {
|
monitoring = {
|
||||||
group = "4-services"
|
group = "3-services"
|
||||||
}
|
}
|
||||||
ports = [
|
ports = [
|
||||||
{
|
{
|
||||||
|
@ -428,7 +436,7 @@ services = {
|
||||||
]
|
]
|
||||||
monitoring = {
|
monitoring = {
|
||||||
url = "tcp://minecraft.serguzim.me:25565"
|
url = "tcp://minecraft.serguzim.me:25565"
|
||||||
group = "4-services"
|
group = "3-services"
|
||||||
conditions = [
|
conditions = [
|
||||||
"[CONNECTED] == true"
|
"[CONNECTED] == true"
|
||||||
]
|
]
|
||||||
|
@ -479,7 +487,7 @@ services = {
|
||||||
}]
|
}]
|
||||||
monitoring = {
|
monitoring = {
|
||||||
url = "/v1/health"
|
url = "/v1/health"
|
||||||
group = "4-services"
|
group = "3-services"
|
||||||
conditions = [
|
conditions = [
|
||||||
"DEFAULT",
|
"DEFAULT",
|
||||||
"[BODY].healthy == true"
|
"[BODY].healthy == true"
|
||||||
|
@ -529,7 +537,7 @@ services = {
|
||||||
type = "docker"
|
type = "docker"
|
||||||
}]
|
}]
|
||||||
monitoring = {
|
monitoring = {
|
||||||
group = "5-websites"
|
group = "3-websites"
|
||||||
}
|
}
|
||||||
auth = false
|
auth = false
|
||||||
database = false
|
database = false
|
||||||
|
@ -555,7 +563,7 @@ services = {
|
||||||
]
|
]
|
||||||
monitoring = {
|
monitoring = {
|
||||||
url = "/rest/health"
|
url = "/rest/health"
|
||||||
group = "4-services"
|
group = "3-services"
|
||||||
conditions = [
|
conditions = [
|
||||||
"DEFAULT",
|
"DEFAULT",
|
||||||
"[BODY].status == pass"
|
"[BODY].status == pass"
|
||||||
|
@ -584,7 +592,7 @@ services = {
|
||||||
}]
|
}]
|
||||||
monitoring = {
|
monitoring = {
|
||||||
url = "/_matrix/client/versions"
|
url = "/_matrix/client/versions"
|
||||||
group = "4-services"
|
group = "3-services"
|
||||||
}
|
}
|
||||||
ports = [
|
ports = [
|
||||||
{
|
{
|
||||||
|
@ -612,7 +620,7 @@ services = {
|
||||||
}]
|
}]
|
||||||
monitoring = {
|
monitoring = {
|
||||||
url = "/accounts/login/"
|
url = "/accounts/login/"
|
||||||
group = "4-services"
|
group = "3-services"
|
||||||
}
|
}
|
||||||
auth = false
|
auth = false
|
||||||
database = true
|
database = true
|
||||||
|
@ -677,7 +685,7 @@ services = {
|
||||||
}]
|
}]
|
||||||
monitoring = {
|
monitoring = {
|
||||||
url = "/tt-rss/"
|
url = "/tt-rss/"
|
||||||
group = "4-services"
|
group = "3-services"
|
||||||
}
|
}
|
||||||
auth = false
|
auth = false
|
||||||
database = true
|
database = true
|
||||||
|
@ -691,7 +699,7 @@ services = {
|
||||||
}]
|
}]
|
||||||
monitoring = {
|
monitoring = {
|
||||||
url = "/api/heartbeat"
|
url = "/api/heartbeat"
|
||||||
group = "4-services"
|
group = "3-services"
|
||||||
}
|
}
|
||||||
auth = false
|
auth = false
|
||||||
database = true
|
database = true
|
||||||
|
@ -709,7 +717,7 @@ services = {
|
||||||
}]
|
}]
|
||||||
monitoring = {
|
monitoring = {
|
||||||
url = "/api/v1/info"
|
url = "/api/v1/info"
|
||||||
group = "4-services"
|
group = "3-services"
|
||||||
}
|
}
|
||||||
auth = true
|
auth = true
|
||||||
auth_redirects = ["https://todo.serguzim.me/auth/openid/authserguzimme"]
|
auth_redirects = ["https://todo.serguzim.me/auth/openid/authserguzimme"]
|
||||||
|
@ -733,7 +741,7 @@ services = {
|
||||||
}]
|
}]
|
||||||
monitoring = {
|
monitoring = {
|
||||||
url = "/info"
|
url = "/info"
|
||||||
group = "4-services"
|
group = "3-services"
|
||||||
}
|
}
|
||||||
auth = false
|
auth = false
|
||||||
database = false
|
database = false
|
||||||
|
@ -746,7 +754,7 @@ services = {
|
||||||
domain = "wiki.serguzim.me"
|
domain = "wiki.serguzim.me"
|
||||||
}]
|
}]
|
||||||
monitoring = {
|
monitoring = {
|
||||||
group = "4-services"
|
group = "3-services"
|
||||||
}
|
}
|
||||||
auth = true
|
auth = true
|
||||||
auth_redirects = ["https://wiki.serguzim.me/login/f792bc7d-1a25-4437-944e-55eaf0111102/callback"]
|
auth_redirects = ["https://wiki.serguzim.me/login/f792bc7d-1a25-4437-944e-55eaf0111102/callback"]
|
||||||
|
@ -769,7 +777,7 @@ services = {
|
||||||
]
|
]
|
||||||
monitoring = {
|
monitoring = {
|
||||||
url = "/healthz"
|
url = "/healthz"
|
||||||
group = "4-services"
|
group = "3-services"
|
||||||
}
|
}
|
||||||
auth = false
|
auth = false
|
||||||
database = true
|
database = true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue