parent
c46903e3a0
commit
032072374b
35 changed files with 511 additions and 324 deletions
|
|
@ -18,11 +18,51 @@
|
|||
}
|
||||
{
|
||||
name = "sonarr";
|
||||
url = "https://sonarr.procopius.dk/health";
|
||||
url = "https://sonarr.procopius.dk/ping";
|
||||
interval = "5m";
|
||||
conditions = [
|
||||
"[STATUS] == 200"
|
||||
"[BODY] == Healthy"
|
||||
"[BODY].status == OK"
|
||||
"[RESPONSE_TIME] < 300"
|
||||
];
|
||||
}
|
||||
{
|
||||
name = "radarr";
|
||||
url = "https://radarr.procopius.dk/ping";
|
||||
interval = "5m";
|
||||
conditions = [
|
||||
"[STATUS] == 200"
|
||||
"[BODY].status == OK"
|
||||
"[RESPONSE_TIME] < 300"
|
||||
];
|
||||
}
|
||||
{
|
||||
name = "lidarr";
|
||||
url = "https://lidarr.procopius.dk/ping";
|
||||
interval = "5m";
|
||||
conditions = [
|
||||
"[STATUS] == 200"
|
||||
"[BODY].status == OK"
|
||||
"[RESPONSE_TIME] < 300"
|
||||
];
|
||||
}
|
||||
{
|
||||
name = "readarr";
|
||||
url = "https://readarr.procopius.dk/ping";
|
||||
interval = "5m";
|
||||
conditions = [
|
||||
"[STATUS] == 200"
|
||||
"[BODY].status == OK"
|
||||
"[RESPONSE_TIME] < 300"
|
||||
];
|
||||
}
|
||||
{
|
||||
name = "prowlarr";
|
||||
url = "https://prowlarr.procopius.dk/ping";
|
||||
interval = "5m";
|
||||
conditions = [
|
||||
"[STATUS] == 200"
|
||||
"[BODY].status == OK"
|
||||
"[RESPONSE_TIME] < 300"
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,4 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
{config, ...}: {
|
||||
# Add grafana user to the inlfuxdb2 group (for secret)
|
||||
users.users.grafana.extraGroups = ["influxdb2"];
|
||||
services.grafana.enable = true;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
{config, ...}: let
|
||||
influxdbPassword = config.sops.secrets."influxdb/password".path;
|
||||
influxdbToken = config.sops.secrets."influxdb/token".path;
|
||||
in {
|
||||
|
|
|
|||
|
|
@ -1,10 +1,4 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
{pkgs, ...}: let
|
||||
monitor_hostname = "monitor.lab";
|
||||
traefik_hostname = "traefik.lab";
|
||||
sandbox_hostname = "sandbox.lab";
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
{config, ...}: let
|
||||
promtail_port = 9080;
|
||||
in {
|
||||
networking.firewall.allowedTCPPorts = [promtail_port];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue