mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41: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}";
|
||||
default-alert = {
|
||||
enable = true;
|
||||
failure-threshold = 4;
|
||||
success-threshold = 2;
|
||||
failure-threshold = 8;
|
||||
success-threshold = 4;
|
||||
send-on-resolved = true;
|
||||
};
|
||||
overrides = [
|
||||
|
|
@ -163,8 +163,8 @@ in
|
|||
topic = "stork-atlas";
|
||||
url = "https://ntfy.sh";
|
||||
default-alert = {
|
||||
failure-threshold = 1;
|
||||
success-threshold = 1;
|
||||
failure-threshold = 4;
|
||||
success-threshold = 2;
|
||||
};
|
||||
}
|
||||
];
|
||||
|
|
@ -204,6 +204,8 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
systemd.services.gatus.environment.GATUS_DELAY_START_SECONDS = "5";
|
||||
|
||||
custom.persist.directories = [ dataDir ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue