mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
service/blackbox: increase thresholds for http services
This commit is contained in:
parent
effd9de67a
commit
d30f0ebbcd
1 changed files with 2 additions and 2 deletions
|
@ -93,7 +93,7 @@ in
|
|||
BlackboxProbeFailed = {
|
||||
condition = ''probe_success == 0'';
|
||||
description = "Blackbox probe failed (instance {{ $labels.instance }}): {{$value}}";
|
||||
time = "0m";
|
||||
time = "1m";
|
||||
labels = {
|
||||
severity = "critical";
|
||||
};
|
||||
|
@ -117,7 +117,7 @@ in
|
|||
BlackboxProbeHttpFailure = {
|
||||
condition = ''probe_http_status_code <= 199 OR probe_http_status_code >= 400'';
|
||||
description = "HTTP status code is not 200-399\n VALUE = {{ $value }}\n LABELS = {{ $labels }}";
|
||||
time = "0m";
|
||||
time = "1m";
|
||||
};
|
||||
BlackboxSslCertificateWillExpireSoon = {
|
||||
condition = ''3 <= round((last_over_time(probe_ssl_earliest_cert_expiry[10m]) - time()) / 86400, 0.1) < 20'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue