{host}.fleet -> {host}.wg.aciceri.dev
Some checks failed
EVAL aarch64-linux.sisko
BUILD aarch64-linux.sisko
UPLOAD aarch64-linux.sisko
DOWNLOAD aarch64-linux.sisko
CACHIX aarch64-linux.sisko
ATTIC aarch64-linux.sisko
/ test (push) Successful in 1m17s

This commit is contained in:
Andrea Ciceri 2025-03-14 16:07:32 +01:00
parent 9677a6ca77
commit cba0555c38
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
9 changed files with 23 additions and 24 deletions

View file

@ -8,11 +8,11 @@ in
pushgateway = {
enable = true;
web = {
listen-address = "sisko.fleet:9094";
listen-address = "sisko.wg.aciceri.dev:9094";
};
};
checkConfig = false; # Otherwise it will fail because it cannot access bearer_token_file
webExternalUrl = "https://status.aciceri.dev";
webExternalUrl = "https://status.wg.aciceri.dev";
globalConfig.scrape_interval = "10s";
scrapeConfigs = [
{
@ -22,7 +22,7 @@ in
static_configs = [
{
targets = [
"sisko.fleet:${builtins.toString config.services.home-assistant.config.http.server_port}"
"sisko.wg.aciceri.dev:${builtins.toString config.services.home-assistant.config.http.server_port}"
];
}
];
@ -39,7 +39,7 @@ in
job_name = "node";
static_configs = [
{
targets = builtins.map (host: "${host}.fleet:9100") [
targets = builtins.map (host: "${host}.wg.aciceri.dev:9100") [
"sisko"
"picard"
"kirk"
@ -51,7 +51,7 @@ in
job_name = "wireguard";
static_configs = [
{
targets = builtins.map (host: "${host}.fleet:9586") [
targets = builtins.map (host: "${host}.wg.aciceri.dev:9586") [
"picard"
"kirk"
];
@ -62,7 +62,7 @@ in
job_name = "zfs";
static_configs = [
{
targets = builtins.map (host: "${host}.fleet:9134") [
targets = builtins.map (host: "${host}.wg.aciceri.dev:9134") [
"picard"
"kirk"
];
@ -73,7 +73,7 @@ in
job_name = "restic";
static_configs = [
{
targets = builtins.map (host: "${host}.fleet:9753") [ "sisko" ];
targets = builtins.map (host: "${host}.wg.aciceri.dev:9753") [ "sisko" ];
}
];
}
@ -81,7 +81,7 @@ in
job_name = "postgres";
static_configs = [
{
targets = builtins.map (host: "${host}.fleet:9187") [ "sisko" ];
targets = builtins.map (host: "${host}.wg.aciceri.dev:9187") [ "sisko" ];
}
];
}
@ -89,7 +89,7 @@ in
job_name = "nginx";
static_configs = [
{
targets = builtins.map (host: "${host}.fleet:9117") [ "sisko" ];
targets = builtins.map (host: "${host}.wg.aciceri.dev:9117") [ "sisko" ];
}
];
}
@ -97,7 +97,7 @@ in
job_name = "smartctl";
static_configs = [
{
targets = builtins.map (host: "${host}.fleet:9633") [
targets = builtins.map (host: "${host}.wg.aciceri.dev:9633") [
"sisko"
"kirk"
"picard"