feat(ups): nut_exporter and scraping

This commit is contained in:
catvayor 2024-04-19 23:30:26 +02:00 committed by thubrecht
parent f9de205aad
commit 9ec9821556
2 changed files with 9 additions and 0 deletions

View file

@ -64,6 +64,10 @@ in
password_file = config.age.secrets."prometheus-uptime-kuma-apikey".path; password_file = config.age.secrets."prometheus-uptime-kuma-apikey".path;
}; };
} }
{
job_name = "hyp01_ups";
static_configs = [ { targets = [ "100.80.255.180:9199" ]; } ];
}
]; ];
}; };

View file

@ -18,4 +18,9 @@
# user = "eatonMon"; # user = "eatonMon";
# }; # };
}; };
services.prometheus.exporters.nut = {
enable = true;
listenAddress = "100.80.255.180";
port = 9199;
};
} }