feat(monitoring): Add uptime-kuma to prometheus targets
All checks were successful
build configuration / build_storage01 (push) Successful in 1m8s
build configuration / build_compute01 (push) Successful in 1m11s
build configuration / build_vault01 (push) Successful in 1m0s
build configuration / build_web01 (push) Successful in 1m26s
build configuration / build_web02 (push) Successful in 49s
lint / check (push) Successful in 22s
build configuration / build_rescue01 (push) Successful in 52s
build configuration / push_to_cache (push) Successful in 2m13s
All checks were successful
build configuration / build_storage01 (push) Successful in 1m8s
build configuration / build_compute01 (push) Successful in 1m11s
build configuration / build_vault01 (push) Successful in 1m0s
build configuration / build_web01 (push) Successful in 1m26s
build configuration / build_web02 (push) Successful in 49s
lint / check (push) Successful in 22s
build configuration / build_rescue01 (push) Successful in 52s
build configuration / push_to_cache (push) Successful in 2m13s
This commit is contained in:
parent
c6fe6b5891
commit
60ee43b577
3 changed files with 10 additions and 0 deletions
|
@ -55,6 +55,15 @@ in
|
|||
job_name = "node_exporter";
|
||||
static_configs = nodeExporterConfigs;
|
||||
}
|
||||
{
|
||||
job_name = "uptime_kuma";
|
||||
scheme = "https";
|
||||
static_configs = [ { targets = [ "status.dgnum.eu" ]; } ];
|
||||
basic_auth = {
|
||||
username = "prometheus";
|
||||
password_file = config.age.secrets."prometheus-uptime-kuma-apikey".path;
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
|
|
BIN
machines/storage01/secrets/prometheus-uptime-kuma-apikey
Normal file
BIN
machines/storage01/secrets/prometheus-uptime-kuma-apikey
Normal file
Binary file not shown.
|
@ -17,4 +17,5 @@ lib.setDefault { inherit publicKeys; } [
|
|||
"peertube-service_environment_file"
|
||||
"peertube-smtp_password_file"
|
||||
"prometheus-web_config_file"
|
||||
"prometheus-uptime-kuma-apikey"
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue