new pve ip

This commit is contained in:
chris 2025-03-19 20:14:25 +01:00
parent bb659a077c
commit 6d3260e717
Signed by: c6ristian
SSH key fingerprint: SHA256:B3m+yzpaxGXSEcDBpPHfvza/DNC0wuX+CKMeGq8wgak

View file

@ -18,7 +18,7 @@
systemd.services."prometheus-pve-exporter".serviceConfig = {
DynamicUser = lib.mkForce false;
};
sops.secrets."pve.yaml" = {
key = "";
path = "/etc/prometheus-pve-exporter/pve.yml";
@ -36,13 +36,13 @@
__address__ = "127.0.0.1:9221",
__scheme__ = "http",
__metrics_path__ = "pve",
__param_target__ = "10.20.25.1"
__param_target__ = "94.45.255.1",
}]
forward_to = [prometheus.relabel.pve-relabel.receiver]
forward_to = [prometheus.relabel.pve.receiver]
}
prometheus.relabel "pve-relabel" {
prometheus.relabel "pve" {
forward_to = [prometheus.remote_write.default.receiver]
rule {
@ -55,8 +55,9 @@
}
rule {
target_label = __address__
replacement = pve-exporter:9221
replacement = "pve-exporter:9221"
}
}
'';
};
}