1
0
Fork 0
pvv-nixos-config/hosts/ildkule/services/monitoring/prometheus/systemd.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
356 B
Nix
Raw Normal View History

2024-09-02 21:40:32 +02:00
{ config, ... }: let
cfg = config.services.prometheus;
in {
services.prometheus.scrapeConfigs = [{
job_name = "systemd";
static_configs = [
{
targets = [
"ildkule.pvv.ntnu.no:${toString cfg.exporters.node.port}"
"bicep.pvv.ntnu.no:9101"
"bekkalokk.pvv.ntnu.no:9101"
];
}
];
}];
}