pvv-nixos-config/hosts/ildkule/services/monitoring/prometheus/node.nix

23 lines
583 B
Nix
Raw Normal View History

2023-01-21 19:55:29 +01:00
{ config, ... }: let
cfg = config.services.prometheus;
in {
services.prometheus.scrapeConfigs = [{
job_name = "node";
static_configs = [
{
targets = [
"ildkule.pvv.ntnu.no:${toString cfg.exporters.node.port}"
"microbel.pvv.ntnu.no:9100"
"isvegg.pvv.ntnu.no:9100"
"knakelibrak.pvv.ntnu.no:9100"
"hildring.pvv.ntnu.no:9100"
"bicep.pvv.ntnu.no:9100"
"essendrop.pvv.ntnu.no:9100"
2023-03-12 00:41:36 +01:00
"andresbu.pvv.ntnu.no:9100"
2023-05-21 04:03:14 +02:00
"bekkalokk.pvv.ntnu.no:9100"
2023-01-21 19:55:29 +01:00
];
}
];
}];
}