feat(ups): nut_exporter and scraping
This commit is contained in:
parent
f9de205aad
commit
9ec9821556
2 changed files with 9 additions and 0 deletions
|
@ -64,6 +64,10 @@ in
|
|||
password_file = config.age.secrets."prometheus-uptime-kuma-apikey".path;
|
||||
};
|
||||
}
|
||||
{
|
||||
job_name = "hyp01_ups";
|
||||
static_configs = [ { targets = [ "100.80.255.180:9199" ]; } ];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
@ -18,4 +18,9 @@
|
|||
# user = "eatonMon";
|
||||
# };
|
||||
};
|
||||
services.prometheus.exporters.nut = {
|
||||
enable = true;
|
||||
listenAddress = "100.80.255.180";
|
||||
port = 9199;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue