diff --git a/dotfiles/guixsd/guixsd.scm b/dotfiles/guixsd/guixsd.scm index a88de35b7..6ccc7d8af 100644 --- a/dotfiles/guixsd/guixsd.scm +++ b/dotfiles/guixsd/guixsd.scm @@ -1849,7 +1849,7 @@ location / { (service prometheus-smartctl-exporter-service-type (prometheus-smartctl-exporter-configuration (arguments - '("--web.listen-address=127.0.0.1:9633" + '("--web.listen-address=0.0.0.0:9633" "--smartctl.path=/run/current-system/profile/sbin/smartctl" "--smartctl.device=/dev/sda" "--smartctl.device=/dev/sdb" diff --git a/infrastructure/cluster1/kube-prometheus-stack/values.yaml b/infrastructure/cluster1/kube-prometheus-stack/values.yaml index ed7494db4..d8bbff8bb 100644 --- a/infrastructure/cluster1/kube-prometheus-stack/values.yaml +++ b/infrastructure/cluster1/kube-prometheus-stack/values.yaml @@ -22,6 +22,11 @@ prometheus: target_label: instance - replacement: 192.168.0.145:9101 target_label: __address__ + - static_configs: + - targets: + - 192.168.0.145:9633 + scrape_interval: 10m + job_name: smartctl ingress: enabled: true ingressClassName: nginx