add motiejus_bk2 properly

This commit is contained in:
Motiejus Jakštys 2023-09-01 13:42:26 +03:00
parent 5c90144a76
commit e9d709f507
4 changed files with 9 additions and 0 deletions

View File

@ -173,5 +173,7 @@
}; };
formatter = pkgs.alejandra; formatter = pkgs.alejandra;
packages.snmp-yaml = pkgs.callPackage ./packages/snmp-yaml {};
}); });
} }

View File

@ -300,6 +300,12 @@
evaluation_interval = "15s"; evaluation_interval = "15s";
}; };
exporters.snmp = {
enable = true;
listenAddress = "127.0.0.1";
configuration = {};
};
scrapeConfigs = let scrapeConfigs = let
port = builtins.toString myData.ports.exporters.node; port = builtins.toString myData.ports.exporters.node;
in [ in [

View File

@ -2,6 +2,7 @@ let
motiejus_yk1 = "age1yubikey1qtwmhf7h7ljs3dyx06wyzme4st6w4calkdpmsxgpxc9t2cldezvasd6n8wg"; motiejus_yk1 = "age1yubikey1qtwmhf7h7ljs3dyx06wyzme4st6w4calkdpmsxgpxc9t2cldezvasd6n8wg";
motiejus_yk2 = "age1yubikey1qgyvs2ul0enzqf4sscq96zyxk73jnj4lknpemak2hp39lejdwc0s5uzzhpc"; motiejus_yk2 = "age1yubikey1qgyvs2ul0enzqf4sscq96zyxk73jnj4lknpemak2hp39lejdwc0s5uzzhpc";
motiejus_bk1 = "age1kyehn8yr9tfu3w0z4d9p9qrj0tjjh92ljxmz2nyr6xnm7y8kpv5spwwc9n"; motiejus_bk1 = "age1kyehn8yr9tfu3w0z4d9p9qrj0tjjh92ljxmz2nyr6xnm7y8kpv5spwwc9n";
motiejus_bk2 = "age14f39j0wx84n93lgqn6d9gcd3yhuwak6qwrxy8v83ydn7266uafts09ecva";
motiejus = [motiejus_yk1 motiejus_yk2 motiejus_bk1]; motiejus = [motiejus_yk1 motiejus_yk2 motiejus_bk1];
fra1-a = (import ./data.nix).hosts."fra1-a.servers.jakst".publicKey; fra1-a = (import ./data.nix).hosts."fra1-a.servers.jakst".publicKey;