Scrape web01 node_exporter into VictoriaMetrics

Add web01 to the mesh map and the node scrape job so it appears on the
uptime/host dashboards alongside the other hosts.
This commit is contained in:
Berwn
2026-06-21 03:08:56 +07:00
parent 3f3f4118c1
commit 415a050f6a
2 changed files with 8 additions and 1 deletions
+7 -1
View File
@@ -13,7 +13,13 @@ let
readVar =
machine: file: builtins.readFile "${dir}/vars/per-machine/${machine}/zerotier/${file}/value";
hosts = lib.genAttrs [ "control" "ns1" "ns2" "mx1" ] (m: readVar m "zerotier-ip");
hosts = lib.genAttrs [
"control"
"ns1"
"ns2"
"mx1"
"web01"
] (m: readVar m "zerotier-ip");
# RFC 4193 prefix of this ZeroTier network: fd + the 8-byte network id + the
# 0x9993 marker. The network id is a public var on the controller (control).
+1
View File
@@ -46,6 +46,7 @@ in
(target "ns1" (v6 mesh.hosts.ns1) 9100)
(target "ns2" (v6 mesh.hosts.ns2) 9100)
(target "mx1" (v6 mesh.hosts.mx1) 9100)
(target "web01" (v6 mesh.hosts.web01) 9100)
];
}
{