{host}.fleet
-> {host}.wg.aciceri.dev
This commit is contained in:
parent
9677a6ca77
commit
cba0555c38
9 changed files with 23 additions and 24 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue