faf: enable prometheus
This commit is contained in:
parent
7e1f59656c
commit
31ea1c7b90
@ -327,8 +327,8 @@ in {
|
||||
static_configs = [{ targets = [ "10.6.0.22:8811" ]; }];
|
||||
}
|
||||
{
|
||||
job_name = "tal";
|
||||
static_configs = [{ targets = [ "10.6.0.110:9100" ]; }];
|
||||
job_name = "faf";
|
||||
static_configs = [{ targets = [ "10.6.0.245:9002" ]; }];
|
||||
}
|
||||
{
|
||||
job_name = "namish";
|
||||
|
@ -24,13 +24,25 @@ in {
|
||||
networking.interfaces.enp1s0.useDHCP = true;
|
||||
networking.interfaces.enp2s0.useDHCP = true;
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 22 53 ];
|
||||
networking.firewall.allowedTCPPorts = [ 22 53 9001 ];
|
||||
networking.firewall.allowedUDPPorts = [ 53 ];
|
||||
|
||||
users.users.root = userBase;
|
||||
users.users.qbit = userBase;
|
||||
|
||||
services = {
|
||||
prometheus = {
|
||||
enable = true;
|
||||
port = 9001;
|
||||
|
||||
exporters = {
|
||||
node = {
|
||||
enable = true;
|
||||
enabledCollectors = [ "systemd" ];
|
||||
port = 9002;
|
||||
};
|
||||
};
|
||||
};
|
||||
adguardhome = {
|
||||
enable = false;
|
||||
port = 3000;
|
||||
|
Loading…
Reference in New Issue
Block a user