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