mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 21:01:34 +01:00
gatus: Extend alert thresholds
This commit is contained in:
parent
412d888680
commit
525d9aef49
1 changed files with 6 additions and 4 deletions
|
|
@ -153,8 +153,8 @@ in
|
||||||
click = "https://${cfg.domain}";
|
click = "https://${cfg.domain}";
|
||||||
default-alert = {
|
default-alert = {
|
||||||
enable = true;
|
enable = true;
|
||||||
failure-threshold = 4;
|
failure-threshold = 8;
|
||||||
success-threshold = 2;
|
success-threshold = 4;
|
||||||
send-on-resolved = true;
|
send-on-resolved = true;
|
||||||
};
|
};
|
||||||
overrides = [
|
overrides = [
|
||||||
|
|
@ -163,8 +163,8 @@ in
|
||||||
topic = "stork-atlas";
|
topic = "stork-atlas";
|
||||||
url = "https://ntfy.sh";
|
url = "https://ntfy.sh";
|
||||||
default-alert = {
|
default-alert = {
|
||||||
failure-threshold = 1;
|
failure-threshold = 4;
|
||||||
success-threshold = 1;
|
success-threshold = 2;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
@ -204,6 +204,8 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.gatus.environment.GATUS_DELAY_START_SECONDS = "5";
|
||||||
|
|
||||||
custom.persist.directories = [ dataDir ];
|
custom.persist.directories = [ dataDir ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue