monitoring: move VictoriaMetrics to Jupiter
This commit is contained in:
@@ -14,6 +14,7 @@
|
|||||||
../../services/network/caddy.nix
|
../../services/network/caddy.nix
|
||||||
../../services/vpn/tailscale.nix
|
../../services/vpn/tailscale.nix
|
||||||
../../services/monitoring/node-exporter.nix
|
../../services/monitoring/node-exporter.nix
|
||||||
|
../../services/monitoring/victoriametrics.nix
|
||||||
../../services/media/jellyfin.nix
|
../../services/media/jellyfin.nix
|
||||||
../../services/media/sabnzbd.nix
|
../../services/media/sabnzbd.nix
|
||||||
../../services/media/prowlarr.nix
|
../../services/media/prowlarr.nix
|
||||||
|
|||||||
@@ -12,7 +12,6 @@
|
|||||||
../../services/containers.nix
|
../../services/containers.nix
|
||||||
../../services/vpn/tailscale.nix
|
../../services/vpn/tailscale.nix
|
||||||
../../services/monitoring/node-exporter.nix
|
../../services/monitoring/node-exporter.nix
|
||||||
../../services/monitoring/victoriametrics.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "mars";
|
networking.hostName = "mars";
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
|
|
||||||
# VictoriaMetrics single-node store for the homelab dashboard. It listens on
|
# VictoriaMetrics single-node store for the homelab dashboard on Jupiter. It
|
||||||
# all interfaces, but tailscale.nix makes tailscale0 the only trusted ingress;
|
# listens on all interfaces, but tailscale.nix makes tailscale0 the only trusted ingress;
|
||||||
# the host firewall therefore keeps :8428 off the LAN and public interfaces.
|
# the host firewall therefore keeps :8428 off the LAN and public interfaces.
|
||||||
#
|
#
|
||||||
# The scrape targets are the node_exporter instances enabled by
|
# The scrape targets are the node_exporter instances enabled by
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
static_configs = [
|
static_configs = [
|
||||||
{
|
{
|
||||||
targets = [ "127.0.0.1:9100" ];
|
targets = [ "127.0.0.1:9100" ];
|
||||||
labels.host = "mars";
|
labels.host = "jupiter";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
targets = [ "jupiter.orbit.sol:9100" ];
|
targets = [ "jupiter.orbit.sol:9100" ];
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
static_configs = [
|
static_configs = [
|
||||||
{
|
{
|
||||||
targets = [ "127.0.0.1:8428" ];
|
targets = [ "127.0.0.1:8428" ];
|
||||||
labels.host = "mars";
|
labels.host = "jupiter";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user