host/tatos: add more targets
This commit is contained in:
parent
513c2327fd
commit
ea0b6b36d4
2 changed files with 15 additions and 4 deletions
hosts/tatos
Binary file not shown.
|
@ -1,7 +1,6 @@
|
||||||
{ config, hostsPath, ... }:
|
{ ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
istalData = import (hostsPath + "/istal/data.secret.nix");
|
|
||||||
nodeExporterPort = 40000;
|
nodeExporterPort = 40000;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
@ -28,8 +27,20 @@ in
|
||||||
static_configs = [
|
static_configs = [
|
||||||
{
|
{
|
||||||
targets = [
|
targets = [
|
||||||
"localhost:${toString nodeExporterPort}"
|
"tatos:${toString nodeExporterPort}"
|
||||||
"${istalData.addr}:${toString nodeExporterPort}"
|
"istal:${toString nodeExporterPort}"
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
{
|
||||||
|
job_name = "node_production";
|
||||||
|
static_configs = [
|
||||||
|
{
|
||||||
|
targets = [
|
||||||
|
"canigou:${toString nodeExporterPort}"
|
||||||
|
"magenta:${toString nodeExporterPort}"
|
||||||
|
"sm-sd1:${toString nodeExporterPort}"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Reference in a new issue