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
|
||||
istalData = import (hostsPath + "/istal/data.secret.nix");
|
||||
nodeExporterPort = 40000;
|
||||
in
|
||||
{
|
||||
|
@ -28,8 +27,20 @@ in
|
|||
static_configs = [
|
||||
{
|
||||
targets = [
|
||||
"localhost:${toString nodeExporterPort}"
|
||||
"${istalData.addr}:${toString nodeExporterPort}"
|
||||
"tatos:${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