snmp: from package back to module

This commit is contained in:
2023-09-05 14:41:52 +03:00
parent dae3c590ce
commit 5c1cccb8a4
8 changed files with 24 additions and 27 deletions

View File

@@ -100,6 +100,8 @@
gitea.enable = true;
snmp_exporter.enable = true;
headscale = {
enable = true;
clientOidcPath = config.age.secrets.headscale-client-oidc.path;
@@ -300,12 +302,6 @@
evaluation_interval = "15s";
};
exporters.snmp = {
enable = true;
listenAddress = "127.0.0.1";
configuration = {};
};
scrapeConfigs = let
port = builtins.toString myData.ports.exporters.node;
in [