diff --git a/hosts/sup/configuration.nix b/hosts/sup/configuration.nix index a059839..20e991a 100644 --- a/hosts/sup/configuration.nix +++ b/hosts/sup/configuration.nix @@ -4,6 +4,7 @@ ./firewall-services.nix ../modules/users.nix ../modules/common.nix + ../modules/smtp.nix ../modules/grafana.nix ]; diff --git a/modules/grafana.nix b/modules/grafana.nix index 01216c1..766c589 100644 --- a/modules/grafana.nix +++ b/modules/grafana.nix @@ -38,6 +38,13 @@ targets = [ "37.187.103.8:${toString config.services.prometheus.exporters.node.port}" ]; }]; } + { + job_name = "pve-exporter"; + static_configs = [{ + targets = [ "192.168.10.112:9221" ]; + }]; + metrics_path = "/pve" ; + } { job_name = "backup"; static_configs = [{